mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-19 15:08:09 +02:00
Compare commits
1 Commits
nightly
...
copilot/re
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec2cc29de7 |
@@ -732,7 +732,7 @@ end:
|
||||
return data;
|
||||
}
|
||||
|
||||
size_t
|
||||
static size_t
|
||||
disk_cache_clear_from_ram(PyObject *self_, bool(matches)(void*, void *key, unsigned keysz), void *data) {
|
||||
DiskCache *self = (DiskCache*)self_;
|
||||
size_t ans = 0;
|
||||
|
||||
@@ -16,7 +16,6 @@ PyObject* read_from_disk_cache_python(PyObject *self_, const void *key, size_t k
|
||||
bool disk_cache_wait_for_write(PyObject *self, monotonic_t timeout);
|
||||
size_t disk_cache_total_size(PyObject *self);
|
||||
size_t disk_cache_size_on_disk(PyObject *self);
|
||||
size_t disk_cache_clear_from_ram(PyObject *self_, bool(matches)(void* data, void *key, unsigned keysz), void*);
|
||||
size_t disk_cache_num_cached_in_ram(PyObject *self_);
|
||||
|
||||
static inline void* disk_cache_malloc_allocator(void *x, size_t sz) {
|
||||
|
||||
Reference in New Issue
Block a user