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
57854eb3
ROOT
/
go
/
store
/
prolly
/
tree
/
testutils.go
Search
History
329 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
testRand
NewTupleLeafNode
(keys, values []val.Tuple)
:
Node
RandomTuplePairs
(count int, keyDesc, valDesc val.TupleDesc, ns NodeStore)
:
(items [][2]val.Tuple)
RandomCompositeTuplePairs
(count int, keyDesc, valDesc val.TupleDesc, ns NodeStore)
:
(items [][2]val.Tuple)
AscendingUintTuples
(count int)
:
(tuples [][2]val.Tuple, desc val.TupleDesc)
RandomTuple
(tb *val.TupleBuilder, ns NodeStore)
:
(tup val.Tuple)
CloneRandomTuples
(items [][2]val.Tuple)
:
(clone [][2]val.Tuple)
SortTuplePairs
(items [][2]val.Tuple, keyDesc val.TupleDesc)
ShuffleTuplePairs
(items [][2]val.Tuple)
newLeafNode
(keys, values []Item)
:
Node
deduplicateTuples
(desc val.TupleDesc, tups [][2]val.Tuple)
:
(uniq [][2]val.Tuple)
randomField
(tb *val.TupleBuilder, idx int, typ val.Type, ns NodeStore)
NewTestNodeStore
()
:
NodeStore
nodeStoreValidator
ns
:
NodeStore
bb
:
*sync.Pool
Read
(ctx context.Context, ref hash.Hash)
:
(Node, error)
ReadMany
(ctx context.Context, refs hash.HashSlice)
:
([]Node, error)
Write
(ctx context.Context, nd Node)
:
(hash.Hash, error)
Pool
()
:
pool.BuffPool
BlobBuilder
()
:
*BlobBuilder
Format
()
:
*types.NomsBinFormat
All occurrences
Please wait...
Page is in error, reload to recover