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
↓ 2 callers
Method
onShutdown
cachelib/interface/components/tests/CacheComponentFactory.cpp:98
↓ 2 callers
Method
poolRebalancingEnabled
@return whether pool rebalancing is enabled
cachelib/allocator/CacheAllocatorConfig.h:441
↓ 2 callers
Method
poolStatePresent
Returns true if the state was already initialized and set up. False if we state was not present.
cachelib/allocator/RebalanceStrategy.h:166
↓ 2 callers
Method
position
return the index of this allocation in the BucketStorage
cachelib/navy/bighash/BucketStorage.h:50
↓ 2 callers
Method
prepReadUringCmdSqe
cachelib/navy/common/FdpNvme.cpp:177
↓ 2 callers
Method
prepWriteUringCmdSqe
cachelib/navy/common/FdpNvme.cpp:185
↓ 2 callers
Function
printExceptionStackTraces
cachelib/common/Utils.cpp:444
↓ 2 callers
Function
printExtraOpCounters
cachelib/interface/Stats.cpp:94
↓ 2 callers
Function
printRate
cachelib/interface/Stats.cpp:41
↓ 2 callers
Method
provisionPoolWithPowerLaw
cachelib/allocator/CacheAllocator.h:4992
↓ 2 callers
Method
readFromBuffer
cachelib/navy/block_cache/Region.cpp:185
↓ 2 callers
Method
reclaimSlabsAndGrow
cachelib/allocator/memory/MemoryPool.cpp:461
↓ 2 callers
Method
recordAccess
TODO(sathya) clean up this api by making this part of the find api implementation.
cachelib/cachebench/cache/Cache.h:353
↓ 2 callers
Method
recordRequestHit
cachelib/cachebench/workload/BlockChunkCache.cpp:94
↓ 2 callers
Method
recordWithoutSampling
cachelib/common/EventTracker.cpp:78
↓ 2 callers
Method
recover
cachelib/navy/block_cache/BlockCache.cpp:1572
↓ 2 callers
Method
releaseRealDevice
Detaches the real device from the mock object
cachelib/navy/testing/MockDevice.h:61
↓ 2 callers
Method
releaseSlab
cachelib/allocator/CacheAllocator.h:5258
↓ 2 callers
Method
remove
cachelib/navy/driver/Driver.cpp:231
↓ 2 callers
Method
remove
Remove the value for a key. Returns true is successful
cachelib/rust/src/lrucache.rs:1023
↓ 2 callers
Method
remove
cachelib/datatype/RangeMap.h:386
↓ 2 callers
Method
removeFromBucket
cachelib/allocator/ChainedHashTable.h:944
↓ 2 callers
Method
removeFromNvmForTesting
cachelib/allocator/nvmcache/tests/NvmTestBase.h:95
↓ 2 callers
Method
removeUntil
cachelib/navy/bighash/BucketStorage.cpp:84
↓ 2 callers
Method
renderWindowStats
cachelib/cachebench/workload/PieceWiseCache.cpp:256
↓ 2 callers
Method
replace
cachelib/allocator/MM2Q.h:992
↓ 2 callers
Method
replaceInMMContainer
cachelib/allocator/CacheAllocator.h:3715
↓ 2 callers
Method
reset
Clear the buffer
cachelib/navy/common/Buffer.h:204
↓ 2 callers
Method
reset
cachelib/common/ApproxSplitSet.h:107
↓ 2 callers
Function
resetTestRun
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:1224
↓ 2 callers
Method
resize
cachelib/compact_cache/allocators/TestAllocator.h:50
↓ 2 callers
Method
resizeCompactCache
Resize the compact cache to its new, desired size
cachelib/compact_cache/allocators/CCacheAllocatorBase.h:121
↓ 2 callers
Method
resizeCompactCaches
cachelib/allocator/CacheAllocator.h:5773
↓ 2 callers
Function
roundDownToSlabSize
cachelib/allocator/memory/SlabAllocator.cpp:42
↓ 2 callers
Method
run
cachelib/object_cache/persistence/Persistence.h:224
↓ 2 callers
Method
run
cachelib/experimental/deprecated_objcache/Persistence.h:280
↓ 2 callers
Function
runAllocateOps
cachelib/benchmarks/EventTrackerPerf.cpp:91
↓ 2 callers
Function
runDifferentHTSizes
cachelib/benchmarks/CacheAllocatorOpsMicroBench.cpp:76
↓ 2 callers
Function
runFindMultiThreads
cachelib/benchmarks/CacheAllocatorOpsMicroBench.cpp:121
↓ 2 callers
Function
runFindOps
cachelib/benchmarks/EventTrackerPerf.cpp:53
↓ 2 callers
Function
runInThreads
cachelib/allocator/nvmcache/tests/TombStoneTests.cpp:31
↓ 2 callers
Function
runNvmeCmd
cachelib/cachebench/util/NandWrites.cpp:72
↓ 2 callers
Function
safeInc
increase val if no overflow, otherwise do nothing
cachelib/navy/block_cache/SparseMapIndex.cpp:29
↓ 2 callers
Method
sampleChainedLenDist
cachelib/cachebench/workload/WorkloadDistribution.h:95
↓ 2 callers
Method
sampleChainedValDist
cachelib/cachebench/workload/WorkloadDistribution.h:91
↓ 2 callers
Method
sampleKeySizeDist
cachelib/cachebench/workload/WorkloadDistribution.h:99
↓ 2 callers
Method
sampleValDist
cachelib/cachebench/workload/WorkloadDistribution.h:82
↓ 2 callers
Method
secondsSinceTracking
cachelib/navy/block_cache/FifoPolicy.h:36
↓ 2 callers
Function
serializeToJson
cachelib/common/Serialization.h:204
↓ 2 callers
Method
setDeviceMaxWriteSize
cachelib/allocator/nvmcache/NavyConfig.h:965
↓ 2 callers
Method
setEnableAccessTimeMap
cachelib/allocator/nvmcache/NavyConfig.h:1055
↓ 2 callers
Method
setFailIncRef
cachelib/interface/tests/InterfaceTest.cpp:48
↓ 2 callers
Method
setFetchIndex
cachelib/common/piecewise/GenericPieces.h:76
↓ 2 callers
Function
setFlag
cachelib/allocator/Refcount.h:470
↓ 2 callers
Method
setHashNext
sets the next in the hash chain to the passed in value.
cachelib/allocator/ChainedHashTable.h:211
↓ 2 callers
Method
setHitsTestOnly
cachelib/navy/block_cache/FixedSizeIndex.cpp:346
↓ 2 callers
Method
setLayout
cachelib/navy/Factory.cpp:170
↓ 2 callers
Method
setLegacyEventTracker
cachelib/navy/Factory.cpp:148
↓ 2 callers
Method
setLock
cachelib/interface/components/FlashCacheComponent.cpp:735
↓ 2 callers
Method
setMaxKeySize
Configure the max key size for Navy
cachelib/allocator/nvmcache/NavyConfig.h:970
↓ 2 callers
Function
setMempolicyImpl
cachelib/shm/PosixShmSegment.cpp:187
↓ 2 callers
Method
setNextLine
cachelib/cachebench/workload/ReplayGeneratorBase.h:173
↓ 2 callers
Method
setNvmCacheWarmedUp
Notify the workload generator that the nvm cache has already warmed up.
cachelib/cachebench/workload/GeneratorBase.h:50
↓ 2 callers
Method
setPersistParams
cachelib/navy/Factory.cpp:293
↓ 2 callers
Method
setReceiver
cachelib/allocator/memory/Slab.h:358
↓ 2 callers
Method
setTTASecs
cachelib/allocator/Handle.h:487
↓ 2 callers
Method
setUint64ToItem
cachelib/cachebench/cache/Cache.h:1395
↓ 2 callers
Method
setUpdateTime
cachelib/benchmarks/MutexBench.cpp:164
↓ 2 callers
Method
setWriteHandle
record the item handle. Upon destruction we will wake up the waiters and pass a clone of the handle to the callBack. By default we pass a null handle
cachelib/allocator/nvmcache/NvmCache.h:460
↓ 2 callers
Method
set_or_replace
Insert a key->value mapping into the pool. Returns true if the insertion was successful, false otherwise. This will overwrite existing data, and sets
cachelib/rust/src/lrucache.rs:972
↓ 2 callers
Function
setupResetTestDevice
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:1216
↓ 2 callers
Method
shardId
sharding is based on each mutex boundary
cachelib/navy/block_cache/FixedSizeIndex.h:613
↓ 2 callers
Function
shmAttachImpl
cachelib/shm/SysVShmSegment.cpp:98
↓ 2 callers
Function
shmDtImpl
cachelib/shm/SysVShmSegment.cpp:127
↓ 2 callers
Function
shmOpenImpl
cachelib/shm/PosixShmSegment.cpp:40
↓ 2 callers
Method
shouldStartFresh
cachelib/allocator/NvmCacheState.cpp:139
↓ 2 callers
Method
shutDown
cachelib/allocator/CacheAllocator.h:5867
↓ 2 callers
Method
slabsDistribution
cachelib/allocator/CacheStats.cpp:454
↓ 2 callers
Function
spinIfNeeded
cachelib/benchmarks/BucketMutexBench.cpp:144
↓ 2 callers
Method
startNewReaper
cachelib/allocator/CacheAllocator.h:6280
↓ 2 callers
Method
startOrResume
cachelib/common/Time.h:95
↓ 2 callers
Method
stopWorkers
cachelib/allocator/CacheAllocator.h:5855
↓ 2 callers
Function
strict_aliasing_safe_read32
To force the compiler to NOT optimize away the store/load when user supplies void* and we need to read it in 32bit chunks. The compiler should be able
cachelib/common/Utils.h:439
↓ 2 callers
Function
strict_aliasing_safe_read64
To force the compiler to NOT optimize away the store/load when user supplies void* and we need to read it in 64bit chunks. The compiler should be able
cachelib/common/Utils.h:448
↓ 2 callers
Method
sub_fetch
cachelib/common/AtomicCounter.h:85
↓ 2 callers
Method
submitReq
cachelib/navy/scheduler/NavyRequestDispatcher.cpp:126
↓ 2 callers
Method
tableRehash
cachelib/compact_cache/CCache.h:694
↓ 2 callers
Function
testAddSubIncDecBasic
cachelib/common/tests/CounterTests.cpp:26
↓ 2 callers
Function
testAddSubIncDecMT
cachelib/common/tests/CounterTests.cpp:62
↓ 2 callers
Function
testAllAlignment
cachelib/common/tests/BytesEqualTest.cpp:51
↓ 2 callers
Function
testCouldExistWithOneEngine
test that the behavior of could exist works as expected when one of the engine is a no-op engine.
cachelib/navy/driver/tests/DriverTest.cpp:209
↓ 2 callers
Method
testDefault
cachelib/common/tests/CountMinSketchTest.cpp:124
↓ 2 callers
Function
testHotHashes
cachelib/common/hothash/HotHashDetectorTest.cpp:27
↓ 2 callers
Method
testMMReconfigure
cachelib/allocator/tests/BaseAllocatorTest.h:5898
↓ 2 callers
Function
testPersistRecoveryWithParams
cachelib/common/tests/BloomFilterTest.cpp:288
↓ 2 callers
Method
testReaperShutDown
cachelib/allocator/tests/BaseAllocatorTest.h:1312
↓ 2 callers
Function
throwIfKeyInvalid
Throw readable exception if the key is invalid.
cachelib/allocator/KAllocation.h:217
↓ 2 callers
Method
toString
* IOOp */
cachelib/navy/common/Device.cpp:600
↓ 2 callers
Function
toStringPiece
cachelib/navy/common/Buffer.h:266
↓ 2 callers
Method
toView
cachelib/datatype/Map.h:763
← previous
next →
1,401–1,500 of 5,467, ranked by callers