File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ It loads the `libmmkv.so` shared object and calls the `MMKV.initialize` method.
3333
3434See [ TestNativeLoader.java] ( demo-app/src/main/java/com/example/test/app/TestNativeLoader.java ) for the complete example.
3535
36- <details >
37-
3836``` java
3937import com.tencent.mmkv.MMKV ;
4038
@@ -72,16 +70,12 @@ public static long initializeMMKV(@NonNull Context ctx) {
7270}
7371```
7472
75- </details >
76-
7773### Make System Calls
7874
7975Here is an example of how to make syscalls with the library. It calls the ` uname ` system call to get the system information.
8076
8177See [ TestMainActivity.java] ( demo-app/src/main/java/com/example/test/app/TestMainActivity.java ) for the complete example.
8278
83- <details >
84-
8579``` java
8680import dev.tmpfs.libcoresyscall.core.IAllocatedMemory ;
8781import dev.tmpfs.libcoresyscall.core.MemoryAccess ;
@@ -120,8 +114,6 @@ public String unameDemo() {
120114}
121115```
122116
123- </details >
124-
125117## The Tricks
126118
127119- The Android-specific ` libcore.io.Memory ` and the evil ` sun.misc.Unsafe ` are used to access the native memory.
You can’t perform that action at this time.
0 commit comments