MCPcopy Index your code

hub / github.com/facebook/CacheLib / functions

Functions5,467 in github.com/facebook/CacheLib

↓ 464 callersMethoddata
Return read-only start of the data
cachelib/navy/common/Buffer.h:157
↓ 403 callersFunctionmakeHK
Convenience utils to convert a piece of buffer to a hashed key
cachelib/navy/common/Hash.h:34
↓ 388 callersMethodsize
cachelib/allocator/datastruct/DList.h:179
↓ 350 callersMethodinc
cachelib/common/AtomicCounter.h:90
↓ 294 callersMethodget
cachelib/datatype/Buffer.h:577
↓ 291 callersMethodsize
Return size in bytes for the data
cachelib/navy/common/Buffer.h:163
↓ 250 callersMethodgetMemory
cachelib/allocator/CacheItem.h:671
↓ 242 callersMethodsize
Return number of elements in this map
cachelib/datatype/Map.h:440
↓ 235 callersMethodvalue
cachelib/navy/bighash/Bucket.cpp:42
↓ 218 callersMethodfind
cachelib/allocator/nvmcache/NvmCache.h:714
↓ 213 callersMethodgen
cachelib/navy/testing/BufferGen.cpp:25
↓ 208 callersMethodaddPool
cachelib/allocator/memory/MemoryAllocator.cpp:117
↓ 206 callersMethodkey
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:118
↓ 186 callersMethodend
cachelib/allocator/datastruct/DList.h:449
↓ 186 callersMethodget
cachelib/compact_cache/CCache.h:890
↓ 185 callersFunctionallocateAccessible
cachelib/allocator/Util.h:101
↓ 183 callersMethodinsert
cachelib/allocator/datastruct/SList.h:247
↓ 181 callersMethodcount
cachelib/cachebench/cache/ItemRecords.h:138
↓ 177 callersMethodsize
cachelib/cachebench/consistency/RingBuffer.h:85
↓ 177 callersMethodview
return a mutable view where caller can read or modify data
cachelib/navy/bighash/BucketStorage.h:47
↓ 174 callersMethodlookup
cachelib/navy/block_cache/BlockCache.cpp:471
↓ 169 callersFunctionmakeView
Trailing 0 is not included
cachelib/navy/common/Buffer.h:254
↓ 165 callersMethodview
Return a read-only view
cachelib/navy/common/Buffer.h:148
↓ 162 callersMethodend
cachelib/datatype/Map.h:485
↓ 159 callersMethodgetCacheMemoryStats
cachelib/allocator/tests/CacheBaseTest.cpp:57
↓ 155 callersFunctiongetCurrentTimeSec
::time is the fastest for getting the second granularity system clock through the vdso. This is faster than std::chrono::system_clock::now and countin
cachelib/common/Time.h:31
↓ 153 callersMethodempty
cachelib/allocator/datastruct/SList.h:132
↓ 141 callersMethodvalue
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:120
↓ 140 callersFunctionASSERT_THROW
cachelib/allocator/memory/tests/MemoryAllocatorTest.cpp:395
↓ 133 callersMethodsize
Approximate total number of entries. O(1), no locking. May be slightly stale under concurrent modifications due to relaxed memory ordering, but avoids
cachelib/allocator/nvmcache/AccessTimeMap.h:140
↓ 129 callersMethodinsert
cachelib/datatype/Map.h:680
↓ 128 callersFunctionstrPiece
Helper utility that converts a c-style string to a StringPiece
cachelib/navy/testing/Callbacks.h:62
↓ 123 callersMethodsize
cachelib/allocator/MM2Q.h:515
↓ 122 callersMethodjoin
cachelib/navy/scheduler/ThreadPoolJobScheduler.cpp:82
↓ 121 callersMethodempty
cachelib/shm/ShmCommon.h:118
↓ 115 callersMethodbegin
cachelib/allocator/datastruct/DList.h:436
↓ 114 callersMethodallocate
cachelib/allocator/memory/MemoryPool.cpp:307
↓ 110 callersMethodbegin
cachelib/datatype/Map.h:484
↓ 110 callersMethodupdateDelta
cachelib/allocator/CacheStats.cpp:474
↓ 106 callersMethodgetCurrentAllocSize
returns the current memory that is allocated in this memory pool.
cachelib/allocator/memory/MemoryPool.h:119
↓ 102 callersMethodstr
cachelib/common/Profiled.h:39
↓ 100 callersMethodgetPoolStats
cachelib/allocator/tests/CacheBaseTest.cpp:36
↓ 97 callersMethodgetPoolSize
the configured size of the pool.
cachelib/allocator/memory/MemoryPool.h:82
↓ 93 callersMethodgetKey
cachelib/allocator/tests/Cache.h:48
↓ 90 callersMethodremove
cachelib/allocator/datastruct/DList.h:352
↓ 89 callersMethodget
cachelib/allocator/Handle.h:174
↓ 86 callersMethodsize
cachelib/common/ApproxSplitSet.h:113
↓ 83 callersMethodfind
cachelib/datatype/Map.h:133
↓ 83 callersMethodwhat
cachelib/common/Exceptions.h:52
↓ 82 callersMethodallocate
returns memory of size, aligned to Slab::kSize
cachelib/allocator/memory/tests/TestBase.h:47
↓ 82 callersMethodevict
cachelib/navy/block_cache/LruPolicy.cpp:66
↓ 79 callersMethodget
cachelib/allocator/datastruct/DList.h:218
↓ 79 callersMethodgetSize
current size of the segment
cachelib/shm/Shm.h:144
↓ 78 callersMethoderase
cachelib/datatype/Map.h:696
↓ 78 callersMethodgetKey
cachelib/allocator/CacheItem.h:659
↓ 77 callersMethodallocate
cachelib/datatype/Buffer.h:514
↓ 75 callersMethodinsert
cachelib/navy/block_cache/BlockCache.cpp:282
↓ 74 callersMethodget
Retrieve the timestamp for the given key hash without removing it.
cachelib/allocator/nvmcache/AccessTimeMap.h:96
↓ 73 callersMethodinsertOrReplace
cachelib/allocator/nvmcache/tests/NvmTestBase.h:80
↓ 72 callersMethodclear
cachelib/common/BloomFilter.cpp:111
↓ 72 callersMethodpeek
cachelib/navy/block_cache/FixedSizeIndex.cpp:100
↓ 68 callersMethodkeyHash
cachelib/navy/bighash/Bucket.cpp:38
↓ 68 callersMethodwait
cachelib/navy/testing/SeqPoints.cpp:49
↓ 67 callersMethodinsertOrReplace
cachelib/object_cache/ObjectCache.h:978
↓ 66 callersMethodshutDown
cachelib/allocator/nvmcache/NvmCache.h:1705
↓ 64 callersMethodadd
adds an instance of key @param key key for the record @return a valid Guard representing the tombstone
cachelib/allocator/nvmcache/TombStones.h:43
↓ 64 callersFunctioncreateMemoryDevice
cachelib/navy/common/Device.cpp:1235
↓ 64 callersMethodset
Store a timestamp for the given key hash. If inserting a new key causes the shard to exceed capacity, an arbitrary existing entry in the same shard is
cachelib/allocator/nvmcache/AccessTimeMap.h:73
↓ 63 callersMethodhasValue
cachelib/cachebench/consistency/ValueHistory.cpp:89
↓ 63 callersFunctionmakeAddr
cachelib/datatype/tests/RangeMapTest.cpp:32
↓ 63 callersMethodupdateCount
cachelib/allocator/CacheStats.cpp:480
↓ 62 callersFunctionthrowSystemError
cachelib/common/Utils.h:357
↓ 60 callersMethodallocateChainedItem
cachelib/allocator/CacheAllocator.h:3126
↓ 60 callersMethodfillUpPoolUntilEvictions
cachelib/allocator/tests/TestBase.h:184
↓ 59 callersMethodattachShm
cachelib/shm/ShmManager.cpp:365
↓ 59 callersMethodgetStats
cachelib/allocator/memory/MemoryPool.cpp:567
↓ 57 callersFunctionASSERT_THROW
cachelib/shm/tests/test_shm_manager.cpp:332
↓ 57 callersMethodcreateShm
cachelib/shm/ShmManager.cpp:289
↓ 57 callersMethodinsert
cachelib/navy/bighash/Bucket.cpp:73
↓ 57 callersMethodlookup
cachelib/datatype/RangeMap.h:335
↓ 56 callersMethodinsertAsync
cachelib/navy/driver/Driver.cpp:180
↓ 55 callersMethodclose
cachelib/navy/block_cache/Region.cpp:150
↓ 55 callersMethodcurrentHits
cachelib/navy/block_cache/Index.h:99
↓ 55 callersMethodhasChainedItem
cachelib/allocator/CacheItem.h:954
↓ 54 callersMethodcheckKeyExists
cachelib/allocator/nvmcache/tests/NvmTestBase.cpp:56
↓ 54 callersMethodfind
cachelib/navy/bighash/Bucket.cpp:61
↓ 54 callersMethodgetNumSlabsAdvised
cachelib/allocator/memory/MemoryPoolManager.cpp:79
↓ 54 callersMethodget_allocator
(&self)
cachelib/rust/src/lrucache.rs:425
↓ 54 callersFunctionmakeConfig
4x16k regions
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:57
↓ 54 callersMethodreached
cachelib/navy/testing/SeqPoints.cpp:42
↓ 53 callersMethodcapacity
Return capacity of the index in this map
cachelib/datatype/RangeMap.h:167
↓ 53 callersMethodflush
cachelib/navy/block_cache/Allocator.cpp:135
↓ 51 callersMethodfree
cachelib/allocator/memory/MemoryPool.cpp:356
↓ 51 callersFunctionmakeEngine
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:82
↓ 51 callersMethodrecordAccess
cachelib/allocator/MM2Q.h:706
↓ 51 callersMethodwait
blocks until `isReady() == true`.
cachelib/allocator/Handle.h:239
↓ 50 callersMethodmakeNewSlab
cachelib/allocator/memory/SlabAllocator.cpp:408
↓ 50 callersMethodpoolId
pool id for the cache allocations
cachelib/allocator/nvmcache/tests/NvmTestBase.h:54
↓ 50 callersMethodwrite
cachelib/navy/common/Device.cpp:433
↓ 49 callersMethodaddChainedItem
cachelib/allocator/CacheAllocator.h:3183
next →1–100 of 5,467, ranked by callers