MCPcopy Create free account

hub / github.com/Tencent/MMKV / functions

Functions1,822 in github.com/Tencent/MMKV

↓ 366 callersMethodset
Core/MMKV.h:686
↓ 120 callersFunctionmmkvWithID
mmkvWithID(mmapID: string, mode: number, cryptKey?: string, rootPath?: string, expectedCapacity?: bigint): bigint
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:611
↓ 106 callersMethodencode
(String key, boolean value)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:947
↓ 81 callersMethodgetString
Core/MMKV.cpp:717
↓ 67 callersMethodPointer
Pointer the address of underlying memory
POSIX/golang/mmkv.go:98
↓ 64 callersFunctionNValueToUInt64
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:344
↓ 63 callersMethodmmapID
@return The unique ID of the MMKV instance.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:923
↓ 60 callersFunctionjstring2string
Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:249
↓ 59 callersFunctionBoolToNValue
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:256
↓ 57 callersFunctionNValueToString
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:61
↓ 53 callersMethodcount
Core/MMKV.cpp:1094
↓ 52 callersFunctionMMBuffer
those are expensive, just forbid it for possibly misuse
Core/MMBuffer.h:108
↓ 52 callersMethodmmkvWithID
Create an MMKV instance with an unique ID (in single-process mode). @param mmapID The unique ID of the MMKV instance. @throws RuntimeException if the
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:394
↓ 50 callersMethodactualSize
Core/MMKV.cpp:1116
↓ 44 callersFunctionto_string
POSIX/demo/demo.cpp:47
↓ 43 callersFunctionpbRawVarint32Size
Core/PBUtility.h:116
↓ 39 callersFunctionNAPIUndefined
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:244
↓ 39 callersMethodgetBool
Core/MMKV.cpp:813
↓ 38 callersFunctionset
Core/MMKV.h:503
↓ 35 callersMethodgetMemory
Core/MemoryFile.h:156
↓ 32 callersMethodremoveValueForKey
Core/MMKV.cpp:1122
↓ 31 callersFunctionisKeyEmpty
Core/MMKV.h:177
↓ 30 callersFunctionMMKVPath_t2String
Core/MemoryFile_Win32.cpp:687
↓ 30 callersMethodgetInt32
Core/MMKV.cpp:842
↓ 29 callersFunctionisFileValid
flutter/mmkv_linux/linux/flutter-bridge.cpp:649
↓ 28 callersMethodclearAll
Core/MMKV_IO.cpp:1532
↓ 27 callersMethodgetVector
Core/MMKV.h:708
↓ 26 callersFunctionNValueToUInt32
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:300
↓ 26 callersFunctiongetMMKV
Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:244
↓ 26 callersMethodtoString
()
Android/MMKV/mmkvdemo/src/main/java/com/tencent/mmkvdemo/Info.java:36
↓ 25 callersFunctionIsNValueUndefined
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:53
↓ 25 callersMethodallKeys
@return All the keys.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1250
↓ 25 callersMethodclose
Core/MMKV.cpp:368
↓ 25 callersMethodremoveValueForKey
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1292
↓ 24 callersMethodMMKV
Core/MMKV.cpp:75
↓ 24 callersMethodclearMemoryCache
Core/MMKV.cpp:335
↓ 24 callersMethoddecodeString
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1065
↓ 23 callersMethodgetFd
Core/MemoryFile.cpp:154
↓ 23 callersMethodisFileValid
Core/MMKV.cpp:431
↓ 22 callersMethodcontainsKey
Core/MMKV.cpp:1079
↓ 21 callersFunctionstring2MMKVPath_t
Core/MemoryFile_Win32.cpp:678
↓ 20 callersMethodgetDouble
Core/MMKV.cpp:987
↓ 20 callersMethodgetFileSize
Core/MemoryFile.h:151
↓ 20 callersMethodgetInt64
Core/MMKV.cpp:900
↓ 20 callersFunctionisReadOnly
Core/MMKV.h:360
↓ 19 callersMethodgetFloat
Core/MMKV.cpp:958
↓ 19 callersMethodreKey
Core/MMKV_IO.cpp:1413
↓ 19 callersMethodreadRawByte
Core/CodedInputData.cpp:236
↓ 19 callersMethodtotalSize
Core/MMKV.cpp:1110
↓ 18 callersFunctionNValueToBool
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:264
↓ 18 callersMethoddecodeInt
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:981
↓ 18 callersMethodgetRootDir
@return The root folder of MMKV, defaults to $(FilesDir)/mmkv.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:322
↓ 17 callersMethodgetSharedPreferences
mode不使用{@link Context#MODE_MULTI_PROCESS}特可以支持多进程了; @param mode @see Context#MODE_PRIVATE @see Context#MODE_WORLD_READABLE @see Context#MODE_WORLD_W
Android/MMKV/mmkvdemo/src/main/java/com/tencent/mmkvdemo/MultiProcessSharedPreferences.java:207
↓ 17 callersMethodisFileValid
Core/MMKV_IO.cpp:1654
↓ 17 callersMethodwriteRawByte
Core/CodedOutputData.cpp:120
↓ 16 callersFunctionNValueToInt32
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:281
↓ 16 callersMethodenableAutoKeyExpire
Core/MMKV_IO.cpp:1817
↓ 16 callersMethodgetUInt64
Core/MMKV.cpp:929
↓ 16 callersFunctionmappedKVPathWithID
Core/MMKV.cpp:1692
↓ 15 callersMethodallKeys
Core/MMKV.cpp:1139
↓ 15 callersMethoddecodeBool
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:960
↓ 14 callersFunctionbackupOneToDirectory
POSIX/golang/golang-bridge.cpp:618
↓ 14 callersMethodcount
@return The total count of all the keys.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1266
↓ 14 callersMethoddecrypt
Core/aes/AESCrypt.cpp:105
↓ 14 callersMethodgetUInt32
Core/MMKV.cpp:871
↓ 14 callersFunctionisMultiProcess
Core/MMKV.h:348
↓ 14 callersFunctionrestoreOneFromDirectory
POSIX/golang/golang-bridge.cpp:631
↓ 13 callersMethodallKeys
(filterExpire bool)
POSIX/golang/mmkv.go:689
↓ 13 callersMethodclearAll
Clear all the key-values inside the MMKV instance. The data file will be trimmed down to `pageSize`, and some sync operations will be called If you do
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1308
↓ 13 callersMethodcontainsKey
Check whether or not MMKV contains the key. @param key The key of the value.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1243
↓ 13 callersMethodgetBytes
Core/MMKV.cpp:742
↓ 13 callersMethodlock
Core/MMKV.cpp:1219
↓ 13 callersMethodreadInt32
Core/CodedInputData.cpp:74
↓ 13 callersFunctionto_string
Win32/Win32Demo/Win32Demo.cpp:44
↓ 12 callersFunctionStringToNValue
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:73
↓ 12 callersFunctionUInt32ToInt32
Core/PBUtility.h:80
↓ 12 callersMethodclose
Call this method if the MMKV instance is no longer needed in the near future. Any subsequent call to any MMKV instances with the same ID is undefined
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1335
↓ 12 callersMethoddecodeBytes
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1128
↓ 12 callersMethodgetInt
(String key, int defValue)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1618
↓ 12 callersMethodgetValue
(String pathSegment, String key, Object defValue)
Android/MMKV/mmkvdemo/src/main/java/com/tencent/mmkvdemo/MultiProcessSharedPreferences.java:442
↓ 12 callersMethodisAtEnd
Core/CodedInputData.h:49
↓ 12 callersFunctionstring2jstring
Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:261
↓ 12 callersMethodtrim
Core/MMKV_IO.cpp:1485
↓ 12 callersMethodwriteRawLittleEndian32
Core/CodedOutputData.cpp:164
↓ 11 callersMethodSetBool
(value bool, key string)
POSIX/golang/mmkv.go:192
↓ 11 callersMethodSetString
SetString string value should be utf-8 encoded
POSIX/golang/mmkv.go:228
↓ 11 callersFunctionUInt64ToNValue
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:338
↓ 11 callersMethodactualSize
Get the actual used size of the MMKV instance. This size might increase and decrease as MMKV doing insertion and full write back.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1288
↓ 11 callersMethodclearMemoryCache
Clear memory cache of the MMKV instance. You can call it on memory warning. Any subsequent call to the MMKV instance will trigger all key-values loadi
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1342
↓ 11 callersMethodencrypt
Core/aes/AESCrypt.cpp:98
↓ 11 callersMethodreadString
Core/CodedInputData.cpp:86
↓ 11 callersMethodreadUInt32
Core/CodedInputData.cpp:78
↓ 11 callersMethodunlock
Core/MMKV.cpp:1223
↓ 11 callersMethodwriteUInt32
Core/CodedOutputData.cpp:68
↓ 10 callersFunctionbackupAllToDirectory
POSIX/golang/golang-bridge.cpp:644
↓ 10 callersMethodcheckReSetCryptKey
Core/MMKV.cpp:393
↓ 10 callersMethoddecodeDouble
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1044
↓ 10 callersMethoddecodeFloat
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1023
↓ 10 callersMethoddecodeLong
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1002
↓ 10 callersMethoddetach
Core/MMBuffer.cpp:200
next →1–100 of 1,822, ranked by callers