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
2aa11235
ROOT
/
go
/
store
/
types
/
map.go
Search
History
915 lines
|
ISO-8859-1
|
19 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ValueInRange
ErrKeysNotOrdered
EmptyMap
:
Map
Map
orderedSequence
Diff
(ctx context.Context, last Map, changes chan<- ValueChanged)
:
error
DiffLeftRight
(ctx context.Context, last Map, changes chan<- ValueChanged)
:
error
DiffLeftRightInRange
(ctx context.Context, last Map, start Value, inRange ValueInRange, changes chan<- ValueChanged)
:
error
asSequence
()
:
sequence
Value
(ctx context.Context)
:
(Value, error)
firstOrLast
(ctx context.Context, last bool)
:
(Value, Value, error)
Empty
()
:
bool
Format
()
:
*NomsBinFormat
First
(ctx context.Context)
:
(Value, Value, error)
Last
(ctx context.Context)
:
(Value, Value, error)
At
(ctx context.Context, idx uint64)
:
(key, value Value, err error)
MaybeGet
(ctx context.Context, key Value)
:
(v Value, ok bool, err error)
MaybeGetTuple
(ctx context.Context, key Tuple)
:
(v Tuple, ok bool, err error)
Has
(ctx context.Context, key Value)
:
(bool, error)
Iter
(ctx context.Context, cb mapIterCallback)
:
error
Any
(ctx context.Context, cb func(k, v Value) bool)
:
(yep bool, err error)
isPrimitive
()
:
bool
Iterator
(ctx context.Context)
:
(MapIterator, error)
IteratorAt
(ctx context.Context, pos uint64)
:
(MapIterator, error)
BufferedIterator
(ctx context.Context)
:
(MapIterator, error)
BufferedIteratorAt
(ctx context.Context, pos uint64)
:
(MapIterator, error)
IteratorFrom
(ctx context.Context, key Value)
:
(MapIterator, error)
IteratorBackFrom
(ctx context.Context, key Value)
:
(MapIterator, error)
IterAll
(ctx context.Context, cb mapIterAllCallback)
:
error
IterRange
(ctx context.Context, startIdx, endIdx uint64, cb mapIterAllCallback)
:
error
IterFrom
(ctx context.Context, start Value, cb mapIterCallback)
:
error
Edit
()
:
*MapEditor
readFrom
(nbf *NomsBinFormat, b *binaryNomsReader)
:
(Value, error)
skip
(nbf *NomsBinFormat, b *binaryNomsReader)
String
()
:
string
HumanReadableString
()
:
string
IndexForKey
(ctx context.Context, key Value)
:
(int64, error)
newMap
(seq orderedSequence)
:
Map
mapHashValueBytes
(item sequenceItem, sp sequenceSplitter)
:
error
newMapChunker
(nbf *NomsBinFormat, salt byte)
:
sequenceSplitter
NewMap
(ctx context.Context, vrw ValueReadWriter, kv ...Value)
:
(Map, error)
NewStreamingMap
(ctx context.Context, vrw ValueReadWriter, kvs <-chan Value)
:
*StreamingMap
StreamingMap
eg
:
*errgroup.Group
egCtx
:
context.Context
m
:
Map
readMapInput
(ctx context.Context, vrw ValueReadWriter, kvs <-chan Value)
:
(Map, error)
mapIterCallback
mapIterAllCallback
buildMapData
(nbf *NomsBinFormat, values []Value)
:
(mapEntrySlice, error)
makeMapLeafChunkFn
(vrw ValueReadWriter)
:
makeChunkFn
newEmptyMapSequenceChunker
(ctx context.Context, vrw ValueReadWriter)
:
(*sequenceChunker, error)
VisitMapLevelOrder
(m Map, cb func(h hash.Hash) (int64, error))
:
(int64, int64, error)
VisitMapLevelOrderSized
(ms []Map, batchSize int, cb func(h hash.Hash) (int64, error))
:
(int64, int64, error)
IsMapLeaf
(m Map)
:
bool
indexForKeyWithinSubtree
(ctx context.Context, key orderedKey, metaSeq metaSequence, vrw ValueReadWriter)
:
(int64, error)
MapUnionConflictCB
UnionMaps
(ctx context.Context, a Map, b Map, cb MapUnionConflictCB)
:
(Map, error)
*StreamingMap
Wait
()
:
(Map, error)
Done
()
:
<-chan struct{}
All occurrences
Please wait...
Page is in error, reload to recover