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
Method
create
cachelib/interface/components/tests/CacheComponentFactory.cpp:33
↓ 3 callers
Method
create
cachelib/navy/Factory.cpp:364
↓ 3 callers
Method
createPersistent
cachelib/interface/components/tests/CacheComponentFactory.cpp:39
↓ 3 callers
Function
create_basic_cache_config
()
cachelib/rust/src/lrucache.rs:1249
↓ 3 callers
Method
deallocate
cachelib/experimental/deprecated_objcache/tests/Common.h:75
↓ 3 callers
Method
deltaAllocFailures
return the delta of alloc failures for this alloc class from the current state. @param poolStats the current pool stats for this pool. @return the
cachelib/allocator/RebalanceInfo.h:109
↓ 3 callers
Method
deltaHitsPerSlab
return the delta of hits per slab for this alloc class from the current state. @param poolStats the current pool stats for this pool. @return the d
cachelib/allocator/RebalanceInfo.h:123
↓ 3 callers
Function
deserializePtr
cachelib/allocator/memory/CompressedPtr.h:295
↓ 3 callers
Function
deserializeRegion
cachelib/allocator/memory/CompressedPtr.h:300
↓ 3 callers
Method
detach
Detaching the allocator. Only after detach, can another compact cache instance attach this allocator
cachelib/compact_cache/allocators/CCacheAllocatorBase.h:110
↓ 3 callers
Method
doFlush
cachelib/navy/block_cache/RegionManager.cpp:296
↓ 3 callers
Method
drain
cachelib/interface/utils/CoroFiberAdapter.cpp:62
↓ 3 callers
Method
end
cachelib/allocator/CacheAllocator.h:672
↓ 3 callers
Method
enqueue
cachelib/navy/scheduler/ThreadPoolJobQueue.cpp:43
↓ 3 callers
Method
estimateWriteSize
cachelib/navy/block_cache/BlockCache.cpp:348
↓ 3 callers
Method
existFast
cachelib/allocator/CacheAllocator.h:4507
↓ 3 callers
Method
fastForwardTrace
The number of requests (not including ampFactor) to skip in the trace. This is so that after warming up the cache with a certain number of requests, w
cachelib/cachebench/workload/ReplayGeneratorBase.h:164
↓ 3 callers
Function
fileExists
cachelib/allocator/NvmCacheState.cpp:39
↓ 3 callers
Function
fillUpMemoryPool
fills up the memory pool and returns the allocations in the outparam
cachelib/allocator/memory/tests/MemoryPoolTest.cpp:189
↓ 3 callers
Method
findToWrite
cachelib/cachebench/cache/Cache.h:1091
↓ 3 callers
Method
finish
cachelib/cachebench/runner/CacheStressorBase.cpp:31
↓ 3 callers
Function
finishAllJobs
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:130
↓ 3 callers
Function
genAllocClassesTuned
Returns set of allocation sizes that are chosen in a way to minimize worst case cache efficiency loss. Efficiency loss for an item size is defined in
cachelib/allocator/Util.h:241
↓ 3 callers
Function
genRandomStr
cachelib/allocator/nvmcache/tests/NvmItemTests.cpp:26
↓ 3 callers
Method
get
Fetch the value for a key. Returns None if the key could not be found in the pool, Some(value) if the key was found in the pool
cachelib/rust/src/lrucache.rs:1007
↓ 3 callers
Method
getActiveThreadCount
returns the current number of active stats instances held by threads.
cachelib/common/FastStats.h:91
↓ 3 callers
Method
getAdmProbBaseSize
cachelib/allocator/nvmcache/NavyConfig.h:131
↓ 3 callers
Method
getAllSlabReleaseEvents
cachelib/allocator/tests/CacheBaseTest.cpp:37
↓ 3 callers
Function
getAllocIdx
Get the allocation index of the compressed ptr
cachelib/allocator/memory/CompressedPtr.h:157
↓ 3 callers
Method
getAllocIdx
cachelib/allocator/memory/AllocationClass.cpp:371
↓ 3 callers
Method
getAvgLoopTimeMs
cachelib/allocator/PoolRebalancer.h:67
↓ 3 callers
Method
getBucketElems
cachelib/allocator/ChainedHashTable.h:1300
↓ 3 callers
Method
getBytesUnReserved
size in bytes of the remaining size that is not reserved for any pools.
cachelib/allocator/memory/MemoryPoolManager.h:150
↓ 3 callers
Method
getBytesWritten
Return bytes written since device start
cachelib/navy/common/Device.h:173
↓ 3 callers
Method
getCacheName
cachelib/allocator/CacheAllocator.h:5172
↓ 3 callers
Method
getChunk
cachelib/compact_cache/allocators/TestAllocator.h:76
↓ 3 callers
Method
getCleanRegionThreads
cachelib/allocator/nvmcache/NavyConfig.h:611
↓ 3 callers
Method
getCounters
cachelib/navy/driver/tests/DriverTest.cpp:132
↓ 3 callers
Method
getCreationTime
cachelib/interface/components/RAMCacheComponent.cpp:71
↓ 3 callers
Method
getCreationTime
cachelib/object_cache/ObjectCache.h:230
↓ 3 callers
Method
getDeltaEvictions
return the delta of evictions for this alloc class from the current state. @param poolStats the current pool stats for this pool. @return the delta
cachelib/allocator/RebalanceInfo.h:80
↓ 3 callers
Method
getDeviceMetadataSize
cachelib/allocator/nvmcache/NavyConfig.h:867
↓ 3 callers
Method
getDistributionStats
cachelib/allocator/ChainedHashTable.h:1085
↓ 3 callers
Method
getEntryDescriptor
cachelib/interface/components/FlashCacheComponent.cpp:128
↓ 3 callers
Method
getFreeMemThreshold
free memory threshold to be used for picking victim.
cachelib/allocator/FreeMemStrategy.h:40
↓ 3 callers
Function
getImplItemFromHandle
cachelib/interface/components/RAMCacheComponent.cpp:153
↓ 3 callers
Method
getIndexEntryFromStream
Get the 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 wil
cachelib/navy/block_cache/CombinedEntryManager.cpp:162
↓ 3 callers
Function
getIoEngineName
cachelib/allocator/nvmcache/NavyConfig.h:797
↓ 3 callers
Method
getItemDestructorLock
This lock is to protect concurrent NvmCache evictCB and CacheAllocator remove/insertOrReplace/invalidateNvm. This lock scope within the above function
cachelib/allocator/nvmcache/NvmCache.h:293
↓ 3 callers
Function
getKeySize
cachelib/allocator/KAllocation.h:199
↓ 3 callers
Method
getKeyStr
cachelib/shm/Shm.h:146
↓ 3 callers
Method
getLastAccessTime
cachelib/object_cache/ObjectCache.h:231
↓ 3 callers
Method
getLastLoopTimeMs
cachelib/allocator/PoolRebalancer.h:70
↓ 3 callers
Method
getMaxConcurrentInserts
============ other settings =============
cachelib/allocator/nvmcache/NavyConfig.h:906
↓ 3 callers
Method
getMaxCount
cachelib/common/CountMinSketch.h:110
↓ 3 callers
Method
getMaxParcelMemoryMB
cachelib/allocator/nvmcache/NavyConfig.h:907
↓ 3 callers
Method
getMaxWriteRate
cachelib/allocator/nvmcache/NavyConfig.h:127
↓ 3 callers
Method
getMode
@return the mode for this slab release context.
cachelib/allocator/memory/Slab.h:334
↓ 3 callers
Method
getName
cachelib/navy/common/Device.cpp:203
↓ 3 callers
Method
getNativeBitmask
cachelib/shm/ShmCommon.h:111
↓ 3 callers
Method
getNavyReqOrderingShards
cachelib/allocator/nvmcache/NavyConfig.h:897
↓ 3 callers
Function
getNext
cachelib/allocator/datastruct/DList.h:50
↓ 3 callers
Method
getNumBucketsPerChunkPower
cachelib/allocator/nvmcache/NavyConfig.h:291
↓ 3 callers
Method
getNumChunks
cachelib/compact_cache/allocators/TestAllocator.h:78
↓ 3 callers
Method
getNumInstances
Number of concurrent cachebench instances to run.
cachelib/cachebench/util/Config.h:403
↓ 3 callers
Method
getObjectCacheCounters
cachelib/object_cache/ObjectCache.h:1157
↓ 3 callers
Function
getPageAlignedSize
cachelib/shm/ShmCommon.cpp:44
↓ 3 callers
Method
getPageSize
cachelib/allocator/ChainedHashTable.h:317
↓ 3 callers
Function
getPageSizeInSMap
cachelib/shm/ShmCommon.cpp:113
↓ 3 callers
Method
getPieceSize
cachelib/common/piecewise/GenericPiecesBase.h:76
↓ 3 callers
Method
getPoolIds
return a list of all valid pool ids.
cachelib/object_cache/ObjectCacheBase.h:127
↓ 3 callers
Method
getPoolName
returns the pool's name by its poolId.
cachelib/object_cache/ObjectCacheBase.h:132
↓ 3 callers
Method
getRatio
cachelib/allocator/MemoryTierCacheConfig.h:39
↓ 3 callers
Method
getReaderThreads
============ Job scheduler settings =============
cachelib/allocator/nvmcache/NavyConfig.h:889
↓ 3 callers
Method
getReceiverClassId
cachelib/allocator/memory/Slab.h:320
↓ 3 callers
Method
getRecords
cachelib/common/EventSink.h:138
↓ 3 callers
Method
getSampleItem
cachelib/allocator/nvmcache/NvmCache.h:1676
↓ 3 callers
Method
getSize
cachelib/cachebench/cache/Cache.h:1369
↓ 3 callers
Method
getSlabReleaseEvents
When logging data: use this to avoid duplicates */
cachelib/allocator/SlabReleaseStats.cpp:51
↓ 3 callers
Function
getSteadyCurrentTimeSec
cachelib/common/Time.h:49
↓ 3 callers
Function
getWaitContextForTest
cachelib/allocator/tests/BaseAllocatorTest.h:61
↓ 3 callers
Method
getWriterThreads
cachelib/allocator/nvmcache/NavyConfig.h:893
↓ 3 callers
Method
get_reader
Get this item as a read-only streaming buffer
cachelib/rust/src/lrucache.rs:573
↓ 3 callers
Function
get_size
cachelib/rust/src/cachelib.cpp:167
↓ 3 callers
Method
get_strategy
(&self)
cachelib/rust/src/lrucache.rs:73
↓ 3 callers
Function
hasChainedItem
cachelib/allocator/Refcount.h:434
↓ 3 callers
Method
hasContexts
returns true if this map has active contexts and false if the map is empty.
cachelib/allocator/nvmcache/ReqContexts.h:113
↓ 3 callers
Method
hasTtl
cachelib/cachebench/workload/WorkloadDistribution.h:101
↓ 3 callers
Function
incRef
Bumps up the reference count only if the new count will be strictly less than or equal to the maxCount and the item is not exclusive @return IncResult
cachelib/allocator/Refcount.h:150
↓ 3 callers
Method
increment
cachelib/common/CountMinSketch.h:193
↓ 3 callers
Method
initMinTTL
Set minTTL. This method should be called only once.
cachelib/allocator/NvmAdmissionPolicy.h:135
↓ 3 callers
Function
initialize
Initialize a freshly carved or reclaimed header so it belongs to `pid`.
cachelib/allocator/memory/Slab.h:141
↓ 3 callers
Method
insertBefore
cachelib/allocator/datastruct/DList.h:304
↓ 3 callers
Method
insertOrReplace
cachelib/datatype/RangeMap.h:374
↓ 3 callers
Method
insertOrReplaceInBucket
cachelib/allocator/ChainedHashTable.h:910
↓ 3 callers
Method
insert_handle
Insert a previously allocated handle into the cache, making it visible to `get` Returns `false` if the handle could not be inserted (e.g. another han
cachelib/rust/src/lrucache.rs:862
↓ 3 callers
Method
invalidateNvm
cachelib/allocator/CacheAllocator.h:4467
↓ 3 callers
Method
isBigHashEnabled
cachelib/allocator/nvmcache/NavyConfig.h:843
↓ 3 callers
Method
isBucketValid
cachelib/navy/bighash/BigHash.h:331
↓ 3 callers
Method
isFull
Whether the pool is full or free to allocate more in the current state. This is only a hint and not a gurantee that subsequent allocate will fail/succ
cachelib/allocator/memory/AllocationClass.h:108
← previous
next →
1,001–1,100 of 5,467, ranked by callers