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.go
Search
History
314 lines
|
ISO-8859-1
|
11 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
addrSize
addrPrefixSize
addrSuffixSize
uint64Size
uint32Size
ordinalSize
lengthSize
offsetSize
magicNumber
magicNumberSize
footerSize
prefixTupleSize
checksumSize
maxChunkSize
crcTable
crc
(b []byte)
:
uint32
computeAddrDefault
(data []byte)
:
addr
computeAddr
addr
String
()
:
string
Prefix
()
:
uint64
Checksum
()
:
uint32
encoding
parseAddr
(str string)
:
(addr, error)
ValidateAddr
(s string)
:
bool
addrSlice
Len
()
:
int
Less
(i, j int)
:
bool
Swap
(i, j int)
hasRecord
a
:
*addr
prefix
:
uint64
order
:
int
has
:
bool
hasRecordByPrefix
Len
()
:
int
Less
(i, j int)
:
bool
Swap
(i, j int)
hasRecordByOrder
Len
()
:
int
Less
(i, j int)
:
bool
Swap
(i, j int)
getRecord
a
:
*addr
prefix
:
uint64
found
:
bool
getRecordByPrefix
Len
()
:
int
Less
(i, j int)
:
bool
Swap
(i, j int)
extractRecord
a
:
addr
data
:
[]byte
err
:
error
chunkReader
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)
count
()
:
(uint32, error)
uncompressedLen
()
:
(uint64, error)
close
()
:
error
chunkSource
chunkReader
hash
()
:
(addr, error)
reader
(context.Context)
:
(io.Reader, error)
size
()
:
(uint64, error)
index
()
:
(tableIndex, error)
clone
()
:
(chunkSource, error)
chunkSources
TableFile
FileID
()
:
string
NumChunks
()
:
int
Open
(ctx context.Context)
:
(io.ReadCloser, uint64, error)
TableFileStoreOps
CanRead
:
bool
CanWrite
:
bool
CanPrune
:
bool
CanGC
:
bool
TableFileStore
Sources
(ctx context.Context)
:
(hash.Hash, []TableFile, []TableFile, error)
Size
(ctx context.Context)
:
(uint64, error)
WriteTableFile
(ctx context.Context, fileId string, numChunks int, contentHash []byte, getRd func() (io.ReadCloser, uint64, error))
:
error
AddTableFilesToManifest
(ctx context.Context, fileIdToNumChunks map[string]int)
:
error
PruneTableFiles
(ctx context.Context)
:
error
SetRootChunk
(ctx context.Context, root, previous hash.Hash)
:
error
SupportedOperations
()
:
TableFileStoreOps
All occurrences
Please wait...
Page is in error, reload to recover