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
1c3fcbe5
ROOT
/
go
/
store
/
nbs
/
mem_table.go
Search
History
225 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
WriteChunks
(chunks []chunks.Chunk)
:
(string, []byte, error)
writeChunksToMT
(mt *memTable, chunks []chunks.Chunk)
:
(string, []byte, error)
memTable
chunks
:
map[addr][]byte
order
:
[]hasRecord
maxData
:
uint64
totalData
:
uint64
snapper
:
snappyEncoder
newMemTable
(memTableSize uint64)
:
*memTable
*memTable
addChunk
(h addr, data []byte)
:
bool
count
()
:
(uint32, error)
uncompressedLen
()
:
(uint64, error)
has
(h addr)
:
(bool, error)
hasMany
(addrs []hasRecord)
:
(bool, error)
get
(ctx context.Context, h addr, stats *Stats)
:
([]byte, error)
getMany
(ctx context.Context, eg *errgroup.Group, reqs []getRecord, found func(context.Context, *chunks.Chunk), stats *Stats)
:
(bool, error)
getManyCompressed
(ctx context.Context, eg *errgroup.Group, reqs []getRecord, found func(context.Context, CompressedChunk), stats *Stats)
:
(bool, error)
extract
(ctx context.Context, chunks chan<- extractRecord)
:
error
write
(haver chunkReader, stats *Stats)
:
(name addr, data []byte, count uint32, err error)
close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover