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_index.go
Search
History
696 lines
|
UTF-8
|
19 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrWrongBufferSize
ErrWrongCopySize
tableIndex
ChunkCount
()
:
uint32
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)
PrefixAt
(idx uint32)
:
uint64
TableFileSize
()
:
uint64
TotalUncompressedData
()
:
uint64
Close
()
:
error
Clone
()
:
(tableIndex, error)
ReadTableFooter
(rd io.ReadSeeker)
:
(chunkCount uint32, totalUncompressedData uint64, err error)
indexMemSize
(chunkCount uint32)
:
uint64
parseTableIndex
(buff []byte, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
parseTableIndexWithOffsetBuff
(buff []byte, offsetsBuff1 []byte, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
removeFooter
(p []byte, chunkCount uint32)
:
(out []byte, err error)
parseTableIndexByCopy
(buff []byte, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
readTableIndexByCopy
(rd io.ReadSeeker, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
onHeapTableIndex
q
:
MemoryQuotaProvider
refCnt
:
*int32
tableFileSize
:
uint64
tupleB
:
[]byte
offsetB1
:
[]byte
offsetB2
:
[]byte
suffixB
:
[]byte
chunkCount
:
uint32
totalUncompressedData
:
uint64
ChunkCount
()
:
uint32
PrefixAt
(idx uint32)
:
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
ResolveShortHash
(short []byte)
:
([]string, error)
TableFileSize
()
:
uint64
TotalUncompressedData
()
:
uint64
Close
()
:
error
Clone
()
:
(tableIndex, error)
_
:
tableIndex
newOnHeapTableIndex
(indexBuff []byte, offsetsBuff1 []byte, chunkCount uint32, totalUncompressedData uint64, q MemoryQuotaProvider)
:
(onHeapTableIndex, error)
mmapTableIndex
onHeapTableIndex
refCnt
:
*int32
q
:
MemoryQuotaProvider
mmapped
:
mmapWStat
indexDataBuff
:
[]byte
offset1DataBuff
:
[]byte
newMmapTableIndex
(chunkCount uint32)
:
(*mmapTableIndex, error)
notifyFunc
noOpNotify
mmapStats
mu
:
sync.Mutex
totalUsed
:
uint64
WillMmap
:
notifyFunc
Mmapped
:
notifyFunc
UnMapped
:
notifyFunc
GlobalMmapStats
mmapWStat
m
:
mmap.MMap
used
:
uint64
Unmap
()
:
error
mmapWithStats
(f *os.File, length int, prot, flags int, offset int64)
:
(mmapWStat, error)
*mmapTableIndex
Clone
()
:
(tableIndex, error)
Close
()
:
error
parseIndexBuffer
(q MemoryQuotaProvider)
:
(err error)
All occurrences
Please wait...
Page is in error, reload to recover