Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/MMKV
/ functions
Functions
1,822 in github.com/Tencent/MMKV
⨍
Functions
1,822
◇
Types & classes
144
↓ 366 callers
Method
set
Core/MMKV.h:686
↓ 120 callers
Function
mmkvWithID
mmkvWithID(mmapID: string, mode: number, cryptKey?: string, rootPath?: string, expectedCapacity?: bigint): bigint
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:611
↓ 106 callers
Method
encode
(String key, boolean value)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:947
↓ 81 callers
Method
getString
Core/MMKV.cpp:717
↓ 67 callers
Method
Pointer
Pointer the address of underlying memory
POSIX/golang/mmkv.go:98
↓ 64 callers
Function
NValueToUInt64
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:344
↓ 63 callers
Method
mmapID
@return The unique ID of the MMKV instance.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:923
↓ 60 callers
Function
jstring2string
Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:249
↓ 59 callers
Function
BoolToNValue
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:256
↓ 57 callers
Function
NValueToString
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:61
↓ 53 callers
Method
count
Core/MMKV.cpp:1094
↓ 52 callers
Function
MMBuffer
those are expensive, just forbid it for possibly misuse
Core/MMBuffer.h:108
↓ 52 callers
Method
mmkvWithID
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 callers
Method
actualSize
Core/MMKV.cpp:1116
↓ 44 callers
Function
to_string
POSIX/demo/demo.cpp:47
↓ 43 callers
Function
pbRawVarint32Size
Core/PBUtility.h:116
↓ 39 callers
Function
NAPIUndefined
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:244
↓ 39 callers
Method
getBool
Core/MMKV.cpp:813
↓ 38 callers
Function
set
Core/MMKV.h:503
↓ 35 callers
Method
getMemory
Core/MemoryFile.h:156
↓ 32 callers
Method
removeValueForKey
Core/MMKV.cpp:1122
↓ 31 callers
Function
isKeyEmpty
Core/MMKV.h:177
↓ 30 callers
Function
MMKVPath_t2String
Core/MemoryFile_Win32.cpp:687
↓ 30 callers
Method
getInt32
Core/MMKV.cpp:842
↓ 29 callers
Function
isFileValid
flutter/mmkv_linux/linux/flutter-bridge.cpp:649
↓ 28 callers
Method
clearAll
Core/MMKV_IO.cpp:1532
↓ 27 callers
Method
getVector
Core/MMKV.h:708
↓ 26 callers
Function
NValueToUInt32
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:300
↓ 26 callers
Function
getMMKV
Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:244
↓ 26 callers
Method
toString
()
Android/MMKV/mmkvdemo/src/main/java/com/tencent/mmkvdemo/Info.java:36
↓ 25 callers
Function
IsNValueUndefined
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:53
↓ 25 callers
Method
allKeys
@return All the keys.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1250
↓ 25 callers
Method
close
Core/MMKV.cpp:368
↓ 25 callers
Method
removeValueForKey
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1292
↓ 24 callers
Method
MMKV
Core/MMKV.cpp:75
↓ 24 callers
Method
clearMemoryCache
Core/MMKV.cpp:335
↓ 24 callers
Method
decodeString
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1065
↓ 23 callers
Method
getFd
Core/MemoryFile.cpp:154
↓ 23 callers
Method
isFileValid
Core/MMKV.cpp:431
↓ 22 callers
Method
containsKey
Core/MMKV.cpp:1079
↓ 21 callers
Function
string2MMKVPath_t
Core/MemoryFile_Win32.cpp:678
↓ 20 callers
Method
getDouble
Core/MMKV.cpp:987
↓ 20 callers
Method
getFileSize
Core/MemoryFile.h:151
↓ 20 callers
Method
getInt64
Core/MMKV.cpp:900
↓ 20 callers
Function
isReadOnly
Core/MMKV.h:360
↓ 19 callers
Method
getFloat
Core/MMKV.cpp:958
↓ 19 callers
Method
reKey
Core/MMKV_IO.cpp:1413
↓ 19 callers
Method
readRawByte
Core/CodedInputData.cpp:236
↓ 19 callers
Method
totalSize
Core/MMKV.cpp:1110
↓ 18 callers
Function
NValueToBool
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:264
↓ 18 callers
Method
decodeInt
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:981
↓ 18 callers
Method
getRootDir
@return The root folder of MMKV, defaults to $(FilesDir)/mmkv.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:322
↓ 17 callers
Method
getSharedPreferences
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 callers
Method
isFileValid
Core/MMKV_IO.cpp:1654
↓ 17 callers
Method
writeRawByte
Core/CodedOutputData.cpp:120
↓ 16 callers
Function
NValueToInt32
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:281
↓ 16 callers
Method
enableAutoKeyExpire
Core/MMKV_IO.cpp:1817
↓ 16 callers
Method
getUInt64
Core/MMKV.cpp:929
↓ 16 callers
Function
mappedKVPathWithID
Core/MMKV.cpp:1692
↓ 15 callers
Method
allKeys
Core/MMKV.cpp:1139
↓ 15 callers
Method
decodeBool
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:960
↓ 14 callers
Function
backupOneToDirectory
POSIX/golang/golang-bridge.cpp:618
↓ 14 callers
Method
count
@return The total count of all the keys.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1266
↓ 14 callers
Method
decrypt
Core/aes/AESCrypt.cpp:105
↓ 14 callers
Method
getUInt32
Core/MMKV.cpp:871
↓ 14 callers
Function
isMultiProcess
Core/MMKV.h:348
↓ 14 callers
Function
restoreOneFromDirectory
POSIX/golang/golang-bridge.cpp:631
↓ 13 callers
Method
allKeys
(filterExpire bool)
POSIX/golang/mmkv.go:689
↓ 13 callers
Method
clearAll
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 callers
Method
containsKey
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 callers
Method
getBytes
Core/MMKV.cpp:742
↓ 13 callers
Method
lock
Core/MMKV.cpp:1219
↓ 13 callers
Method
readInt32
Core/CodedInputData.cpp:74
↓ 13 callers
Function
to_string
Win32/Win32Demo/Win32Demo.cpp:44
↓ 12 callers
Function
StringToNValue
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:73
↓ 12 callers
Function
UInt32ToInt32
Core/PBUtility.h:80
↓ 12 callers
Method
close
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 callers
Method
decodeBytes
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1128
↓ 12 callers
Method
getInt
(String key, int defValue)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1618
↓ 12 callers
Method
getValue
(String pathSegment, String key, Object defValue)
Android/MMKV/mmkvdemo/src/main/java/com/tencent/mmkvdemo/MultiProcessSharedPreferences.java:442
↓ 12 callers
Method
isAtEnd
Core/CodedInputData.h:49
↓ 12 callers
Function
string2jstring
Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:261
↓ 12 callers
Method
trim
Core/MMKV_IO.cpp:1485
↓ 12 callers
Method
writeRawLittleEndian32
Core/CodedOutputData.cpp:164
↓ 11 callers
Method
SetBool
(value bool, key string)
POSIX/golang/mmkv.go:192
↓ 11 callers
Method
SetString
SetString string value should be utf-8 encoded
POSIX/golang/mmkv.go:228
↓ 11 callers
Function
UInt64ToNValue
OpenHarmony/MMKV/src/main/cpp/native_bridge.cpp:338
↓ 11 callers
Method
actualSize
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 callers
Method
clearMemoryCache
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 callers
Method
encrypt
Core/aes/AESCrypt.cpp:98
↓ 11 callers
Method
readString
Core/CodedInputData.cpp:86
↓ 11 callers
Method
readUInt32
Core/CodedInputData.cpp:78
↓ 11 callers
Method
unlock
Core/MMKV.cpp:1223
↓ 11 callers
Method
writeUInt32
Core/CodedOutputData.cpp:68
↓ 10 callers
Function
backupAllToDirectory
POSIX/golang/golang-bridge.cpp:644
↓ 10 callers
Method
checkReSetCryptKey
Core/MMKV.cpp:393
↓ 10 callers
Method
decodeDouble
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1044
↓ 10 callers
Method
decodeFloat
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1023
↓ 10 callers
Method
decodeLong
(String key)
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java:1002
↓ 10 callers
Method
detach
Core/MMBuffer.cpp:200
next →
1–100 of 1,822, ranked by callers