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.50.12
ROOT
/
go
/
store
/
nbs
/
table_writer.go
Search
History
215 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
tableWriter
buff
:
[]byte
pos
:
uint64
totalCompressedData
:
uint64
totalUncompressedData
:
uint64
prefixes
:
prefixIndexSlice
blockHash
:
hash.Hash
snapper
:
snappyEncoder
snappyEncoder
Encode
(dst, src []byte)
:
[]byte
realSnappyEncoder
Encode
(dst, src []byte)
:
[]byte
maxTableSize
(numChunks, totalData uint64)
:
uint64
indexSize
(numChunks uint32)
:
uint64
lengthsOffset
(numChunks uint32)
:
uint64
suffixesOffset
(numChunks uint32)
:
uint64
newTableWriter
(buff []byte, snapper snappyEncoder)
:
*tableWriter
prefixIndexRec
prefix
:
uint64
suffix
:
[]byte
order
:
uint32
size
:
uint32
prefixIndexSlice
Len
()
:
int
Less
(i, j int)
:
bool
Swap
(i, j int)
writeFooter
(dst []byte, chunkCount uint32, uncData uint64)
:
(consumed uint64)
*tableWriter
addChunk
(h addr, data []byte)
:
bool
finish
()
:
(uncompressedLength uint64, blockAddr addr, err error)
writeIndex
()
:
error
writeFooter
()
All occurrences
Please wait...
Page is in error, reload to recover