Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/facebook/CacheLib
/ functions
Functions
5,467 in github.com/facebook/CacheLib
⨍
Functions
5,467
◇
Types & classes
1,077
↓ 18 callers
Function
toString
cachelib/common/Utils.cpp:349
↓ 18 callers
Method
visitQuantileEstimator
cachelib/common/PercentileStats.h:84
↓ 18 callers
Method
wasCleanShutDown
cachelib/allocator/NvmCacheState.cpp:145
↓ 17 callers
Method
check
cachelib/common/tests/EventInterfaceTest.h:76
↓ 17 callers
Function
combineHashes
combines two 64 bit hash into one
cachelib/common/Hash.h:74
↓ 17 callers
Method
dec
cachelib/common/AtomicCounter.h:91
↓ 17 callers
Method
getCurFetchingPieceIndex
cachelib/common/piecewise/GenericPiecesBase.h:75
↓ 17 callers
Function
getPageSize
cachelib/shm/ShmCommon.cpp:31
↓ 17 callers
Method
getPrev
cachelib/allocator/datastruct/DList.h:127
↓ 17 callers
Method
getRefCount
cachelib/allocator/CacheItem.h:787
↓ 17 callers
Method
getStats
cachelib/cachebench/cache/Cache.h:1154
↓ 17 callers
Method
incrActiveReqs
increments the refcount for the current cohort. Optimisitically assumes the cohort is not switching. Just increment and if it actually changed in the
cachelib/common/Cohort.h:114
↓ 17 callers
Method
isMoving
cachelib/allocator/CacheItem.h:868
↓ 17 callers
Method
isNvmEvicted
cachelib/allocator/CacheItem.h:898
↓ 17 callers
Method
mutableView
Return a mutable view
cachelib/navy/common/Buffer.h:151
↓ 17 callers
Method
numActiveAllocs
cachelib/allocator/CacheStats.cpp:412
↓ 17 callers
Method
remove
cachelib/allocator/nvmcache/NvmCache.h:1620
↓ 17 callers
Method
start
* Helper to automatically measure latency & update counters in a scope. * Returns an non-empty std::optional if sampled for latency measurement.
cachelib/interface/Stats.h:118
↓ 17 callers
Method
totalSlabs
cachelib/allocator/memory/MemoryAllocatorStats.h:51
↓ 17 callers
Method
viewAsChainedAllocs
cachelib/cachebench/cache/Cache.h:214
↓ 16 callers
Method
attachBuffer
Attaches buffer 'buf' to the region.
cachelib/navy/block_cache/Region.h:149
↓ 16 callers
Function
begin
cachelib/datatype/Buffer.h:143
↓ 16 callers
Function
getAlignedSize
cachelib/common/Utils.h:274
↓ 16 callers
Function
getSize
get the size of the value.
cachelib/allocator/KAllocation.h:162
↓ 16 callers
Method
getSizeOfAPiece
cachelib/common/piecewise/GenericPiecesBase.h:105
↓ 16 callers
Method
getStats
cachelib/allocator/MM2Q.h:1072
↓ 16 callers
Function
getSteadyClockSeconds
cachelib/navy/common/Utils.h:36
↓ 16 callers
Function
get_global_cache
()
cachelib/rust/src/lrucache.rs:496
↓ 16 callers
Function
hashInt
cachelib/common/Hash.h:78
↓ 16 callers
Method
insertOrReplace
cachelib/cachebench/cache/Cache.h:957
↓ 16 callers
Method
isRestorable
returns true if the slab allocator can be restored through serialized state. This is a precondition to calling saveState.
cachelib/allocator/memory/SlabAllocator.h:118
↓ 16 callers
Function
makeHash
cachelib/common/tests/ApproxSplitSetTest.cpp:33
↓ 16 callers
Method
numStoredEntries
Get the number of stored entries
cachelib/navy/block_cache/CombinedEntryBlock.h:116
↓ 16 callers
Method
replaceIfMatch
cachelib/navy/block_cache/FixedSizeIndex.cpp:165
↓ 15 callers
Method
add
cachelib/allocator/MM2Q.h:886
↓ 15 callers
Method
allocate
cachelib/navy/block_cache/Allocator.cpp:50
↓ 15 callers
Function
expectRegionsTracked
Expect regions specified to be tracked exactly once and in order
cachelib/navy/block_cache/tests/TestHelpers.h:107
↓ 15 callers
Method
getBlob
cachelib/allocator/nvmcache/NvmItem.cpp:29
↓ 15 callers
Method
getCache
cachelib/compact_cache/tests/CCacheTests.h:177
↓ 15 callers
Method
getFirst
cachelib/navy/bighash/Bucket.cpp:194
↓ 15 callers
Function
getRandomAllocSize
cachelib/allocator/memory/tests/TestBase.cpp:117
↓ 15 callers
Method
getSlabForIdx
returns the slab corresponding to the idx, irrespective of the validity of the memory. The caller can use isValidSlab to check if the returned slab is
cachelib/allocator/memory/SlabAllocator.h:323
↓ 15 callers
Method
isAccessible
cachelib/allocator/CacheItem.h:823
↓ 15 callers
Method
numItems
cachelib/allocator/CacheStats.cpp:372
↓ 15 callers
Function
printMsg
cachelib/benchmarks/BenchmarkUtils.h:72
↓ 15 callers
Method
read
cachelib/navy/block_cache/RegionManager.cpp:702
↓ 15 callers
Method
remove
cachelib/allocator/CacheAllocator.h:4284
↓ 15 callers
Method
reset
cachelib/allocator/nvmcache/InFlightPuts.h:132
↓ 15 callers
Method
reset
cachelib/navy/block_cache/Region.cpp:137
↓ 15 callers
Method
resizePools
cachelib/allocator/memory/MemoryPoolManager.cpp:200
↓ 15 callers
Method
toString
cachelib/allocator/tests/AccessTypeTest.h:62
↓ 15 callers
Method
try_lock
cachelib/common/Mutex.h:230
↓ 14 callers
Method
allocate
cachelib/cachebench/cache/Cache.h:942
↓ 14 callers
Function
createDevice
cachelib/allocator/nvmcache/NavySetup.cpp:349
↓ 14 callers
Function
expectAllAllocSizesValid
cachelib/allocator/memory/tests/SlabAllocatorTest.cpp:865
↓ 14 callers
Method
findToWrite
cachelib/allocator/CacheAllocator.h:4643
↓ 14 callers
Method
getCounters
cachelib/allocator/nvmcache/tests/NavyConfigTest.cpp:65
↓ 14 callers
Method
getDelta
cachelib/allocator/CacheStats.cpp:484
↓ 14 callers
Method
getIndexEntry
cachelib/navy/block_cache/CombinedEntryBlock.cpp:82
↓ 14 callers
Method
getKey
cachelib/interface/components/RAMCacheComponent.cpp:100
↓ 14 callers
Method
getNext
cachelib/allocator/datastruct/DList.h:123
↓ 14 callers
Method
getNumItems
Gets the number of items in this region.
cachelib/navy/block_cache/Region.h:130
↓ 14 callers
Method
getRemainingBytes
cachelib/common/piecewise/GenericPieces.h:80
↓ 14 callers
Method
getUsableSize
returns the size of the NVM space used for caching
cachelib/allocator/nvmcache/NvmCache.h:270
↓ 14 callers
Method
lockShared
cachelib/common/Mutex.h:368
↓ 14 callers
Function
makeEnginePair
cachelib/navy/driver/tests/DriverTest.cpp:177
↓ 14 callers
Function
nandWriteBytes
TODO: add unit tests
cachelib/cachebench/util/NandWrites.cpp:467
↓ 14 callers
Method
recordNewReq
cachelib/cachebench/workload/PieceWiseCache.cpp:426
↓ 14 callers
Method
rend
cachelib/allocator/datastruct/DList.h:455
↓ 14 callers
Method
restoreCache
cachelib/persistence/PersistenceManager.cpp:163
↓ 14 callers
Method
setBlockSize
============ Device settings ============= Set the device block size, i.e., minimum unit of IO
cachelib/allocator/nvmcache/NavyConfig.h:926
↓ 14 callers
Function
strzBuffer
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:108
↓ 14 callers
Function
toString
cachelib/navy/common/Types.cpp:20
↓ 13 callers
Method
allocate
cachelib/experimental/deprecated_objcache/tests/Common.h:64
↓ 13 callers
Method
allocateChainedItem
cachelib/cachebench/cache/Cache.h:910
↓ 13 callers
Method
begin
cachelib/navy/block_cache/FixedSizeIndex.cpp:383
↓ 13 callers
Function
checksum
cachelib/navy/common/Hash.cpp:26
↓ 13 callers
Method
createNewPool
cachelib/allocator/memory/MemoryPoolManager.cpp:101
↓ 13 callers
Method
endLockGroup
cachelib/allocator/CacheAllocator.h:704
↓ 13 callers
Method
getInternal
accessor. Calling getInternal() on handle with isReady() == false blocks the thread until the handle is ready.
cachelib/allocator/Handle.h:263
↓ 13 callers
Method
getLastEntryEndOffset
Gets the end offset of last slot added to this region.
cachelib/navy/block_cache/Region.h:124
↓ 13 callers
Method
getNext
cachelib/allocator/CacheItem.h:1124
↓ 13 callers
Method
getPending
cachelib/common/Cohort.h:143
↓ 13 callers
Method
getSize
* return the total size of currently used chunks (virtual function). This * could be different from the configured size since the resizing happens
cachelib/compact_cache/CCache.h:227
↓ 13 callers
Method
growPool
cachelib/allocator/memory/MemoryPoolManager.cpp:226
↓ 13 callers
Method
incRef
cachelib/allocator/tests/AccessTypeTest.h:59
↓ 13 callers
Method
index
cachelib/navy/bighash/BigHash.h:177
↓ 13 callers
Method
insertOrReplace
cachelib/interface/tests/InterfaceTest.cpp:109
↓ 13 callers
Method
isCombinedEntry
cachelib/navy/block_cache/Index.h:280
↓ 13 callers
Method
numFreeAllocs
cachelib/allocator/memory/MemoryAllocatorStats.h:110
↓ 13 callers
Method
openForRead
cachelib/navy/block_cache/Region.cpp:68
↓ 13 callers
Function
powTwoAlign
cachelib/navy/common/Utils.h:50
↓ 13 callers
Method
recover
cachelib/object_cache/ObjectCache.h:1217
↓ 13 callers
Method
reset
cachelib/cachebench/workload/PieceWiseCache.h:80
↓ 13 callers
Method
saveCache
cachelib/persistence/PersistenceManager.cpp:74
↓ 13 callers
Method
tryAcquireToken
cachelib/allocator/nvmcache/InFlightPuts.h:50
↓ 13 callers
Method
withWlock
cachelib/interface/utils/ShardedSerializer.h:150
↓ 12 callers
Method
addIndexEntry
cachelib/navy/block_cache/CombinedEntryBlock.cpp:23
↓ 12 callers
Method
beginLockGroup
cachelib/allocator/ChainedHashTable.h:1635
↓ 12 callers
Method
computeChecksum
cachelib/navy/block_cache/BlockCache.h:313
← previous
next →
301–400 of 5,467, ranked by callers