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
↓ 3 callers
Function
isInMMContainer
cachelib/allocator/Refcount.h:247
↓ 3 callers
Method
isNullReadHandle
cachelib/datatype/MapView.h:191
↓ 3 callers
Method
isNvmLargeItem
cachelib/allocator/CacheItem.h:908
↓ 3 callers
Method
isPieceWithinBound
cachelib/common/piecewise/GenericPieces.h:87
↓ 3 callers
Function
isRange
cachelib/navy/testing/tests/BufferGenTest.cpp:26
↓ 3 callers
Method
isSlabAsanPoisoningEnabled
@return whether slab ASAN poisoning is enabled
cachelib/allocator/CacheAllocatorConfig.h:395
↓ 3 callers
Function
isSmallKeyNoAsan
cachelib/allocator/KAllocation.h:186
↓ 3 callers
Method
isValid
Override this function to indicate success/failure of the sync obj, if user-supplied SyncObj can fail. e.g. if a lock can timeout.
cachelib/allocator/CacheAllocator.h:387
↓ 3 callers
Method
last
cachelib/cachebench/consistency/RingBuffer.h:83
↓ 3 callers
Method
lookup
cachelib/common/ApproxSplitSet.h:79
↓ 3 callers
Function
main
cachelib/benchmarks/MutexBench.cpp:415
↓ 3 callers
Method
markAccessible
cachelib/allocator/CacheItem.h:803
↓ 3 callers
Method
markDirty
* Mark as dirty; on destruction we'll call into the cache to do the write. */
cachelib/interface/Handle.h:136
↓ 3 callers
Method
markHasChainedItem
cachelib/allocator/CacheItem.h:925
↓ 3 callers
Method
markIsChainedItem
cachelib/allocator/CacheItem.h:913
↓ 3 callers
Method
markNvmEvicted
cachelib/allocator/CacheItem.h:888
↓ 3 callers
Method
markNvmItemRemovedLocked
cachelib/allocator/nvmcache/NvmCache.h:1745
↓ 3 callers
Function
mockRegionsEvicted
Expect regions specified to be evicted exactly once and in order
cachelib/navy/block_cache/tests/TestHelpers.h:137
↓ 3 callers
Method
nsId
NVMe Namespace ID
cachelib/navy/common/FdpNvme.h:107
↓ 3 callers
Function
numSlabs
cachelib/allocator/memory/SlabAllocator.cpp:330
↓ 3 callers
Method
objectSize
cachelib/cachebench/runner/ObjectCacheStressor.h:65
↓ 3 callers
Method
onReady
Set the onReady callback which should be invoked once the item is ready. If the item is ready, the callback is returned back to the user for execution
cachelib/allocator/Handle.h:458
↓ 3 callers
Method
pause
cachelib/common/Time.h:109
↓ 3 callers
Method
persist
cachelib/navy/bighash/BigHash.cpp:229
↓ 3 callers
Method
persist
cachelib/experimental/deprecated_objcache/ObjectCache.h:475
↓ 3 callers
Function
poolId
@return pool id where the original cache item was stored
cachelib/allocator/nvmcache/NvmItem.h:99
↓ 3 callers
Method
processAllocForRelease
cachelib/allocator/memory/MemoryAllocator.cpp:207
↓ 3 callers
Method
projectedDeltaHitsPerSlab
return the delta of hits per slab for this alloc class from the current state after removing one slab @param poolStats the current pool stats for t
cachelib/allocator/RebalanceInfo.h:133
↓ 3 callers
Method
record
cachelib/common/tests/EventInterfaceTest.h:62
↓ 3 callers
Method
recordLoopTime
record the count and the time taken
cachelib/allocator/PoolRebalancer.h:61
↓ 3 callers
Method
recover
cachelib/experimental/deprecated_objcache/ObjectCache.h:483
↓ 3 callers
Method
release
Waits for item (if async op in progress) and then releases item's ownership to the caller.
cachelib/allocator/Handle.h:89
↓ 3 callers
Method
remaining
(&self)
cachelib/rust/src/lrucache.rs:654
↓ 3 callers
Method
remove
cachelib/navy/engine/NoopEngine.h:43
↓ 3 callers
Method
remove
cachelib/benchmarks/MutexBench.cpp:222
↓ 3 callers
Method
removeAsync
cachelib/navy/driver/Driver.cpp:235
↓ 3 callers
Method
removeIndexEntryFromStream
Remove a index entry for the given key from the active combined entry block(s) for the stream. When there are multiple CEBs open for the stream, it wi
cachelib/navy/block_cache/CombinedEntryManager.cpp:178
↓ 3 callers
Method
removeRecord
cachelib/navy/block_cache/FixedSizeIndex.h:782
↓ 3 callers
Method
rend
cachelib/allocator/datastruct/MultiDList.h:280
↓ 3 callers
Method
renderWorkloadGeneratorStats
ouputs workload generator specific stats to either an output stream or to an output counter map
cachelib/cachebench/runner/Stressor.h:84
↓ 3 callers
Method
replaceIfAccessible
cachelib/allocator/CacheAllocator.h:3336
↓ 3 callers
Method
reset
cachelib/navy/block_cache/BlockCache.cpp:1457
↓ 3 callers
Method
resize
cachelib/allocator/CCacheAllocator.cpp:52
↓ 3 callers
Method
rlock
* Acquire a read (shared) lock on the mutex associated with a key. The * returned ReadLock automatically releases the lock when destroyed. *
cachelib/interface/utils/ShardedSerializer.h:106
↓ 3 callers
Method
sampleKey
cachelib/common/EventTracker.h:117
↓ 3 callers
Method
sampleOpDist
cachelib/cachebench/workload/WorkloadDistribution.h:80
↓ 3 callers
Method
saveBuffers
saves the buf arguments in write function to a vector */
cachelib/persistence/tests/PersistenceManagerMock.h:142
↓ 3 callers
Method
setBadDeviceForTesting
Set up a bad device backed by the existing device that user has configured. This requires the user to have also set up a real device (one of the above
cachelib/allocator/nvmcache/NavyConfig.h:957
↓ 3 callers
Method
setBreakOut
cachelib/experimental/deprecated_objcache/Persistence.h:227
↓ 3 callers
Method
setDevice
cachelib/navy/Factory.cpp:289
↓ 3 callers
Method
setHeaderRow
cachelib/cachebench/workload/ReplayGeneratorBase.h:205
↓ 3 callers
Method
setMaxConcurrentInserts
============ Other settings =============
cachelib/allocator/nvmcache/NavyConfig.h:1045
↓ 3 callers
Method
setMaxParcelMemoryMB
cachelib/allocator/nvmcache/NavyConfig.h:1048
↓ 3 callers
Method
setMemoryFile
Set the parameter for a in-memory file. This function is only for cachebench and unit tests to create a MemoryDevice when no file path is set.
cachelib/allocator/nvmcache/NavyConfig.h:948
↓ 3 callers
Method
setNext
cachelib/allocator/datastruct/DList.h:131
↓ 3 callers
Method
setStringItem
cachelib/cachebench/cache/Cache.h:1403
↓ 3 callers
Method
setThrow
cachelib/experimental/deprecated_objcache/tests/Common.h:89
↓ 3 callers
Method
setWindowSize
Update window size @param windowSize The window size in terms of the number of values to track for rate limiting
cachelib/allocator/MemoryMonitor.h:47
↓ 3 callers
Function
shmCtlImpl
cachelib/shm/SysVShmSegment.cpp:143
↓ 3 callers
Function
shmGetImpl
cachelib/shm/SysVShmSegment.cpp:38
↓ 3 callers
Method
size
cachelib/compact_cache/CCacheFixedLruBucket.h:102
↓ 3 callers
Function
spinWait
cachelib/navy/scheduler/tests/ThreadPoolJobSchedulerTest.cpp:26
↓ 3 callers
Method
startHoldOff
initializes the hold off.
cachelib/allocator/RebalanceInfo.h:159
↓ 3 callers
Function
startPeriodicWorker
cachelib/common/PeriodicWorker.h:180
↓ 3 callers
Method
testFragmentationSize
Ensure we have fragmentation stats accurate
cachelib/allocator/tests/BaseAllocatorTest.h:3653
↓ 3 callers
Method
testLruLength
cachelib/allocator/tests/TestBase.h:257
↓ 3 callers
Method
testMoveItem
Try moving a single item from one slab to another
cachelib/allocator/tests/BaseAllocatorTest.h:3825
↓ 3 callers
Method
testMoveItemRetryWithRefCount
Try moving a single item from one slab to another while a separate thread has a ref count to the slab to be released for some time. This tests the ret
cachelib/allocator/tests/BaseAllocatorTest.h:3842
↓ 3 callers
Method
testStats
cachelib/allocator/tests/BaseAllocatorTest.h:77
↓ 3 callers
Function
toHeaderName
Convert EventInfoField to header name string using magic_enum
cachelib/common/EventSink.h:54
↓ 3 callers
Method
totalSize
cachelib/allocator/nvmcache/NvmItem.cpp:103
↓ 3 callers
Method
trackingWindowDurationSecs
cachelib/common/ApproxSplitSet.h:221
↓ 3 callers
Method
try_wait
cachelib/common/CountDownLatch.cpp:58
↓ 3 callers
Method
updateHits
cachelib/allocator/RebalanceInfo.h:161
↓ 3 callers
Method
updateItemVersion
cachelib/cachebench/cache/ItemRecords.h:147
↓ 3 callers
Method
usesDiscreteTtl
cachelib/cachebench/util/Config.h:117
↓ 3 callers
Function
validate
cachelib/cachebench/cache/components/RAMComponent.cpp:25
↓ 3 callers
Method
viewAsWritableChainedAllocs
view a writable parent item as a chain of allocations if it has chained alloc. The returned chained-alloc is good to iterate upon, but will block any
cachelib/allocator/CacheAllocator.h:775
↓ 3 callers
Method
viewMetadata
Return a read-only view of metdata. Useful for tests and debugging.
cachelib/experimental/deprecated_objcache/Allocator.h:271
↓ 3 callers
Method
waitFor
cachelib/navy/testing/SeqPoints.cpp:57
↓ 3 callers
Function
wakeupBatonSet
cachelib/common/inject_pause.cpp:48
↓ 3 callers
Function
wastedBytes
cachelib/datatype/Buffer.h:77
↓ 3 callers
Method
wentToNvm
Return true if this item has a wait context which means it has missed in DRAM and went to nvm cache.
cachelib/allocator/Handle.h:220
↓ 3 callers
Method
withEvictionIterator
cachelib/allocator/MM2Q.h:914
↓ 2 callers
Function
CompressedPtrType
cachelib/benchmarks/SListBench.cpp:36
↓ 2 callers
Function
NewRocksCachelibWrapper
Global cache object and a default cache pool
cachelib/adaptor/rocks_secondary_cache/CachelibWrapper.cpp:253
↓ 2 callers
Method
Wait
cachelib/adaptor/rocks_secondary_cache/CachelibWrapper.cpp:69
↓ 2 callers
Method
WaitAll
cachelib/adaptor/rocks_secondary_cache/CachelibWrapper.cpp:225
↓ 2 callers
Method
abort
cachelib/cachebench/runner/Runner.h:59
↓ 2 callers
Method
acquire
cachelib/allocator/tests/ItemHandleTest.cpp:60
↓ 2 callers
Method
addHole
cachelib/navy/block_cache/BlockCache.cpp:1621
↓ 2 callers
Method
addItemRecord
cachelib/cachebench/cache/ItemRecords.h:120
↓ 2 callers
Method
addWaiter
addWaiter adds a waiter to the wait list with the waitList lock held, such that the actual wait can be made asynchronously with the baton
cachelib/common/ConditionVariable.h:55
↓ 2 callers
Method
allocatePlacementHandle
cachelib/navy/common/Device.cpp:1137
↓ 2 callers
Function
areBytesSame
cachelib/allocator/MMLru.h:507
↓ 2 callers
Method
asanUnpoisonMemoryRegion
cachelib/allocator/memory/SlabAllocator.h:357
↓ 2 callers
Method
atEnd
cachelib/navy/block_cache/SparseMapIndex.cpp:57
↓ 2 callers
Method
autoResizeEnabledForPool
cachelib/allocator/CacheAllocator.h:6163
↓ 2 callers
Method
begin
Iterator interface for the cache. It guarantees that all keys that were present when the iteration started will be accessible unless they are removed.
cachelib/allocator/CacheAllocator.h:665
↓ 2 callers
Method
begin
cachelib/datatype/RangeMap.h:655
← previous
next →
1,101–1,200 of 5,467, ranked by callers