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
↓ 6 callers
Method
reset
cachelib/common/BloomFilter.cpp:118
↓ 6 callers
Method
resize
resize the memory pool. This only adjusts the Pool size. It does not release the slabs back to the SlabAllocator if the new size is less than the curr
cachelib/allocator/memory/MemoryPool.h:174
↓ 6 callers
Method
run
cachelib/cachebench/runner/Runner.cpp:31
↓ 6 callers
Function
runInThreads
cachelib/benchmarks/tl-bench/main.cpp:47
↓ 6 callers
Method
saveState
* Exports the current state as a thrift object for later restoration. */
cachelib/allocator/datastruct/DList.h:115
↓ 6 callers
Method
serialize
cachelib/common/Serialization.h:125
↓ 6 callers
Function
serializeProto
cachelib/navy/serialization/Serialization.h:31
↓ 6 callers
Method
setAt
cachelib/cachebench/consistency/RingBuffer.h:72
↓ 6 callers
Function
setCgroupMemoryAdvising
cachelib/common/Utils.cpp:440
↓ 6 callers
Method
setInfo
cachelib/cachebench/consistency/ValueHistory.h:183
↓ 6 callers
Method
setNavyReqOrderingShards
cachelib/allocator/nvmcache/NavyConfig.cpp:294
↓ 6 callers
Method
setNumShards
cachelib/allocator/nvmcache/NavyConfig.h:1054
↓ 6 callers
Method
shrink
Shrink buffer logical size (doesn't reallocate)
cachelib/navy/common/Buffer.h:198
↓ 6 callers
Method
shutDown
cachelib/cachebench/cache/Cache.h:859
↓ 6 callers
Method
shutdown
cachelib/interface/components/RAMCacheComponent.cpp:464
↓ 6 callers
Method
slice
Return a new view from part of this current view. This view must NOT be null. @param offset start of the data to encapsulate @param size size of b
cachelib/navy/common/Buffer.h:83
↓ 6 callers
Function
slotSize
cachelib/navy/bighash/BucketStorage.h:62
↓ 6 callers
Method
toEstimates
* Estimate percentiles for reporting * @return PercentileStats::Estimates with nanosecond latency percentiles */
cachelib/interface/Stats.h:130
↓ 6 callers
Method
toSemiFuture
Convert to semi future.
cachelib/allocator/Handle.h:177
↓ 6 callers
Method
toSharedPtr
Moves ownership into a shared_ptr. This is irreversible. TODO: in the future, we should consider if we want to allow user to convert shared_ptr back i
cachelib/experimental/deprecated_objcache/ObjectCache.h:119
↓ 6 callers
Method
updateThrottleParamsLocked
cachelib/navy/admission_policy/DynamicRandomAP.cpp:162
↓ 6 callers
Method
updateTimeStamp
This function updates the current itme stamp. It blocks the thread if the timeStampSecond belongs to a future bucket and some other threads haven't fi
cachelib/cachebench/cache/TimeStampTicker.h:64
↓ 6 callers
Function
verifyItem
cachelib/allocator/nvmcache/tests/NvmCacheTests.cpp:2339
↓ 6 callers
Method
wasExpired
Return true if this handle couldn't be fulfilled because the item had already expired. If item is present then the source of truth lies with the actua
cachelib/allocator/Handle.h:227
↓ 6 callers
Method
wlock
* Acquire a write (exclusive) lock on the mutex associated with a key. The * returned WriteLock automatically releases the lock when destroyed.
cachelib/interface/utils/ShardedSerializer.h:118
↓ 6 callers
Method
writeRecord
cachelib/common/Serialization.cpp:66
↓ 6 callers
Method
writeToBuffer
cachelib/common/Serialization.cpp:32
↓ 5 callers
Function
CompressedPtrType
cachelib/allocator/datastruct/tests/SListTest.cpp:36
↓ 5 callers
Method
addEnginePair
cachelib/allocator/nvmcache/NavyConfig.h:1003
↓ 5 callers
Method
addTaskRemote
* Add the passed-in task to the FiberManager. * * @param func Task functor; must have a signature of `void func()`. * The object
cachelib/navy/common/NavyThread.h:79
↓ 5 callers
Method
add_fetch
cachelib/common/AtomicCounter.h:80
↓ 5 callers
Method
adjustHandleCountForThread_private
cachelib/allocator/CacheAllocator.h:6032
↓ 5 callers
Function
align
cachelib/common/Utils.cpp:147
↓ 5 callers
Function
alignDown
Return a number that's equal or smaller than @num and aligned on @alignment
cachelib/allocator/nvmcache/NavySetup.cpp:38
↓ 5 callers
Function
alignUp
Return a number that's equal or bigger than @num and aligned on @alignment
cachelib/allocator/nvmcache/NavySetup.cpp:43
↓ 5 callers
Method
asanPoisonMemoryRegion
cachelib/allocator/memory/SlabAllocator.h:348
↓ 5 callers
Function
bytesToSlabs
cachelib/allocator/MemoryMonitor.cpp:140
↓ 5 callers
Method
cacheSetup
cachelib/persistence/tests/PersistenceCache.h:60
↓ 5 callers
Function
castToKey
cachelib/allocator/Util.h:152
↓ 5 callers
Function
checkContent
cachelib/navy/bighash/tests/BucketStorageTest.cpp:32
↓ 5 callers
Function
createCache
cachelib/experimental/deprecated_objcache/tests/Common.h:126
↓ 5 callers
Function
createNavyCache
cachelib/allocator/nvmcache/NavySetup.cpp:384
↓ 5 callers
Method
decayCountsBy
cachelib/common/CountMinSketch.h:225
↓ 5 callers
Method
decrementRefCount
cachelib/interface/tests/InterfaceTest.cpp:49
↓ 5 callers
Method
empty
If true it means there's no valid cache or parent handle assocaited with this BufferManager, no operation is valid.
cachelib/datatype/Buffer.h:357
↓ 5 callers
Method
enableAsyncIo
device settings
cachelib/allocator/nvmcache/NavyConfig.cpp:65
↓ 5 callers
Method
extendTTL
cachelib/allocator/CacheItem.h:1000
↓ 5 callers
Function
generateKeys
cachelib/benchmarks/StrictAliasingSafeReadBench.cpp:36
↓ 5 callers
Function
generateRandomString
cachelib/common/tests/HashTests.cpp:31
↓ 5 callers
Method
getAccesses
cachelib/common/AccessTracker.h:220
↓ 5 callers
Method
getBucketSize
cachelib/allocator/nvmcache/NavyConfig.h:745
↓ 5 callers
Method
getCleanRegion
cachelib/navy/block_cache/RegionManager.cpp:233
↓ 5 callers
Method
getCombinedEntryBlock
cachelib/navy/block_cache/CombinedEntryManager.cpp:83
↓ 5 callers
Method
getCounters
cachelib/navy/common/Device.cpp:572
↓ 5 callers
Function
getData
cachelib/allocator/KAllocation.h:190
↓ 5 callers
Method
getExpiryTime
cachelib/interface/components/RAMCacheComponent.cpp:74
↓ 5 callers
Method
getHitsThreshold
cachelib/allocator/nvmcache/NavyConfig.h:403
↓ 5 callers
Method
getItemWaitContext
cachelib/allocator/Handle.h:463
↓ 5 callers
Method
getMemory
cachelib/interface/tests/InterfaceTest.cpp:53
↓ 5 callers
Method
getMemory
Return the readonly memory
cachelib/cachebench/cache/Cache.h:227
↓ 5 callers
Method
getMemorySize
return the usable size in bytes for this allocator.
cachelib/allocator/memory/MemoryAllocator.h:412
↓ 5 callers
Method
getName
cachelib/navy/scheduler/ThreadPoolJobScheduler.h:70
↓ 5 callers
Method
getNumLocks
cachelib/allocator/ChainedHashTable.h:279
↓ 5 callers
Method
getNumSparseMapBuckets
cachelib/allocator/nvmcache/NavyConfig.h:295
↓ 5 callers
Method
getNvmAdmissionPolicy
Expose the admission policy for testing.
cachelib/allocator/tests/NvmAdmissionPolicyTest.cpp:31
↓ 5 callers
Method
getNvmCacheStatsMap
cachelib/allocator/CacheAllocator.h:6471
↓ 5 callers
Method
getOffsetForMemory
cachelib/allocator/CacheItem.h:690
↓ 5 callers
Method
getPctThreshold
cachelib/allocator/nvmcache/NavyConfig.h:405
↓ 5 callers
Method
getPoolUsableSize
return the usable size of the pool. Usable pool size is configured pool size minus advised away size
cachelib/allocator/memory/MemoryPool.h:93
↓ 5 callers
Method
getRunCount
cachelib/common/PeriodicWorker.h:88
↓ 5 callers
Method
getSizeHint
cachelib/navy/block_cache/Index.h:279
↓ 5 callers
Method
getSizePct
cachelib/allocator/nvmcache/NavyConfig.h:743
↓ 5 callers
Method
getSmallItemMaxSize
cachelib/allocator/nvmcache/NavyConfig.h:749
↓ 5 callers
Method
getSnapshot
get a snapshot across all instances.
cachelib/common/FastStats.h:77
↓ 5 callers
Method
getTestDurationNs
cachelib/cachebench/runner/Runner.h:69
↓ 5 callers
Method
getTotalObjectSizeLimit
Get the current total object size limit used by the size controller.
cachelib/object_cache/ObjectCache.h:443
↓ 5 callers
Function
hitRatioCalc
Calculates hit ratio, based on total operations and total misses @param ops total operations @param miss operations that missed
cachelib/allocator/Util.h:268
↓ 5 callers
Method
incRef
cachelib/allocator/CacheAllocator.h:3627
↓ 5 callers
Function
init_cache
Initialise the LRU cache based on the supplied config. This should be called once and once only per execution
cachelib/rust/src/lrucache.rs:469
↓ 5 callers
Method
invalidateToken
marks the token as invalidated. This will ensure that we dont execute any function on this token and simply remove the token when the token gets destr
cachelib/allocator/nvmcache/InFlightPuts.h:78
↓ 5 callers
Method
isEnabled
returns the current state of whether nvmcache is enabled or not. nvmcache can be disabled if the backend implementation ends up in a corrupt state
cachelib/allocator/nvmcache/NvmCache.h:220
↓ 5 callers
Method
isEnd
cachelib/navy/serialization/RecordIO.cpp:58
↓ 5 callers
Method
isEnd
cachelib/cachebench/consistency/ValueHistory.cpp:77
↓ 5 callers
Method
isLruEnabled
cachelib/allocator/nvmcache/NavyConfig.h:603
↓ 5 callers
Method
isMarkedForRemoval
cachelib/shm/Shm.h:150
↓ 5 callers
Function
isMoving
cachelib/allocator/Refcount.h:403
↓ 5 callers
Function
isPageAlignedSize
cachelib/shm/ShmCommon.cpp:40
↓ 5 callers
Function
makeHitsReinsertionConfig
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:68
↓ 5 callers
Function
mapLookupBench
cachelib/benchmarks/HashMapBenchmark.cpp:97
↓ 5 callers
Method
markWentToNvm
cachelib/allocator/Handle.h:484
↓ 5 callers
Function
mmapAlignedZeroedMemory
cachelib/common/Utils.cpp:168
↓ 5 callers
Method
notifyResult
cachelib/cachebench/workload/KVReplayGenerator.h:532
↓ 5 callers
Method
numAdvisedSlabs
returns the advised memory in the unit of slabs.
cachelib/allocator/CacheStats.h:634
↓ 5 callers
Method
numAllocAttempts
cachelib/allocator/CacheStats.cpp:388
↓ 5 callers
Method
numValidEntries
Get the number of valid entries
cachelib/navy/block_cache/CombinedEntryBlock.h:118
↓ 5 callers
Method
numWaiters
cachelib/common/ConditionVariable.h:62
↓ 5 callers
Method
peek
(&mut self, cnt: usize)
cachelib/rust/src/lrucache.rs:637
↓ 5 callers
Method
persist
cachelib/interface/utils/Persistence.h:33
↓ 5 callers
Method
persist
cachelib/navy/driver/tests/DriverTest.cpp:118
↓ 5 callers
Method
position
(&self)
cachelib/rust/src/lrucache.rs:684
← previous
next →
701–800 of 5,467, ranked by callers