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
↓ 7 callers
Function
getKey
returns the key corresponding to the allocation.
cachelib/allocator/KAllocation.h:129
↓ 7 callers
Method
getKey
Item accessors
cachelib/object_cache/ObjectCache.h:227
↓ 7 callers
Method
getLastAccessTime
cachelib/allocator/CacheItem.h:750
↓ 7 callers
Method
getNthInChain
return the nTh in the chain from the beginning. n = 0 is the first in the chain and last inserted.
cachelib/allocator/ChainedAllocs.h:47
↓ 7 callers
Method
getPriority
Gets the priority this region is assigned.
cachelib/navy/block_cache/Region.h:118
↓ 7 callers
Method
getQDepth
cachelib/allocator/nvmcache/NavyConfig.h:873
↓ 7 callers
Function
getRaw
Returns the raw refcount with control bits and flags
cachelib/allocator/Refcount.h:222
↓ 7 callers
Method
getReuseTime
cachelib/navy/block_cache/ReuseTimeReinsertionPolicy.cpp:134
↓ 7 callers
Method
getTotalFreeMemory
cachelib/allocator/memory/MemoryAllocatorStats.h:55
↓ 7 callers
Method
insertOrReplace
cachelib/allocator/CacheAllocator.h:3807
↓ 7 callers
Function
isChainedItem
cachelib/allocator/Refcount.h:431
↓ 7 callers
Function
isDir
cachelib/common/Utils.cpp:256
↓ 7 callers
Method
isEmpty
cachelib/compact_cache/CCacheDescriptor.h:137
↓ 7 callers
Method
isEqual
cachelib/experimental/deprecated_objcache/tests/Common.h:85
↓ 7 callers
Method
isFixedSizeIndexEnabled
getter functions
cachelib/allocator/nvmcache/NavyConfig.h:288
↓ 7 callers
Method
isTail
cachelib/allocator/tests/MMTypeTest.h:84
↓ 7 callers
Method
isTop
cachelib/common/Cohort.h:73
↓ 7 callers
Method
iterator
cachelib/interface/components/RAMCacheComponent.cpp:377
↓ 7 callers
Method
keyEqualsTo
cachelib/navy/bighash/Bucket.cpp:46
↓ 7 callers
Function
makeTryHandleMaker
Helper to create a TryHandleMakerFn for tests. All acquisitions succeed.
cachelib/allocator/tests/ChainedHashTest.cpp:276
↓ 7 callers
Method
markForEviction
cachelib/allocator/CacheItem.h:838
↓ 7 callers
Method
markNvmClean
cachelib/allocator/CacheItem.h:873
↓ 7 callers
Method
memorySize
cachelib/navy/block_cache/LruPolicy.cpp:143
↓ 7 callers
Method
numBuckets
cachelib/navy/bighash/BigHash.h:83
↓ 7 callers
Method
numHashes
number of hash functions per filter
cachelib/common/BloomFilter.h:98
↓ 7 callers
Method
numSlabsReclaimable
Number of advised away slabs that can be reclaimed by calling reclaimSlab()
cachelib/allocator/memory/SlabAllocator.h:161
↓ 7 callers
Method
persist
cachelib/object_cache/ObjectCache.h:1201
↓ 7 callers
Method
put
cachelib/allocator/nvmcache/NvmCache.h:1216
↓ 7 callers
Method
recover
cachelib/interface/components/tests/CacheComponentFactory.cpp:46
↓ 7 callers
Method
release
cachelib/interface/Handle.h:108
↓ 7 callers
Method
render
cachelib/cachebench/runner/Runner.cpp:101
↓ 7 callers
Method
setDestructorCallback
cachelib/navy/Factory.cpp:307
↓ 7 callers
Method
setDeviceMetadataSize
Configure the size of the metadata partition reserved for Navy
cachelib/allocator/nvmcache/NavyConfig.h:962
↓ 7 callers
Method
setEventTracker
cachelib/allocator/Cache.cpp:642
↓ 7 callers
Method
size
cachelib/allocator/MMTinyLFU.h:522
↓ 7 callers
Method
size
cachelib/compact_cache/CCacheVariableLruBucket.h:204
↓ 7 callers
Method
switchCohorts
Switch to the currently unused cohort, and wait for all readers to drain from the old cohort
cachelib/common/Cohort.h:84
↓ 7 callers
Method
test
cachelib/persistence/tests/PersistenceCache.h:176
↓ 7 callers
Function
toIOBuf
cachelib/allocator/nvmcache/NvmItem.h:190
↓ 7 callers
Function
toMillis
cachelib/navy/common/Utils.h:46
↓ 7 callers
Method
transferChainAndReplace
cachelib/allocator/CacheAllocator.h:3319
↓ 7 callers
Method
unCompress
cachelib/allocator/datastruct/tests/SListTest.cpp:48
↓ 7 callers
Method
unmarkNascent
cachelib/allocator/Handle.h:476
↓ 7 callers
Method
updateNumSlabsToAdvise
cachelib/allocator/MemoryMonitor.cpp:82
↓ 7 callers
Method
updateRankings
sort rankings for current round and update smoothed rankings
cachelib/allocator/MarginalHitsState.h:36
↓ 7 callers
Method
update_prev
cachelib/common/tests/PeriodicWorkerTest.cpp:95
↓ 7 callers
Method
validateStrategy
cachelib/allocator/CacheAllocatorConfig.h:1311
↓ 6 callers
Function
ASSERT_THROW
cachelib/cachebench/workload/tests/WorkloadGeneratorTest.cpp:188
↓ 6 callers
Method
Size
cachelib/adaptor/rocks_secondary_cache/tests/CachelibWrapperTest.cpp:53
↓ 6 callers
Method
adviseAwaySlabs
cachelib/allocator/MemoryMonitor.cpp:247
↓ 6 callers
Method
allocate
cachelib/allocator/CacheAllocator.h:3025
↓ 6 callers
Method
allocate_with_ttl
Allocate memory for a key of known size; this will claim the memory until the handle is dropped or inserted into the cache. Note that if you do not i
cachelib/rust/src/lrucache.rs:811
↓ 6 callers
Method
appendChain
cachelib/allocator/CacheItem.h:1113
↓ 6 callers
Function
between
cachelib/navy/common/Utils.h:79
↓ 6 callers
Function
bytesEqual
cachelib/common/BytesEqual.h:54
↓ 6 callers
Method
cacheCleanup
cachelib/persistence/tests/PersistenceCache.h:134
↓ 6 callers
Method
canAllocate
cachelib/datatype/Buffer.cpp:25
↓ 6 callers
Method
computeMemFootprintRange
cachelib/navy/block_cache/FixedSizeIndex.cpp:279
↓ 6 callers
Method
count_down
Count down without waiitng.
cachelib/common/CountDownLatch.cpp:33
↓ 6 callers
Method
createDeleteTombStone
cachelib/allocator/nvmcache/NvmCache.h:687
↓ 6 callers
Method
decRef
cachelib/allocator/CacheAllocator.h:3636
↓ 6 callers
Method
drain
cachelib/navy/block_cache/BlockCache.cpp:1449
↓ 6 callers
Function
eventuallyTrue
* This is the core eventually routine. The others are implemented * by calling this one. */
cachelib/common/TestUtils.cpp:38
↓ 6 callers
Method
findInternal
Grab a refcounted handle to the item. @param cache the cache instance using nvmcache @param key the key to look up in the access container @retur
cachelib/allocator/nvmcache/CacheApiWrapper.h:69
↓ 6 callers
Method
first
cachelib/cachebench/consistency/RingBuffer.h:82
↓ 6 callers
Method
forEachAllocation
cachelib/allocator/memory/MemoryPool.h:300
↓ 6 callers
Method
getAccessTimeMap
cachelib/allocator/nvmcache/tests/NvmTestBase.h:137
↓ 6 callers
Method
getAdvisedMemorySize
return the total memory advised away
cachelib/allocator/memory/MemoryAllocator.h:433
↓ 6 callers
Function
getAlignedSizeDown
cachelib/common/Utils.h:282
↓ 6 callers
Method
getAndRemove
Retrieve and remove the timestamp for the given key hash. Returns std::nullopt if not found.
cachelib/allocator/nvmcache/AccessTimeMap.h:111
↓ 6 callers
Method
getBucket
cachelib/allocator/ChainedHashTable.h:886
↓ 6 callers
Method
getCacheCreationTime
unix timestamp when the cache was created. If 0, the cache creation time was not recorded from the older version of the binary. @return time when th
cachelib/allocator/CacheAllocator.h:1341
↓ 6 callers
Method
getConfiguredTtl
cachelib/object_cache/ObjectCache.h:482
↓ 6 callers
Method
getCurrentUsedSize
cachelib/allocator/memory/MemoryPool.cpp:167
↓ 6 callers
Method
getEndPieceIndex
cachelib/common/piecewise/GenericPieces.h:57
↓ 6 callers
Method
getEntry
cachelib/compact_cache/CCacheVariableLruBucket.h:218
↓ 6 callers
Function
getExpiryTime
@return the time when the item is going to expire in seconds since epoch format.
cachelib/allocator/nvmcache/NvmItem.h:106
↓ 6 callers
Method
getExpiryTimeSec
cachelib/object_cache/ObjectCache.h:469
↓ 6 callers
Function
getInput
cachelib/benchmarks/SListBench.cpp:69
↓ 6 callers
Method
getKey
cachelib/interface/tests/InterfaceTest.cpp:52
↓ 6 callers
Method
getLastByteOffsetOfLastPiece
cachelib/common/piecewise/GenericPiecesBase.h:100
↓ 6 callers
Method
getNumKeys
Get the total number of keys inserted into the hash table
cachelib/allocator/ChainedHashTable.h:776
↓ 6 callers
Method
getNumPlaceholders
Returns the total number of placeholders
cachelib/object_cache/ObjectCache.h:652
↓ 6 callers
Method
getPrevAccessBuckets
cachelib/navy/block_cache/ReuseTimeReinsertionPolicy.cpp:164
↓ 6 callers
Method
getShort
cachelib/cachebench/consistency/ShortThreadId.cpp:27
↓ 6 callers
Function
getSize
static function to make sure the item size is at least sizeof CacheValue so we have enough space for fields used by sanity checks
cachelib/cachebench/cache/CacheValue.h:72
↓ 6 callers
Method
getStartPieceIndex
* Overrides from GenericPiecesBase */
cachelib/common/piecewise/GenericPieces.h:56
↓ 6 callers
Method
hasBuffer
Checks if the region has buffer attached.
cachelib/navy/block_cache/Region.h:156
↓ 6 callers
Function
isNull
true if the compressed ptr expands to nullptr.
cachelib/allocator/memory/CompressedPtr.h:66
↓ 6 callers
Method
isOnShm
Whether this cache allocator was created on shared memory.
cachelib/allocator/CacheAllocator.h:1330
↓ 6 callers
Method
linkAtTail
cachelib/allocator/datastruct/DList.h:286
↓ 6 callers
Method
markShutdown
Should be called when all working threads are finished, or aborted
cachelib/cachebench/workload/GeneratorBase.h:71
↓ 6 callers
Method
numBitsPerFilter
number of bits per filter
cachelib/common/BloomFilter.h:101
↓ 6 callers
Method
onLookup
cachelib/navy/block_cache/ReuseTimeReinsertionPolicy.cpp:82
↓ 6 callers
Method
pickAllocClassForResizing
cachelib/allocator/RebalanceStrategy.cpp:39
↓ 6 callers
Method
provisionPool
cachelib/allocator/memory/MemoryPoolManager.cpp:130
↓ 6 callers
Method
rbegin
cachelib/allocator/datastruct/MultiDList.h:265
↓ 6 callers
Method
readRecord
cachelib/common/Serialization.cpp:97
↓ 6 callers
Method
readyForReclaim
cachelib/navy/block_cache/Region.cpp:23
↓ 6 callers
Method
recordAccess
cachelib/common/AccessTracker.h:209
← previous
next →
601–700 of 5,467, ranked by callers