| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
cleanup cript example. add missing function (#11129) * cleanup cript example. add missing function * actually implement Cript::splitter --------- Co-authored-by: Chris McFarlen <cmcfarlen@apple.com> | 2 年前 | |
Adds Cache Groups concepts to Cripts (#12743) * Adds Cache Groups concepts to Cripts - cleans up the notion around cached URLs and headers, and cache keys. - adds APIs to set the lookup status as well * Changes from code review * Address Bryan's review issues WriteToDisk previously updated last_sync and cleared the transaction log before confirming syncMap succeeded. On rename failure the log would be lost even though the map was never written to disk. syncMap now returns bool; WriteToDisk reverts last_sync on failure and only calls clearLog when all dirty slots have been successfully synced. Adds Catch2 unit tests covering basic insert/lookup, persist-and-reload, transaction log replay across restarts, corrupt/truncated/wrong-version map file handling, sync failure log preservation, and map rotation. More unit tests will be done in a future PR. * Address Copilot review comments Add missing standard headers in CacheGroup.cc. Use std::error_code overload for filesystem::remove in syncMap error paths. Add <filesystem> and <system_error> to CacheGroup.hpp. Use fixed-width types in _MapHeader for a stable on-disk format. Fix max_to_process calculation in the sync continuation to spread groups evenly across the sync window. * Address bryancall's review comments Fix sync retry logic: revert last_sync to its previous value on syncMap failure instead of setting it to last_write. The old code made the slot appear clean, preventing retries until a new Insert bumped last_write again. | 6 个月前 | |
Cripts: Refactor the cache key / URL APIs (#12377) * Cripts: Refactor the cache key / URL APIs - cleans up the notion around cached URLs and headers, and cache keys. - adds APIs to set the lookup status as well * Address review comments | 1 年前 | |
Cripts: Refactor the cache key / URL APIs (#12377) * Cripts: Refactor the cache key / URL APIs - cleans up the notion around cached URLs and headers, and cache keys. - adds APIs to set the lookup status as well * Address review comments | 1 年前 | |
Foundation laid for global Cripts (#11793) * Foundation laid for global Cripts * Try to fix the enumerated and non-enumerated type errors * Added documentation for the global hooks * Fix doc typos, thanks bcall | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |