Home
last modified time | relevance | path

Searched refs:cache_set (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/dports/www/uwsgi/uwsgi-2.0.20/t/
H A Dcachebitmap.py38 self.assertTrue(uwsgi.cache_set('key1', 'HELLO', 0, 'items_17'))
39 self.assertIsNone(uwsgi.cache_set('key1', 'HELLO', 0, 'items_17'))
41 self.assertTrue(uwsgi.cache_set('key1', 'HELLO', 0, 'items_17'))
42 self.assertIsNone(uwsgi.cache_set('key1', 'HELLO', 0, 'items_17'))
45 self.assertTrue(uwsgi.cache_set('key1', 'HELLO', 0, 'items_4_10'))
46 self.assertTrue(uwsgi.cache_set('key2', 'HELLO', 0, 'items_4_10'))
47 self.assertTrue(uwsgi.cache_set('key3', 'HELLO', 0, 'items_4_10'))
48 self.assertTrue(uwsgi.cache_set('key4', 'HELLO', 0, 'items_4_10'))
49 self.assertIsNone(uwsgi.cache_set('key5', 'HELLO', 0, 'items_4_10'))
52 self.assertTrue(uwsgi.cache_set('key1', 'X' * 50 , 0, 'items_4_10'))
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/md/bcache/
H A Dbcache.h254 struct cache_set *c;
412 struct cache_set *set;
511 struct cache_set { struct
968 struct bio *bch_bbio_alloc(struct cache_set *c);
1016 int bch_uuid_write(struct cache_set *c);
1017 void bcache_write_super(struct cache_set *c);
1028 void bch_cache_set_stop(struct cache_set *c);
1031 void bch_btree_cache_free(struct cache_set *c);
1032 int bch_btree_cache_alloc(struct cache_set *c);
1034 int bch_open_buckets_alloc(struct cache_set *c);
[all …]
H A Dbtree.h126 struct cache_set *c;
195 static inline void set_gc_sectors(struct cache_set *c) in set_gc_sectors()
200 void bkey_put(struct cache_set *c, struct bkey *k);
231 struct cache_set *c;
280 int bch_gc_thread_start(struct cache_set *c);
281 void bch_initial_gc_finish(struct cache_set *c);
282 void bch_moving_gc(struct cache_set *c);
283 int bch_btree_check(struct cache_set *c);
286 static inline void wake_up_gc(struct cache_set *c) in wake_up_gc()
291 static inline void force_wake_up_gc(struct cache_set *c) in force_wake_up_gc()
[all …]
H A Djournal.h97 struct cache_set *c;
170 struct cache_set;
174 atomic_t *bch_journal(struct cache_set *c,
178 void bch_journal_mark(struct cache_set *c, struct list_head *list);
179 void bch_journal_meta(struct cache_set *c, struct closure *cl);
180 int bch_journal_read(struct cache_set *c, struct list_head *list);
181 int bch_journal_replay(struct cache_set *c, struct list_head *list);
183 void bch_journal_free(struct cache_set *c);
184 int bch_journal_alloc(struct cache_set *c);
H A Dstats.h42 struct cache_set;
56 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d,
58 void bch_mark_cache_readahead(struct cache_set *c, struct bcache_device *d);
59 void bch_mark_cache_miss_collision(struct cache_set *c,
61 void bch_mark_sectors_bypassed(struct cache_set *c,
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/md/bcache/
H A Dbcache.h254 struct cache_set *c;
412 struct cache_set *set;
511 struct cache_set { struct
968 struct bio *bch_bbio_alloc(struct cache_set *c);
1016 int bch_uuid_write(struct cache_set *c);
1017 void bcache_write_super(struct cache_set *c);
1028 void bch_cache_set_stop(struct cache_set *c);
1031 void bch_btree_cache_free(struct cache_set *c);
1032 int bch_btree_cache_alloc(struct cache_set *c);
1034 int bch_open_buckets_alloc(struct cache_set *c);
[all …]
H A Dbtree.h126 struct cache_set *c;
195 static inline void set_gc_sectors(struct cache_set *c) in set_gc_sectors()
200 void bkey_put(struct cache_set *c, struct bkey *k);
231 struct cache_set *c;
280 int bch_gc_thread_start(struct cache_set *c);
281 void bch_initial_gc_finish(struct cache_set *c);
282 void bch_moving_gc(struct cache_set *c);
283 int bch_btree_check(struct cache_set *c);
286 static inline void wake_up_gc(struct cache_set *c) in wake_up_gc()
291 static inline void force_wake_up_gc(struct cache_set *c) in force_wake_up_gc()
[all …]
H A Djournal.h97 struct cache_set *c;
170 struct cache_set;
174 atomic_t *bch_journal(struct cache_set *c,
178 void bch_journal_mark(struct cache_set *c, struct list_head *list);
179 void bch_journal_meta(struct cache_set *c, struct closure *cl);
180 int bch_journal_read(struct cache_set *c, struct list_head *list);
181 int bch_journal_replay(struct cache_set *c, struct list_head *list);
183 void bch_journal_free(struct cache_set *c);
184 int bch_journal_alloc(struct cache_set *c);
H A Dstats.h42 struct cache_set;
56 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d,
58 void bch_mark_cache_readahead(struct cache_set *c, struct bcache_device *d);
59 void bch_mark_cache_miss_collision(struct cache_set *c,
61 void bch_mark_sectors_bypassed(struct cache_set *c,
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/md/bcache/
H A Dbcache.h254 struct cache_set *c;
412 struct cache_set *set;
511 struct cache_set { struct
968 struct bio *bch_bbio_alloc(struct cache_set *c);
1016 int bch_uuid_write(struct cache_set *c);
1017 void bcache_write_super(struct cache_set *c);
1028 void bch_cache_set_stop(struct cache_set *c);
1031 void bch_btree_cache_free(struct cache_set *c);
1032 int bch_btree_cache_alloc(struct cache_set *c);
1034 int bch_open_buckets_alloc(struct cache_set *c);
[all …]
H A Dbtree.h126 struct cache_set *c;
195 static inline void set_gc_sectors(struct cache_set *c) in set_gc_sectors()
200 void bkey_put(struct cache_set *c, struct bkey *k);
231 struct cache_set *c;
280 int bch_gc_thread_start(struct cache_set *c);
281 void bch_initial_gc_finish(struct cache_set *c);
282 void bch_moving_gc(struct cache_set *c);
283 int bch_btree_check(struct cache_set *c);
286 static inline void wake_up_gc(struct cache_set *c) in wake_up_gc()
291 static inline void force_wake_up_gc(struct cache_set *c) in force_wake_up_gc()
[all …]
H A Djournal.h97 struct cache_set *c;
170 struct cache_set;
174 atomic_t *bch_journal(struct cache_set *c,
178 void bch_journal_mark(struct cache_set *c, struct list_head *list);
179 void bch_journal_meta(struct cache_set *c, struct closure *cl);
180 int bch_journal_read(struct cache_set *c, struct list_head *list);
181 int bch_journal_replay(struct cache_set *c, struct list_head *list);
183 void bch_journal_free(struct cache_set *c);
184 int bch_journal_alloc(struct cache_set *c);
H A Dstats.h42 struct cache_set;
56 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d,
58 void bch_mark_cache_readahead(struct cache_set *c, struct bcache_device *d);
59 void bch_mark_cache_miss_collision(struct cache_set *c,
61 void bch_mark_sectors_bypassed(struct cache_set *c,
/dports/devel/p5-DateTime-Event-Random/DateTime-Event-Random-0.03/lib/DateTime/Event/
H A DRandom.pm19 my $cache_set = DateTime::Set->empty_set;
26 my $prev = $cache_set->previous( $dt );
27 my $next = $cache_set->next( $dt );
35 $cache_set = $cache_set->union( $cache_last );
40 $cache_set = $cache_set->union( $cache_last );
45 $cache_set = $cache_set->union( $cache_first );
48 $prev = $cache_set->previous( $dt );
49 $next = $cache_set->next( $dt );
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/memory/
H A Dmemory_test.cc40 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
43 cache_set->insert(bbto->block_cache.get()); in GetCachePointersFromTableFactory()
44 cache_set->insert(bbto->block_cache_compressed.get()); in GetCachePointersFromTableFactory()
49 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
50 cache_set->clear(); in GetCachePointers()
59 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
63 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
72 cache_set); in GetCachePointers()
80 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
81 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/memory/
H A Dmemory_test.cc40 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
43 cache_set->insert(bbto->block_cache.get()); in GetCachePointersFromTableFactory()
44 cache_set->insert(bbto->block_cache_compressed.get()); in GetCachePointersFromTableFactory()
49 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
50 cache_set->clear(); in GetCachePointers()
59 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
63 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
72 cache_set); in GetCachePointers()
80 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
81 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/rocksdb/rocksdb-6.26.1/utilities/memory/
H A Dmemory_test.cc40 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
43 cache_set->insert(bbto->block_cache.get()); in GetCachePointersFromTableFactory()
44 cache_set->insert(bbto->block_cache_compressed.get()); in GetCachePointersFromTableFactory()
49 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
50 cache_set->clear(); in GetCachePointers()
59 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
63 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
72 cache_set); in GetCachePointers()
80 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
81 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/rocksdb-lite/rocksdb-6.26.1/utilities/memory/
H A Dmemory_test.cc40 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
43 cache_set->insert(bbto->block_cache.get()); in GetCachePointersFromTableFactory()
44 cache_set->insert(bbto->block_cache_compressed.get()); in GetCachePointersFromTableFactory()
49 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
50 cache_set->clear(); in GetCachePointers()
59 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
63 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
72 cache_set); in GetCachePointers()
80 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
81 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/memory/
H A Dmemory_test.cc40 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
43 cache_set->insert(bbto->block_cache.get()); in GetCachePointersFromTableFactory()
44 cache_set->insert(bbto->block_cache_compressed.get()); in GetCachePointersFromTableFactory()
49 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
50 cache_set->clear(); in GetCachePointers()
59 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
63 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
72 cache_set); in GetCachePointers()
80 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
81 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/rocksdb/utilities/memory/
H A Dmemory_test.cc45 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
50 cache_set->insert(bbt_opts.block_cache.get()); in GetCachePointersFromTableFactory()
51 cache_set->insert(bbt_opts.block_cache_compressed.get()); in GetCachePointersFromTableFactory()
56 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
57 cache_set->clear(); in GetCachePointers()
66 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
70 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
78 GetCachePointersFromTableFactory(pair.second->table_factory, cache_set); in GetCachePointers()
86 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
87 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/rocksdb/rocksdb/utilities/memory/
H A Dmemory_test.cc45 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
50 cache_set->insert(bbt_opts.block_cache.get()); in GetCachePointersFromTableFactory()
51 cache_set->insert(bbt_opts.block_cache_compressed.get()); in GetCachePointersFromTableFactory()
56 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
57 cache_set->clear(); in GetCachePointers()
66 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
70 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
78 GetCachePointersFromTableFactory(pair.second->table_factory, cache_set); in GetCachePointers()
86 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
87 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/rocksdb/rocksdb/utilities/memory/
H A Dmemory_test.cc45 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
50 cache_set->insert(bbt_opts.block_cache.get()); in GetCachePointersFromTableFactory()
51 cache_set->insert(bbt_opts.block_cache_compressed.get()); in GetCachePointersFromTableFactory()
56 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
57 cache_set->clear(); in GetCachePointers()
66 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
70 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
78 GetCachePointersFromTableFactory(pair.second->table_factory, cache_set); in GetCachePointers()
86 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
87 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/rocksdb/rocksdb/utilities/memory/
H A Dmemory_test.cc45 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
50 cache_set->insert(bbt_opts.block_cache.get()); in GetCachePointersFromTableFactory()
51 cache_set->insert(bbt_opts.block_cache_compressed.get()); in GetCachePointersFromTableFactory()
56 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
57 cache_set->clear(); in GetCachePointers()
66 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
70 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
78 GetCachePointersFromTableFactory(pair.second->table_factory, cache_set); in GetCachePointers()
86 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
87 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/rocksdb/rocksdb/utilities/memory/
H A Dmemory_test.cc45 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
50 cache_set->insert(bbt_opts.block_cache.get()); in GetCachePointersFromTableFactory()
51 cache_set->insert(bbt_opts.block_cache_compressed.get()); in GetCachePointersFromTableFactory()
56 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
57 cache_set->clear(); in GetCachePointers()
66 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
70 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
78 GetCachePointersFromTableFactory(pair.second->table_factory, cache_set); in GetCachePointers()
86 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
87 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/utilities/memory/
H A Dmemory_test.cc45 std::unordered_set<const Cache*>* cache_set) { in GetCachePointersFromTableFactory() argument
50 cache_set->insert(bbt_opts.block_cache.get()); in GetCachePointersFromTableFactory()
51 cache_set->insert(bbt_opts.block_cache_compressed.get()); in GetCachePointersFromTableFactory()
56 std::unordered_set<const Cache*>* cache_set) { in GetCachePointers() argument
57 cache_set->clear(); in GetCachePointers()
66 cache_set->insert(db_impl->TEST_table_cache()); in GetCachePointers()
70 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
78 GetCachePointersFromTableFactory(pair.second->table_factory, cache_set); in GetCachePointers()
86 std::unordered_set<const Cache*> cache_set; in GetApproximateMemoryUsageByType() local
87 GetCachePointers(dbs, &cache_set); in GetApproximateMemoryUsageByType()
[all …]

12345678910>>...14