Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/CacheLib
/ functions
Functions
5,467 in github.com/facebook/CacheLib
⨍
Functions
5,467
◇
Types & classes
1,077
↓ 9 callers
Method
getEvictionAge
the current oldest item in the container in seconds.
cachelib/allocator/CacheStats.h:138
↓ 9 callers
Method
getIOAlignmentSize
Returns the alignment size for device io operations
cachelib/navy/common/Device.h:185
↓ 9 callers
Function
getIteratorEntry
cachelib/navy/bighash/Bucket.cpp:29
↓ 9 callers
Method
getKey
cachelib/cachebench/util/Request.h:91
↓ 9 callers
Function
getMemAvailable
cachelib/common/Utils.cpp:408
↓ 9 callers
Function
getMemory
Usable memory for this allocation. The caller is free to do whatever he wants with it and needs to ensure concurrency for access into this piece of me
cachelib/allocator/CacheItem.h:1022
↓ 9 callers
Function
getPageSize
cachelib/common/Utils.cpp:218
↓ 9 callers
Method
getReaperStats
returns the reaper stats
cachelib/allocator/CacheAllocator.h:1242
↓ 9 callers
Method
getSlabForMemory
returns the slab in which the memory resides, irrespective of the validity of the memory. The caller can use isValidSlab to check if the returned slab
cachelib/allocator/memory/SlabAllocator.h:222
↓ 9 callers
Method
getTotalSize
Return the byte size of all pieces
cachelib/common/piecewise/GenericPieces.h:92
↓ 9 callers
Method
isActive
cachelib/shm/Shm.h:148
↓ 9 callers
Method
isAllocFreed
cachelib/allocator/memory/MemoryAllocator.cpp:194
↓ 9 callers
Method
isNvmCacheEnabled
Whether NvmCache is currently enabled
cachelib/allocator/CacheAllocator.h:1333
↓ 9 callers
Function
makeFindByKey
Helper to create a FindByKeyFn for tests.
cachelib/allocator/tests/ChainedHashTest.cpp:291
↓ 9 callers
Method
markInMMContainer
cachelib/allocator/tests/MMTypeTest.h:89
↓ 9 callers
Method
numFilters
number of unique filters
cachelib/common/BloomFilter.h:95
↓ 9 callers
Method
onWorkerThread
cachelib/interface/utils/CoroFiberAdapter.h:89
↓ 9 callers
Method
pickVictimAndReceiver
cachelib/allocator/RebalanceStrategy.cpp:273
↓ 9 callers
Method
popChainedItem
cachelib/allocator/CacheAllocator.h:3229
↓ 9 callers
Function
printOpCounters
cachelib/interface/Stats.cpp:84
↓ 9 callers
Method
release
cachelib/allocator/CacheAllocator.h:3688
↓ 9 callers
Function
setNext
cachelib/allocator/datastruct/DList.h:38
↓ 9 callers
Function
setPrev
cachelib/allocator/datastruct/DList.h:44
↓ 9 callers
Function
size
cachelib/navy/bighash/Bucket.h:86
↓ 9 callers
Method
size
return the hashtable size in bytes
cachelib/allocator/ChainedHashTable.h:164
↓ 9 callers
Method
size
Return the number of elements in the array
cachelib/datatype/FixedSizeArray.h:230
↓ 9 callers
Method
trimStart
Adjust the data start offset forwards to include less valid data This moves the data pointer forwards so that the first amount bytes are no longer con
cachelib/navy/common/Buffer.h:191
↓ 8 callers
Function
BENCHMARK
cachelib/benchmarks/MutexBench.cpp:386
↓ 8 callers
Function
BENCHMARK_RELATIVE
cachelib/benchmarks/MutexBench.cpp:390
↓ 8 callers
Method
addExtraConfig
adding extra config after generating the config: tailSize
cachelib/allocator/MM2Q.h:308
↓ 8 callers
Method
allocSizeForClass
alloc size corresponding to the class id
cachelib/allocator/CacheStats.h:218
↓ 8 callers
Method
begin
Get an iterator to iterate over all items in object-cache. The returned iterator provides getMemory() for safe aligned access to the ObjectCacheItem
cachelib/object_cache/ObjectCache.h:404
↓ 8 callers
Function
checkConfig
helper function.
cachelib/allocator/memory/MemoryAllocator.cpp:30
↓ 8 callers
Method
compress
cachelib/allocator/memory/CompressedPtr.h:361
↓ 8 callers
Method
copyTo
@param dst Destination buffer into which to copy data from this view
cachelib/navy/common/Buffer.h:72
↓ 8 callers
Function
createMetadataRecordWriter
cachelib/navy/serialization/RecordIO.cpp:278
↓ 8 callers
Method
end
cachelib/datatype/RangeMap.h:661
↓ 8 callers
Method
expand
cachelib/datatype/Buffer.h:535
↓ 8 callers
Method
findToWrite
cachelib/interface/tests/InterfaceTest.cpp:147
↓ 8 callers
Method
finish
cachelib/navy/scheduler/ThreadPoolJobQueue.cpp:149
↓ 8 callers
Method
foo
cachelib/experimental/deprecated_objcache/tests/ObjectCacheTest.cpp:302
↓ 8 callers
Method
freeSlab
cachelib/allocator/memory/SlabAllocator.cpp:420
↓ 8 callers
Function
furcHash
furcHash -- a consistent hash function using a binary decision tree. Based on an algorithm by Mark Rabkin with two changes: 1) Uses murmurHash64A to h
cachelib/common/FurcHash.cpp:166
↓ 8 callers
Method
getFileSize
cachelib/allocator/nvmcache/NavyConfig.h:869
↓ 8 callers
Method
getNumBucketsPerMutex
cachelib/allocator/nvmcache/NavyConfig.h:294
↓ 8 callers
Method
getObjectSize
cachelib/object_cache/ObjectCache.h:564
↓ 8 callers
Method
getPoolStats
cachelib/allocator/CacheAllocator.h:5177
↓ 8 callers
Method
getSlab
@return pointer to slab marked for release
cachelib/allocator/memory/Slab.h:331
↓ 8 callers
Method
increment
cachelib/common/tests/IteratorsTests.cpp:28
↓ 8 callers
Function
isEqual
cachelib/datatype/FixedSizeArray.h:139
↓ 8 callers
Function
isExpired
FOLLY_EXPORT ensures the dynamic linker dedups the function so there's not a copy of thread local variables per inline instance of this function
cachelib/common/Time.h:56
↓ 8 callers
Method
isExpired
cachelib/allocator/nvmcache/NvmItem.cpp:121
↓ 8 callers
Method
isKeyValid
cachelib/allocator/CacheAllocator.h:4706
↓ 8 callers
Function
isPageAlignedAddr
cachelib/common/Utils.cpp:229
↓ 8 callers
Method
isValid
cachelib/navy/block_cache/Index.h:278
↓ 8 callers
Method
isValidRecord
cachelib/navy/block_cache/FixedSizeIndex.h:849
↓ 8 callers
Method
lookupLowerbound
cachelib/datatype/RangeMap.h:350
↓ 8 callers
Method
markForRemoval
marks the shared memory resource to be detached once all the mappings are unmapped.
cachelib/shm/Shm.h:141
↓ 8 callers
Method
markInMMContainer
cachelib/allocator/CacheItem.h:813
↓ 8 callers
Method
move
cachelib/interface/tests/InterfaceTest.cpp:70
↓ 8 callers
Method
moveToHead
cachelib/allocator/datastruct/DList.h:388
↓ 8 callers
Method
numKeysTracked
cachelib/common/ApproxSplitSet.h:214
↓ 8 callers
Method
numPools
return the number of pools the cache was configured with.
cachelib/cachebench/cache/Cache.h:344
↓ 8 callers
Method
parseRequest
cachelib/cachebench/workload/KVReplayGenerator.h:298
↓ 8 callers
Method
read
cachelib/cachebench/consistency/RingBuffer.h:53
↓ 8 callers
Method
releaseItemHandle
Moves ownership into a regular item handle.
cachelib/experimental/deprecated_objcache/ObjectCache.h:109
↓ 8 callers
Method
remove
cachelib/allocator/MMWTinyLFU.h:1053
↓ 8 callers
Method
remove
cachelib/allocator/MM2Q.h:969
↓ 8 callers
Function
removeSegByName
cachelib/shm/ShmManager.cpp:208
↓ 8 callers
Method
replaceChainedItem
cachelib/allocator/CacheAllocator.h:3366
↓ 8 callers
Method
throwIfKeyInvalid
cachelib/allocator/CacheAllocator.h:4712
↓ 8 callers
Method
toMap
Return an unordered map.
cachelib/common/Utils.h:151
↓ 8 callers
Function
toMicros
cachelib/navy/common/Utils.h:41
↓ 8 callers
Method
toWriteHandle
cachelib/allocator/Handle.h:203
↓ 8 callers
Method
type
cachelib/allocator/nvmcache/ReqContexts.h:50
↓ 8 callers
Method
unMap
cachelib/shm/SysVShmSegment.cpp:289
↓ 8 callers
Method
unmarkInMMContainer
cachelib/allocator/CacheItem.h:818
↓ 8 callers
Method
updateExpiryTime
cachelib/allocator/CacheItem.h:977
↓ 8 callers
Method
updateFetchIndex
cachelib/common/piecewise/GenericPieces.h:67
↓ 8 callers
Method
warmRoll
cachelib/allocator/nvmcache/tests/NvmTestBase.cpp:84
↓ 8 callers
Method
withRlock
cachelib/interface/utils/ShardedSerializer.h:132
↓ 8 callers
Method
writeRecord
cachelib/navy/serialization/RecordIO.cpp:34
↓ 7 callers
Function
atomicUpdateValue
cachelib/common/Utils.h:406
↓ 7 callers
Method
bucketId
Current bit mapping from the hash (64bits) to the bucket id and others bit 0 ~ 31 : Reserved for bucket offset within chunk bit 32 ~ : Used for chunk
cachelib/navy/block_cache/FixedSizeIndex.h:593
↓ 7 callers
Method
clearPrevState
cachelib/allocator/NvmCacheState.cpp:149
↓ 7 callers
Method
clone
Clones Item handle. returns an empty handle if it is null. @return HandleImpl return a handle to this item @throw std::overflow_error is the maximum
cachelib/allocator/Handle.h:251
↓ 7 callers
Method
compress
cachelib/allocator/datastruct/tests/SListTest.cpp:44
↓ 7 callers
Method
couldExist
cachelib/navy/driver/Driver.cpp:103
↓ 7 callers
Method
couldExist
cachelib/navy/bighash/BigHash.cpp:380
↓ 7 callers
Function
createFileDevice
cachelib/navy/common/Device.cpp:1323
↓ 7 callers
Method
evict
Returns true if key found and can be actually evicted in the real world
cachelib/navy/driver/tests/DriverTest.cpp:150
↓ 7 callers
Function
fdiv
Convenient function to divide integers as floats. Much better than static_cast<double>(a) / (a + b), just fdiv(a, a + b).
cachelib/navy/common/CompilerUtils.h:45
↓ 7 callers
Method
freeMemoryBytes
cachelib/allocator/CacheStats.cpp:360
↓ 7 callers
Function
generateAllocSizesPowerOf2
Helper function to generate allocation sizes as powers of 2. This provides a simple, uniform distribution of allocation sizes where each size is doubl
cachelib/allocator/Util.h:203
↓ 7 callers
Method
get
cachelib/experimental/deprecated_objcache/ObjectCache.h:100
↓ 7 callers
Method
getByteSize
overall byte footprint of the array of filters.
cachelib/common/BloomFilter.h:104
↓ 7 callers
Method
getCacheStats
cachelib/cachebench/runner/CacheComponentStressor.cpp:64
↓ 7 callers
Method
getCurPos
cachelib/navy/serialization/RecordIO.cpp:38
↓ 7 callers
Function
getFragmentation
cachelib/allocator/Util.h:166
↓ 7 callers
Method
getIoEngine
cachelib/allocator/nvmcache/NavyConfig.h:872
← previous
next →
501–600 of 5,467, ranked by callers