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
↓ 4 callers
Method
getProbFactorUpperBound
cachelib/allocator/nvmcache/NavyConfig.h:135
↓ 4 callers
Method
getRegularPoolIds
cachelib/allocator/CacheAllocator.h:5137
↓ 4 callers
Method
getRegularPoolIds
returns a list of pools excluding compact cache pools
cachelib/object_cache/ObjectCacheBase.h:137
↓ 4 callers
Method
getSize
cachelib/navy/engine/NoopEngine.h:27
↓ 4 callers
Method
getThrottleParams
cachelib/navy/admission_policy/DynamicRandomAP.cpp:270
↓ 4 callers
Method
getTotalSpooled
returns the total number of jobs that were spooled (pending) due to ordering.
cachelib/navy/scheduler/ThreadPoolJobScheduler.h:159
↓ 4 callers
Method
getTruncateFile
cachelib/allocator/nvmcache/NavyConfig.h:870
↓ 4 callers
Method
getType
Return the type of the job
cachelib/navy/scheduler/NavyRequestDispatcher.h:48
↓ 4 callers
Method
getWriteStats
cachelib/navy/admission_policy/DynamicRandomAP.cpp:274
↓ 4 callers
Method
get_handle
Fetch a read handle for a key. Returns None if the key could not be found in the pool, Some(handle) if the key was found in the pool Note that the ha
cachelib/rust/src/lrucache.rs:985
↓ 4 callers
Method
get_writer
Get this item as a writeable streaming buffer
cachelib/rust/src/lrucache.rs:603
↓ 4 callers
Function
highPrecisionSleep
cachelib/cachebench/util/Sleep.cpp:70
↓ 4 callers
Method
increment
advance the iterator. Do nothing if uninitizliaed.
cachelib/allocator/CacheChainedItemIterator.h:56
↓ 4 callers
Method
insert
cachelib/cachebench/cache/Cache.h:933
↓ 4 callers
Method
isAsanPoisoningEnabled
cachelib/allocator/memory/SlabAllocator.h:340
↓ 4 callers
Method
isExpired
cachelib/allocator/CacheItem.h:717
↓ 4 callers
Function
isItemLarge
Returns true if an item with the given key and value sizes would be routed to BlockCache (large item engine) rather than BigHash. When smallItemMaxSiz
cachelib/navy/common/Types.h:114
↓ 4 callers
Function
isMarkedForEviction
cachelib/allocator/Refcount.h:334
↓ 4 callers
Method
isNvmCacheDisabled
if NVM is being used, checks if there were any errors that could have disable the NVM engine.
cachelib/cachebench/cache/Cache.h:301
↓ 4 callers
Method
isTiny
cachelib/allocator/MMTinyLFU.h:615
↓ 4 callers
Method
isTrackItemHistoryEnabled
cachelib/allocator/nvmcache/NavyConfig.h:296
↓ 4 callers
Method
lookup
cachelib/navy/engine/NoopEngine.h:37
↓ 4 callers
Method
lookupAsync
cachelib/navy/driver/Driver.cpp:226
↓ 4 callers
Function
makeAllocator
cachelib/navy/block_cache/tests/AllocatorTest.cpp:33
↓ 4 callers
Function
makeGenerator
cachelib/cachebench/runner/Stressor.cpp:145
↓ 4 callers
Method
markExpired
cachelib/allocator/tests/ItemHandleTest.cpp:77
↓ 4 callers
Method
markFinish
Should be called when working thread finish its operations
cachelib/cachebench/workload/GeneratorBase.h:74
↓ 4 callers
Method
metadataSize
cachelib/interface/components/FlashCacheComponent.h:52
↓ 4 callers
Method
numDisabledBuckets
cachelib/navy/bighash/BigHash.h:329
↓ 4 callers
Method
numHitsForClass
number of hits for an alloc class in this pool
cachelib/allocator/CacheStats.h:208
↓ 4 callers
Function
numShards
cachelib/navy/scheduler/ThreadPoolJobScheduler.cpp:174
↓ 4 callers
Function
numSlabIdxBits
Number of bits for the slab index. If CacheLib is single tiered, slab index will be the top 16 bits of the compressed ptr. Else if CacheLib is multi-t
cachelib/allocator/memory/CompressedPtr.h:130
↓ 4 callers
Function
pathName
cachelib/shm/ShmManager.cpp:37
↓ 4 callers
Method
peek
cachelib/allocator/nvmcache/NvmCache.h:896
↓ 4 callers
Method
peekIndexEntryFromStream
Check all the active combined entry block(s) for the stream to see if we have a valid entry for the key. (If it's already flushed to flash, index will
cachelib/navy/block_cache/CombinedEntryManager.cpp:143
↓ 4 callers
Method
pickVictimAndReceiverCompactCaches
Pick an victim and receiver pools from compact caches @param allocator Cache allocator that implements CacheBase @return PoolOptimizeContext con
cachelib/allocator/PoolOptimizeStrategy.h:65
↓ 4 callers
Method
pickVictimAndReceiverFromRankings
cachelib/allocator/MarginalHitsStrategy.cpp:83
↓ 4 callers
Method
pickVictimAndReceiverRegularPools
Pick an victim and receiver pools from regular pools @param allocator Cache allocator that implements CacheBase @return PoolOptimizeContext cont
cachelib/allocator/PoolOptimizeStrategy.h:55
↓ 4 callers
Method
pickVictimForResizing
cachelib/allocator/RebalanceStrategy.cpp:303
↓ 4 callers
Function
readDevAttr
Read the /sys/block/xx entry for any block device
cachelib/navy/common/FdpNvme.cpp:203
↓ 4 callers
Method
recordIngressBytes
cachelib/cachebench/workload/PieceWiseCache.cpp:188
↓ 4 callers
Function
remainingBytes
cachelib/datatype/Buffer.h:76
↓ 4 callers
Method
remove
Remove an object from cache. Note that the object may NOT be destroyed immediately. The destructor will only be called when the last holder of a handl
cachelib/experimental/deprecated_objcache/ObjectCache.h:596
↓ 4 callers
Method
removeIf
cachelib/allocator/ChainedHashTable.h:1244
↓ 4 callers
Method
removeIndexEntry
cachelib/navy/block_cache/CombinedEntryBlock.cpp:99
↓ 4 callers
Method
renderStats
cachelib/cachebench/workload/PieceWiseCache.cpp:197
↓ 4 callers
Function
replicate
cachelib/navy/common/tests/BufferTest.cpp:26
↓ 4 callers
Method
reset
cachelib/navy/block_cache/RegionManager.cpp:107
↓ 4 callers
Method
resizePools
cachelib/allocator/tests/CacheBaseTest.cpp:63
↓ 4 callers
Method
runFirst
Runs the first job
cachelib/navy/testing/MockJobScheduler.h:62
↓ 4 callers
Function
sanitizeCt
cachelib/common/tests/CountMinSketchTest.cpp:33
↓ 4 callers
Method
setAssignedMemory
cachelib/allocator/BackgroundMover.h:123
↓ 4 callers
Method
setDefaultWriteSize
cachelib/navy/driver/tests/DriverTest.cpp:145
↓ 4 callers
Method
setEnginesSelector
cachelib/allocator/nvmcache/NavyConfig.h:1006
↓ 4 callers
Method
setMaxWriteRate
cachelib/navy/admission_policy/DynamicRandomAP.h:135
↓ 4 callers
Method
setPoolOptimizerFor
cachelib/allocator/CacheAllocator.h:5767
↓ 4 callers
Method
shouldReinsert
cachelib/navy/block_cache/HitsReinsertionPolicy.cpp:26
↓ 4 callers
Method
size
returns the number of elements in the container
cachelib/allocator/MMLru.h:393
↓ 4 callers
Method
size
cachelib/datatype/MapView.h:237
↓ 4 callers
Function
sleepAndMeasureNs
Measure wall-clock nanoseconds across a sleep so assertions are based on what actually elapsed, not what we requested. This makes the tests reliable
cachelib/common/tests/LatencyTrackerTest.cpp:32
↓ 4 callers
Method
start
cachelib/cachebench/runner/FastShutdown.cpp:35
↓ 4 callers
Function
stopPeriodicWorker
cachelib/common/PeriodicWorker.h:153
↓ 4 callers
Method
testAttachWithDifferentSize
changing size should cause attach to fail.
cachelib/allocator/tests/BaseAllocatorTest.h:6369
↓ 4 callers
Function
unSetFlag
cachelib/allocator/memory/Slab.h:209
↓ 4 callers
Method
unmarkAccessible
cachelib/allocator/CacheItem.h:808
↓ 4 callers
Method
unmarkForEviction
cachelib/allocator/CacheItem.h:843
↓ 4 callers
Method
updatePieceKey
cachelib/cachebench/workload/BlockChunkCache.h:223
↓ 4 callers
Method
usesChainedItems
cachelib/cachebench/util/Config.cpp:102
↓ 4 callers
Method
usesRaidFiles
cachelib/allocator/nvmcache/NavyConfig.h:842
↓ 4 callers
Method
usesSimpleFile
cachelib/allocator/nvmcache/NavyConfig.h:841
↓ 4 callers
Method
validate
cachelib/navy/block_cache/BlockCache.cpp:112
↓ 4 callers
Method
validate
cachelib/cachebench/workload/tests/KVReplayGeneratorTest.cpp:50
↓ 4 callers
Method
viewAsWritableChainedAllocs
cachelib/cachebench/cache/Cache.h:219
↓ 4 callers
Method
wakeUp
Wake up the worker */
cachelib/common/PeriodicWorker.h:93
↓ 4 callers
Method
wastedBytesPct
cachelib/datatype/Buffer.h:723
↓ 3 callers
Method
Close
cachelib/adaptor/rocks_secondary_cache/CachelibWrapper.cpp:230
↓ 3 callers
Function
CompressedPtr5B
Restore from serialization
cachelib/allocator/memory/CompressedPtr.h:223
↓ 3 callers
Method
addSlabReleaseEvent
cachelib/allocator/SlabReleaseStats.cpp:23
↓ 3 callers
Method
adviseSlab
cachelib/allocator/memory/SlabAllocator.cpp:436
↓ 3 callers
Method
allocate
cachelib/interface/tests/InterfaceTest.cpp:82
↓ 3 callers
Method
allocateFdpHandle
cachelib/navy/common/FdpNvme.cpp:49
↓ 3 callers
Method
allocateZeroedSlab
cachelib/allocator/memory/MemoryPool.cpp:354
↓ 3 callers
Method
allocate_populate_with_ttl
Allocate a new handle, and write value to it.
cachelib/rust/src/lrucache.rs:892
↓ 3 callers
Function
asStringPiece
cachelib/cachebench/runner/ObjectCacheStressor.h:133
↓ 3 callers
Method
asyncFind
cachelib/cachebench/cache/Cache.h:1034
↓ 3 callers
Function
begin
cachelib/datatype/RangeMap.h:254
↓ 3 callers
Method
begin
These iterators are only valid when this MapView object is valid
cachelib/datatype/MapView.h:141
↓ 3 callers
Function
bitsToBytes
cachelib/common/BloomFilter.cpp:30
↓ 3 callers
Method
bucketExist
If there's no bucket which can possibly have the record for the given key, htEntry_ is nullptr.
cachelib/navy/block_cache/FixedSizeIndex.h:740
↓ 3 callers
Method
buffer
Get direct access to the underlying buffer.
cachelib/rust/src/lrucache.rs:648
↓ 3 callers
Method
bumpCurHits
cachelib/navy/block_cache/Index.h:291
↓ 3 callers
Method
bumpHash
cachelib/common/hothash/HotHashDetector.cpp:28
↓ 3 callers
Method
calculateCacheHitRate
cachelib/allocator/Cache.cpp:533
↓ 3 callers
Function
changeMode
chmod on a file. Throw if the file does not exist.
cachelib/allocator/nvmcache/tests/NavySetupTest.cpp:35
↓ 3 callers
Method
coldRoll
cachelib/allocator/nvmcache/tests/NvmTestBase.cpp:93
↓ 3 callers
Function
compareString
cachelib/benchmarks/SmallOperationMicroBench.cpp:185
↓ 3 callers
Function
constructFilePath
cachelib/allocator/NvmCacheState.cpp:43
↓ 3 callers
Method
couldExist
cachelib/navy/block_cache/BlockCache.cpp:339
↓ 3 callers
Method
couldExistFast
cachelib/allocator/CacheAllocator.h:4527
↓ 3 callers
Method
couldExistFast
cachelib/allocator/nvmcache/NvmCache.h:845
← previous
next →
901–1,000 of 5,467, ranked by callers