crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
v0.41.7
ROOT
/
go
/
libraries
/
doltcore
/
remotestorage
/
map_chunk_cache.go
Search
History
144 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
mapChunkCache
mu
:
*sync.Mutex
hashToChunk
:
map[hash.Hash]nbs.CompressedChunk
toFlush
:
map[hash.Hash]nbs.CompressedChunk
cm
:
CapacityMonitor
newMapChunkCache
()
:
*mapChunkCache
NewMapChunkCacheWithMaxCapacity
(maxCapacity int64)
:
*mapChunkCache
*mapChunkCache
Put
(chnks []nbs.CompressedChunk)
:
bool
Get
(hashes hash.HashSet)
:
map[hash.Hash]nbs.CompressedChunk
Has
(hashes hash.HashSet)
:
(absent hash.HashSet)
PutChunk
(ch nbs.CompressedChunk)
:
bool
GetAndClearChunksToFlush
()
:
map[hash.Hash]nbs.CompressedChunk
All occurrences
Please wait...
Page is in error, reload to recover