Commit Graph

22 Commits

Author SHA1 Message Date
guoling e7322d8cee test removeStorage() on POSIX 2023-12-06 13:29:41 +08:00
lishaokai eb9d8c1497 add clearAll with keeping file disk space 2023-10-08 14:07:13 +08:00
lishaokai 347b25feaa redo ftruncate file to its previous size when zeroFillFile fails(disk full) #1180 2023-09-26 17:53:29 +08:00
lishaokai 72b59356a9 compare value before set/encode for the same key 2023-09-12 20:36:10 +08:00
Lishaokai 7649e45d70 in place modification for getString to speed up 2023-09-06 15:59:37 +08:00
lishaokai e0f5321a9a override from beginning of file when dict is empty 2023-08-28 17:42:12 +08:00
Lishaokai c962b68934 Do not append to file when dic.size()==1 && new key in dict 2023-08-23 11:23:58 +08:00
kaitian521 5c88ea604b Merge branch 'dev' into dev 2023-08-11 21:32:26 +08:00
Lishaokai 73f01e5d50 set expected capacity for file length when init #1114 2023-08-11 21:23:12 +08:00
guoling 60cd3ab5d7 tidy 2023-08-10 17:18:04 +08:00
guoling d8574567c0 add testcase on count() & allKeys() for POSIX 2023-08-10 17:17:48 +08:00
guoling 5a60f03196 add auto-key-expiration for golang 2023-05-26 19:32:40 +08:00
guoling 852ea1e6c8 add Expire constant 2023-05-26 17:25:20 +08:00
guoling 16b666fe2c add MMKV::NeverExpire for C++ interface 2023-05-26 15:47:41 +08:00
guoling 3bf119f579 fix compile error on Linux 2023-05-24 19:58:32 +08:00
guoling 927d95fd68 add auto-expiration testcase for POSIX 2023-05-24 19:50:57 +08:00
guoling cc233a6fe3 update POSIX test code about initialize() with logHandler 2022-09-20 11:17:09 +08:00
guoling d0493ec2e3 fix compile error on Linux 2021-09-18 18:32:59 +08:00
guoling 9c0de2dcc9 backup & restore works on POSIX 2021-09-16 20:19:24 +08:00
guoling ec39f75fd6 fix compiler error & sem_open() error on FreeBSD 2021-09-15 16:41:19 +00:00
guoling 93b0b28fd4 opt clearAll() 2020-04-14 16:20:27 +08:00
guoling 425f43f2a6 rename demo.cpp 2020-03-24 14:50:55 +08:00