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
/
list.go
Search
History
523 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
EmptyList
:
List
List
sequence
ToSet
(ctx context.Context)
:
(Set, error)
Edit
()
:
*ListEditor
asSequence
()
:
sequence
Value
(ctx context.Context)
:
(Value, error)
Get
(ctx context.Context, idx uint64)
:
(Value, error)
Concat
(ctx context.Context, other List)
:
(List, error)
isPrimitive
()
:
bool
Iter
(ctx context.Context, f func(v Value, index uint64) (stop bool, err error))
:
error
IterRange
(ctx context.Context, startIdx, endIdx uint64, f func(v Value, idx uint64) error)
:
error
IterAll
(ctx context.Context, f func(v Value, index uint64) error)
:
error
Iterator
(ctx context.Context)
:
(ListIterator, error)
IteratorAt
(ctx context.Context, index uint64)
:
(ListIterator, error)
Format
()
:
*NomsBinFormat
Diff
(ctx context.Context, last List, changes chan<- Splice)
:
error
DiffWithLimit
(ctx context.Context, last List, changes chan<- Splice, maxSpliceMatrixSize uint64)
:
error
newChunker
(ctx context.Context, cur *sequenceCursor, vrw ValueReadWriter)
:
(*sequenceChunker, error)
readFrom
(nbf *NomsBinFormat, b *binaryNomsReader)
:
(Value, error)
skip
(nbf *NomsBinFormat, b *binaryNomsReader)
String
()
:
string
HumanReadableString
()
:
string
newList
(seq sequence)
:
List
NewList
(ctx context.Context, vrw ValueReadWriter, values ...Value)
:
(List, error)
NewStreamingList
(ctx context.Context, vrw ValueReadWriter, ae *atomicerr.AtomicError, values <-chan Value)
:
<-chan List
iterAll
(ctx context.Context, col Collection, f func(v Value, index uint64) error)
:
error
collTupleRangeIter
leaves
:
[]Collection
currLeaf
:
int
startIdx
:
uint64
endIdx
:
uint64
valsPerIdx
:
uint64
currLeafValues
:
[]Tuple
leafValPos
:
int
nbf
:
*NomsBinFormat
tupleBuffer
:
[]Tuple
newCollRangeIter
(ctx context.Context, col Collection, startIdx, endIdx uint64)
:
(*collTupleRangeIter, error)
iterRange
(ctx context.Context, col Collection, startIdx, endIdx uint64, cb func(v Value) error)
:
(uint64, error)
newListChunker
(nbf *NomsBinFormat, salt byte)
:
sequenceSplitter
makeListLeafChunkFn
(vrw ValueReadWriter)
:
makeChunkFn
newEmptyListSequenceChunker
(ctx context.Context, vrw ValueReadWriter)
:
(*sequenceChunker, error)
*collTupleRangeIter
Next
()
:
(Tuple, error)
All occurrences
Please wait...
Page is in error, reload to recover