Commit Graph

27 Commits

Author SHA1 Message Date
guoling 02e07a7c2b make expectCapacity more consistent 2023-11-21 19:43:32 +08:00
Lishaokai 73f01e5d50 set expected capacity for file length when init #1114 2023-08-11 21:23:12 +08:00
guoling 674e700038 cleanup platform specific code 2021-09-27 22:10:40 +08:00
guoling 91af2711d9 tiny opt 2021-09-22 22:51:40 +08:00
guoling 917b4d9b4d fix trunc bug in File.open() 2021-09-22 22:48:39 +08:00
guoling d0493ec2e3 fix compile error on Linux 2021-09-18 18:32:59 +08:00
guoling 8e979910d0 backup & restore works on Android 2021-09-17 17:47:57 +08:00
guoling 9c0de2dcc9 backup & restore works on POSIX 2021-09-16 20:19:24 +08:00
guoling d5160def4f add pseudo code for backup & restore on iOS, not tested yet 2021-09-10 22:06:13 +08:00
guoling 1d262bb195 hide KeyValueHolder from public header 2020-06-30 18:23:25 +08:00
guoling af1bca6e33 remove useless code 2020-06-29 12:46:15 +08:00
guoling 89f04a0683 tidy 2020-06-28 16:22:00 +08:00
guoling dd259b3169 add cplusplus check 2020-03-24 20:57:23 +08:00
guoling 177a2a3c68 tidy 2020-01-21 22:04:42 +08:00
guoling 5282c480b1 cleanup ASHMEM_NAME_DEF 2020-01-14 14:40:49 +08:00
guoling 35ef768d16 remove MemoryFile from MMKV public header 2020-01-03 21:31:17 +08:00
guoling 8a1d777302 type safe for pb utils 2020-01-03 16:37:40 +08:00
guoling dd24e5a5e6 type safety 2020-01-03 12:14:35 +08:00
guoling ebdac3eee9 tidy typename 2020-01-02 16:53:55 +08:00
guoling 5325333585 cleanup 2019-12-26 17:15:19 +08:00
guoling 9364d0ccfd add relativePath support for iOS 2019-12-24 22:13:42 +08:00
guoling dabb3f6ba5 most things for Win32 actually work 2019-12-17 21:47:33 +08:00
guoling f0052cc834 most things for Android actually work 2019-12-13 12:08:22 +08:00
guoling 4fea0e8788 merging Core lib to Android almost done 2019-12-12 20:31:16 +08:00
guoling c389549990 move every OS dependent stuff out of MMKV.cpp 2019-12-09 18:06:48 +08:00
guoling 0d90cb5166 replace hand-make-mmap with class MemoryFile 2019-12-05 22:10:11 +08:00
guoling f2d1230e37 prepare to replace hand-make-mmap with class MemoryFile 2019-12-05 18:18:09 +08:00