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
Function
bitGet
cachelib/common/Utils.h:467
↓ 2 callers
Function
bitMask
cachelib/common/Utils.h:456
↓ 2 callers
Function
bitSet
@bitSet, @bitGet are helper functions to test and set bit. @bitIndex is an arbitrary large bit index to test/set. @ptr points to the first byte of lar
cachelib/common/Utils.h:463
↓ 2 callers
Method
byteAt
Return byte at specified index. This view must NOT be null. Caller is responsible for ensuring the index is within bounds.
cachelib/navy/common/Buffer.h:56
↓ 2 callers
Function
byteIndex
cachelib/common/Utils.h:454
↓ 2 callers
Function
calibrateSleep
cachelib/cachebench/util/Sleep.cpp:41
↓ 2 callers
Function
capacity
cachelib/datatype/Map.h:82
↓ 2 callers
Function
checkArgsValidity
cachelib/cachebench/main.cpp:114
↓ 2 callers
Method
checkBucketSlotOffset
cachelib/navy/block_cache/FixedSizeIndex.h:360
↓ 2 callers
Function
checkCorrectness
cachelib/common/tests/BytesEqualTest.cpp:43
↓ 2 callers
Function
checkFreeing
given two memory pools that are full, try to free some allocations from one pool and still ensure that other is full across all alloc classes.
cachelib/allocator/memory/tests/MemoryPoolTest.cpp:149
↓ 2 callers
Method
checkItemFields
cachelib/interface/tests/InterfaceTest.cpp:241
↓ 2 callers
Function
checkRecords
cachelib/navy/serialization/tests/RecordIOTest.cpp:71
↓ 2 callers
Function
clamp
Clamp the input into range [lower, upper]
cachelib/navy/admission_policy/DynamicRandomAP.cpp:31
↓ 2 callers
Method
clearCache
cachelib/cachebench/cache/Cache.h:1352
↓ 2 callers
Function
compress
Compress the given slabIdx and allocIdx into a 32-bit compressed pointer.
cachelib/allocator/memory/CompressedPtr.h:136
↓ 2 callers
Method
compressAlt
cachelib/allocator/memory/SlabAllocator.cpp:584
↓ 2 callers
Method
createContainer
cachelib/benchmarks/MMTypeBench.h:133
↓ 2 callers
Method
createNodes
cachelib/benchmarks/MMTypeBench.h:145
↓ 2 callers
Method
createPtrCompressor
cachelib/allocator/memory/SlabAllocator.h:331
↓ 2 callers
Method
createPutToken
cachelib/allocator/CacheAllocator.h:4017
↓ 2 callers
Function
createTestBypassAP
Create a DynamicRandomAP with given target rate that accepts all items before the first update and treats odd lenth key as bypassed.
cachelib/navy/admission_policy/tests/DynamicRandomAPTest.cpp:32
↓ 2 callers
Function
create_hybrid_cache
(fb: FacebookInit)
cachelib/rust/src/lrucache.rs:1308
↓ 2 callers
Function
create_shared_cache
(fb: FacebookInit, cache_directory: PathBuf)
cachelib/rust/src/lrucache.rs:1300
↓ 2 callers
Function
create_temp_dir
(dir_prefix: &str)
cachelib/rust/src/lrucache.rs:1289
↓ 2 callers
Function
decRef
Bumps down the reference count @return Refcount with control bits. When it is zero, we know for certain no one has access to it. @throw RefcountUnde
cachelib/allocator/Refcount.h:181
↓ 2 callers
Method
deleteContainer
cachelib/benchmarks/MMTypeBench.h:139
↓ 2 callers
Method
deserialize
cachelib/common/Serialization.h:145
↓ 2 callers
Method
destroyContext
Remove the put context by passing a reference to it. After this, the caller is supposed to not refer to it anymore.
cachelib/allocator/nvmcache/ReqContexts.h:120
↓ 2 callers
Method
disableBucket
cachelib/navy/bighash/BigHash.h:338
↓ 2 callers
Method
doEvict
cachelib/benchmarks/MutexBench.cpp:203
↓ 2 callers
Method
done
cachelib/navy/common/Device.cpp:607
↓ 2 callers
Method
empty
cachelib/allocator/datastruct/AsanSList.h:121
↓ 2 callers
Method
enableAggregatePoolStats
Enable aggregating pool stats
cachelib/allocator/Cache.h:384
↓ 2 callers
Method
enableConsistencyCheck
cachelib/cachebench/cache/Cache.h:874
↓ 2 callers
Function
encoded_size
Compute the encoded size of an entry.
cachelib/rust/src/bincode_cache.rs:93
↓ 2 callers
Function
executeParallel
cachelib/cachebench/util/Parallel.h:29
↓ 2 callers
Function
expectCommonMovedFields
cachelib/cachebench/util/tests/RequestTest.cpp:26
↓ 2 callers
Method
exportConfig
cachelib/allocator/RandomStrategy.h:41
↓ 2 callers
Method
extendTtl
cachelib/object_cache/ObjectCache.h:539
↓ 2 callers
Function
extraBytesForLargeKeys
returns extra bytes required (if any) to store the key size for large keys @param keySize size of the key @return extra bytes required to s
cachelib/allocator/KAllocation.h:66
↓ 2 callers
Method
findChainedItem
cachelib/allocator/CacheAllocator.h:6074
↓ 2 callers
Method
findInBucket
cachelib/allocator/ChainedHashTable.h:963
↓ 2 callers
Method
flushPendingOps
cachelib/allocator/nvmcache/NvmCache.h:1729
↓ 2 callers
Method
forEach
cachelib/common/FastStats.h:99
↓ 2 callers
Method
forEachBucketElem
cachelib/allocator/ChainedHashTable.h:992
↓ 2 callers
Method
formatTime
cachelib/cachebench/consistency/ValueHistory.cpp:29
↓ 2 callers
Method
freeMemory
total amount of memory that is in the free lists and unallocated and unused slabs.
cachelib/allocator/memory/MemoryAllocatorStats.h:120
↓ 2 callers
Method
generate
cachelib/benchmarks/CachelibContentionBenchmark.cpp:113
↓ 2 callers
Function
generateSizes
cachelib/navy/common/SizeDistribution.cpp:26
↓ 2 callers
Function
getAddressVal
cachelib/shm/ShmCommon.cpp:72
↓ 2 callers
Function
getAllocSizes
cachelib/benchmarks/PtrCompressionBench.cpp:38
↓ 2 callers
Method
getAllocationRegion
Returns the current allocation region unique ID.
cachelib/navy/block_cache/Allocator.h:52
↓ 2 callers
Method
getAsBufferAddr
cachelib/datatype/MapView.h:90
↓ 2 callers
Method
getBackgroundMoverClassStats
cachelib/allocator/CacheAllocator.h:2392
↓ 2 callers
Method
getBucket
This helper will get the proper bucket id and record entry Return value : The pair of <Bucket id, pointer to the record>
cachelib/navy/block_cache/FixedSizeIndex.h:499
↓ 2 callers
Method
getBucketDistInfoBufSize
cachelib/navy/block_cache/FixedSizeIndex.h:249
↓ 2 callers
Method
getBufferView
cachelib/interface/components/FlashCacheComponent.cpp:114
↓ 2 callers
Function
getBytesWrittenLine
Get the "bytes written" line in the `nvme` output for a device, as a vector of space-delimited fields. Runs `nvme` with the given arguments, looks fo
cachelib/cachebench/util/NandWrites.cpp:110
↓ 2 callers
Method
getCCachePoolIds
cachelib/allocator/tests/CacheBaseTest.cpp:60
↓ 2 callers
Method
getClassStats
cachelib/allocator/BackgroundMover.h:174
↓ 2 callers
Method
getCombinedIndexEntry
cachelib/navy/block_cache/FixedSizeIndex.h:448
↓ 2 callers
Method
getCompactCacheId
cachelib/allocator/tests/PoolOptimizeStrategyTest.cpp:33
↓ 2 callers
Function
getCounters
cachelib/allocator/nvmcache/AccessTimeMap.h:298
↓ 2 callers
Method
getCounters
cachelib/navy/scheduler/NavyRequestScheduler.cpp:153
↓ 2 callers
Method
getCounters
cachelib/object_cache/ObjectCacheSizeController.h:333
↓ 2 callers
Method
getCreationTimeSec
cachelib/object_cache/ObjectCache.h:509
↓ 2 callers
Function
getCurrentNavyThread
cachelib/navy/common/NavyThread.cpp:23
↓ 2 callers
Function
getDataBegin
cachelib/allocator/nvmcache/NvmItem.h:136
↓ 2 callers
Method
getDeviceMaxWriteSize
cachelib/allocator/nvmcache/NavyConfig.h:871
↓ 2 callers
Function
getDivCeiling
cachelib/common/Utils.h:289
↓ 2 callers
Method
getDurationSec
cachelib/common/Time.h:86
↓ 2 callers
Method
getEvictionIterator
cachelib/object_cache/ObjectCache.h:676
↓ 2 callers
Method
getFlags
cachelib/allocator/Handle.h:489
↓ 2 callers
Method
getGlobalCacheStats
cachelib/allocator/CacheAllocator.h:6105
↓ 2 callers
Method
getHashNext
gets the next in hash chain for this node.
cachelib/allocator/ChainedHashTable.h:218
↓ 2 callers
Method
getIOAlignedSize
Get the post-alignment size for the size of the data we intend to write
cachelib/navy/common/Device.h:130
↓ 2 callers
Method
getInconsistencyCount
return the total number of inconsistent operations detected since start.
cachelib/cachebench/cache/Cache.h:336
↓ 2 callers
Method
getInvalidDestructorCount
return the number of times Item destructor was called inconsistently.
cachelib/cachebench/cache/Cache.h:341
↓ 2 callers
Method
getItemPtrAsOffset
cachelib/allocator/CacheAllocator.h:6452
↓ 2 callers
Method
getKey
cachelib/interface/components/FlashCacheComponent.cpp:163
↓ 2 callers
Method
getKeyCheckedNoAsan
cachelib/allocator/CacheItem.h:665
↓ 2 callers
Method
getLastAccessTimeSec
cachelib/object_cache/ObjectCache.h:496
↓ 2 callers
Method
getMaxItemSize
cachelib/navy/engine/NoopEngine.h:49
↓ 2 callers
Method
getMaxTfrSize
Get the max transfer size of NVMe device.
cachelib/navy/common/FdpNvme.h:113
↓ 2 callers
Function
getMeanDeviation
cachelib/common/Utils.h:393
↓ 2 callers
Method
getMemorySize
cachelib/interface/tests/InterfaceTest.cpp:56
↓ 2 callers
Method
getMemorySizeInclAdvised
return the usable size including the advised away size in bytes for this allocator.
cachelib/allocator/memory/MemoryAllocator.h:418
↓ 2 callers
Method
getName
cachelib/navy/engine/EnginePair.h:117
↓ 2 callers
Method
getName
cachelib/object_cache/persistence/Persistence.h:58
↓ 2 callers
Method
getNextPtr
cachelib/cachebench/workload/ReplayGeneratorBase.h:426
↓ 2 callers
Method
getNumChunks
return number of chunks
cachelib/allocator/CCacheAllocator.h:74
↓ 2 callers
Method
getNumPiecesTotal
cachelib/common/piecewise/GenericPiecesBase.h:84
↓ 2 callers
Method
getNumRegions
Calculates the total region number.
cachelib/navy/block_cache/BlockCache.h:126
↓ 2 callers
Function
getNumThreads
cachelib/cachebench/runner/IntegrationStressor.cpp:29
↓ 2 callers
Method
getNumUsableAndAdvisedSlabs
cachelib/allocator/memory/SlabAllocator.cpp:349
↓ 2 callers
Method
getNvmEvictionRate
cachelib/cachebench/cache/Cache.h:1341
↓ 2 callers
Method
getOldestElementAge
cachelib/allocator/LruTailAgeStrategy.cpp:29
↓ 2 callers
Function
getPageBytes
cachelib/benchmarks/HashMapBenchmark.cpp:73
↓ 2 callers
Method
getPiecesPerGroup
cachelib/common/piecewise/GenericPiecesBase.h:77
← previous
next →
1,201–1,300 of 5,467, ranked by callers