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
2e4d56cf
ROOT
/
go
/
store
/
nbs
/
table_index.go
Search
History
563 lines
|
UTF-8
|
16 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrWrongBufferSize
ErrWrongCopySize
tableIndex
entrySuffixMatches
(idx uint32, h *addr)
:
(bool, error)
indexEntry
(idx uint32, a *addr)
:
(indexEntry, error)
lookup
(h *addr)
:
(indexEntry, bool, error)
ordinals
()
:
([]uint32, error)
prefixes
()
:
([]uint64, error)
chunkCount
()
:
uint32
tableFileSize
()
:
uint64
totalUncompressedData
()
:
uint64
Close
()
:
error
clone
()
:
(tableIndex, error)
ReadTableFooter
(rd io.ReadSeeker)
:
(chunkCount uint32, totalUncompressedData uint64, err error)
parseTableIndex
(ctx context.Context, buff []byte, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
parseTableIndexWithOffsetBuff
(buff []byte, offsetsBuff1 []byte, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
parseTableIndexByCopy
(ctx context.Context, buff []byte, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
readTableIndexByCopy
(ctx context.Context, rd io.ReadSeeker, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
onHeapTableIndex
prefixTuples
:
[]byte
offsets1
:
[]byte
offsets2
:
[]byte
suffixes
:
[]byte
footer
:
[]byte
q
:
MemoryQuotaProvider
refCnt
:
*int32
count
:
uint32
tableFileSz
:
uint64
uncompressedSz
:
uint64
entrySuffixMatches
(idx uint32, h *addr)
:
(bool, error)
indexEntry
(idx uint32, a *addr)
:
(entry indexEntry, err error)
getIndexEntry
(ord uint32)
:
indexEntry
lookup
(h *addr)
:
(indexEntry, bool, error)
lookupOrdinal
(h *addr)
:
(uint32, error)
findPrefix
(prefix uint64)
:
(idx uint32)
tupleAt
(idx uint32)
:
(prefix uint64, ord uint32)
prefixAt
(idx uint32)
:
uint64
ordinalAt
(idx uint32)
:
uint32
offsetAt
(ord uint32)
:
uint64
ordinals
()
:
([]uint32, error)
prefixes
()
:
([]uint64, error)
hashAt
(idx uint32)
:
hash.Hash
prefixIdxLBound
(prefix uint64)
:
uint32
prefixIdxUBound
(prefix uint64)
:
(idx uint32)
padStringAndDecode
(s string, p string)
:
uint64
chunkCount
()
:
uint32
tableFileSize
()
:
(sz uint64)
totalUncompressedData
()
:
uint64
Close
()
:
error
clone
()
:
(tableIndex, error)
ResolveShortHash
(short []byte)
:
([]string, error)
_
:
tableIndex
newOnHeapTableIndex
(indexBuff []byte, offsetsBuff1 []byte, count uint32, totalUncompressedData uint64, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
All occurrences
Please wait...
Page is in error, reload to recover