MCPcopy Create free account

hub / github.com/facebook/CacheLib / functions

Functions5,467 in github.com/facebook/CacheLib

↓ 2 callersFunctionbitGet
cachelib/common/Utils.h:467
↓ 2 callersFunctionbitMask
cachelib/common/Utils.h:456
↓ 2 callersFunctionbitSet
@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 callersMethodbyteAt
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 callersFunctionbyteIndex
cachelib/common/Utils.h:454
↓ 2 callersFunctioncalibrateSleep
cachelib/cachebench/util/Sleep.cpp:41
↓ 2 callersFunctioncapacity
cachelib/datatype/Map.h:82
↓ 2 callersFunctioncheckArgsValidity
cachelib/cachebench/main.cpp:114
↓ 2 callersMethodcheckBucketSlotOffset
cachelib/navy/block_cache/FixedSizeIndex.h:360
↓ 2 callersFunctioncheckCorrectness
cachelib/common/tests/BytesEqualTest.cpp:43
↓ 2 callersFunctioncheckFreeing
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 callersMethodcheckItemFields
cachelib/interface/tests/InterfaceTest.cpp:241
↓ 2 callersFunctioncheckRecords
cachelib/navy/serialization/tests/RecordIOTest.cpp:71
↓ 2 callersFunctionclamp
Clamp the input into range [lower, upper]
cachelib/navy/admission_policy/DynamicRandomAP.cpp:31
↓ 2 callersMethodclearCache
cachelib/cachebench/cache/Cache.h:1352
↓ 2 callersFunctioncompress
Compress the given slabIdx and allocIdx into a 32-bit compressed pointer.
cachelib/allocator/memory/CompressedPtr.h:136
↓ 2 callersMethodcompressAlt
cachelib/allocator/memory/SlabAllocator.cpp:584
↓ 2 callersMethodcreateContainer
cachelib/benchmarks/MMTypeBench.h:133
↓ 2 callersMethodcreateNodes
cachelib/benchmarks/MMTypeBench.h:145
↓ 2 callersMethodcreatePtrCompressor
cachelib/allocator/memory/SlabAllocator.h:331
↓ 2 callersMethodcreatePutToken
cachelib/allocator/CacheAllocator.h:4017
↓ 2 callersFunctioncreateTestBypassAP
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 callersFunctioncreate_hybrid_cache
(fb: FacebookInit)
cachelib/rust/src/lrucache.rs:1308
↓ 2 callersFunctioncreate_shared_cache
(fb: FacebookInit, cache_directory: PathBuf)
cachelib/rust/src/lrucache.rs:1300
↓ 2 callersFunctioncreate_temp_dir
(dir_prefix: &str)
cachelib/rust/src/lrucache.rs:1289
↓ 2 callersFunctiondecRef
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 callersMethoddeleteContainer
cachelib/benchmarks/MMTypeBench.h:139
↓ 2 callersMethoddeserialize
cachelib/common/Serialization.h:145
↓ 2 callersMethoddestroyContext
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 callersMethoddisableBucket
cachelib/navy/bighash/BigHash.h:338
↓ 2 callersMethoddoEvict
cachelib/benchmarks/MutexBench.cpp:203
↓ 2 callersMethoddone
cachelib/navy/common/Device.cpp:607
↓ 2 callersMethodempty
cachelib/allocator/datastruct/AsanSList.h:121
↓ 2 callersMethodenableAggregatePoolStats
Enable aggregating pool stats
cachelib/allocator/Cache.h:384
↓ 2 callersMethodenableConsistencyCheck
cachelib/cachebench/cache/Cache.h:874
↓ 2 callersFunctionencoded_size
Compute the encoded size of an entry.
cachelib/rust/src/bincode_cache.rs:93
↓ 2 callersFunctionexecuteParallel
cachelib/cachebench/util/Parallel.h:29
↓ 2 callersFunctionexpectCommonMovedFields
cachelib/cachebench/util/tests/RequestTest.cpp:26
↓ 2 callersMethodexportConfig
cachelib/allocator/RandomStrategy.h:41
↓ 2 callersMethodextendTtl
cachelib/object_cache/ObjectCache.h:539
↓ 2 callersFunctionextraBytesForLargeKeys
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 callersMethodfindChainedItem
cachelib/allocator/CacheAllocator.h:6074
↓ 2 callersMethodfindInBucket
cachelib/allocator/ChainedHashTable.h:963
↓ 2 callersMethodflushPendingOps
cachelib/allocator/nvmcache/NvmCache.h:1729
↓ 2 callersMethodforEach
cachelib/common/FastStats.h:99
↓ 2 callersMethodforEachBucketElem
cachelib/allocator/ChainedHashTable.h:992
↓ 2 callersMethodformatTime
cachelib/cachebench/consistency/ValueHistory.cpp:29
↓ 2 callersMethodfreeMemory
total amount of memory that is in the free lists and unallocated and unused slabs.
cachelib/allocator/memory/MemoryAllocatorStats.h:120
↓ 2 callersMethodgenerate
cachelib/benchmarks/CachelibContentionBenchmark.cpp:113
↓ 2 callersFunctiongenerateSizes
cachelib/navy/common/SizeDistribution.cpp:26
↓ 2 callersFunctiongetAddressVal
cachelib/shm/ShmCommon.cpp:72
↓ 2 callersFunctiongetAllocSizes
cachelib/benchmarks/PtrCompressionBench.cpp:38
↓ 2 callersMethodgetAllocationRegion
Returns the current allocation region unique ID.
cachelib/navy/block_cache/Allocator.h:52
↓ 2 callersMethodgetAsBufferAddr
cachelib/datatype/MapView.h:90
↓ 2 callersMethodgetBackgroundMoverClassStats
cachelib/allocator/CacheAllocator.h:2392
↓ 2 callersMethodgetBucket
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 callersMethodgetBucketDistInfoBufSize
cachelib/navy/block_cache/FixedSizeIndex.h:249
↓ 2 callersMethodgetBufferView
cachelib/interface/components/FlashCacheComponent.cpp:114
↓ 2 callersFunctiongetBytesWrittenLine
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 callersMethodgetCCachePoolIds
cachelib/allocator/tests/CacheBaseTest.cpp:60
↓ 2 callersMethodgetClassStats
cachelib/allocator/BackgroundMover.h:174
↓ 2 callersMethodgetCombinedIndexEntry
cachelib/navy/block_cache/FixedSizeIndex.h:448
↓ 2 callersMethodgetCompactCacheId
cachelib/allocator/tests/PoolOptimizeStrategyTest.cpp:33
↓ 2 callersFunctiongetCounters
cachelib/allocator/nvmcache/AccessTimeMap.h:298
↓ 2 callersMethodgetCounters
cachelib/navy/scheduler/NavyRequestScheduler.cpp:153
↓ 2 callersMethodgetCounters
cachelib/object_cache/ObjectCacheSizeController.h:333
↓ 2 callersMethodgetCreationTimeSec
cachelib/object_cache/ObjectCache.h:509
↓ 2 callersFunctiongetCurrentNavyThread
cachelib/navy/common/NavyThread.cpp:23
↓ 2 callersFunctiongetDataBegin
cachelib/allocator/nvmcache/NvmItem.h:136
↓ 2 callersMethodgetDeviceMaxWriteSize
cachelib/allocator/nvmcache/NavyConfig.h:871
↓ 2 callersFunctiongetDivCeiling
cachelib/common/Utils.h:289
↓ 2 callersMethodgetDurationSec
cachelib/common/Time.h:86
↓ 2 callersMethodgetEvictionIterator
cachelib/object_cache/ObjectCache.h:676
↓ 2 callersMethodgetFlags
cachelib/allocator/Handle.h:489
↓ 2 callersMethodgetGlobalCacheStats
cachelib/allocator/CacheAllocator.h:6105
↓ 2 callersMethodgetHashNext
gets the next in hash chain for this node.
cachelib/allocator/ChainedHashTable.h:218
↓ 2 callersMethodgetIOAlignedSize
Get the post-alignment size for the size of the data we intend to write
cachelib/navy/common/Device.h:130
↓ 2 callersMethodgetInconsistencyCount
return the total number of inconsistent operations detected since start.
cachelib/cachebench/cache/Cache.h:336
↓ 2 callersMethodgetInvalidDestructorCount
return the number of times Item destructor was called inconsistently.
cachelib/cachebench/cache/Cache.h:341
↓ 2 callersMethodgetItemPtrAsOffset
cachelib/allocator/CacheAllocator.h:6452
↓ 2 callersMethodgetKey
cachelib/interface/components/FlashCacheComponent.cpp:163
↓ 2 callersMethodgetKeyCheckedNoAsan
cachelib/allocator/CacheItem.h:665
↓ 2 callersMethodgetLastAccessTimeSec
cachelib/object_cache/ObjectCache.h:496
↓ 2 callersMethodgetMaxItemSize
cachelib/navy/engine/NoopEngine.h:49
↓ 2 callersMethodgetMaxTfrSize
Get the max transfer size of NVMe device.
cachelib/navy/common/FdpNvme.h:113
↓ 2 callersFunctiongetMeanDeviation
cachelib/common/Utils.h:393
↓ 2 callersMethodgetMemorySize
cachelib/interface/tests/InterfaceTest.cpp:56
↓ 2 callersMethodgetMemorySizeInclAdvised
return the usable size including the advised away size in bytes for this allocator.
cachelib/allocator/memory/MemoryAllocator.h:418
↓ 2 callersMethodgetName
cachelib/navy/engine/EnginePair.h:117
↓ 2 callersMethodgetName
cachelib/object_cache/persistence/Persistence.h:58
↓ 2 callersMethodgetNextPtr
cachelib/cachebench/workload/ReplayGeneratorBase.h:426
↓ 2 callersMethodgetNumChunks
return number of chunks
cachelib/allocator/CCacheAllocator.h:74
↓ 2 callersMethodgetNumPiecesTotal
cachelib/common/piecewise/GenericPiecesBase.h:84
↓ 2 callersMethodgetNumRegions
Calculates the total region number.
cachelib/navy/block_cache/BlockCache.h:126
↓ 2 callersFunctiongetNumThreads
cachelib/cachebench/runner/IntegrationStressor.cpp:29
↓ 2 callersMethodgetNumUsableAndAdvisedSlabs
cachelib/allocator/memory/SlabAllocator.cpp:349
↓ 2 callersMethodgetNvmEvictionRate
cachelib/cachebench/cache/Cache.h:1341
↓ 2 callersMethodgetOldestElementAge
cachelib/allocator/LruTailAgeStrategy.cpp:29
↓ 2 callersFunctiongetPageBytes
cachelib/benchmarks/HashMapBenchmark.cpp:73
↓ 2 callersMethodgetPiecesPerGroup
cachelib/common/piecewise/GenericPiecesBase.h:77
← previousnext →1,201–1,300 of 5,467, ranked by callers