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
0324e075
ROOT
/
go
/
store
/
types
/
map_test.go
Search
History
2288 lines
|
ISO-8859-1
|
61 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
testMapSize
genValueFn
testMap
entries
:
mapEntrySlice
knownBadKey
:
Value
SetValue
(i int, v Value)
:
testMap
Remove
(from, to int)
:
testMap
MaybeGet
(key Value)
:
(v Value, ok bool)
Diff
(last testMap)
:
(added []Value, removed []Value, modified []Value)
toMap
(vrw ValueReadWriter)
:
Map
Flatten
(from, to int)
:
[]Value
FlattenAll
()
:
[]Value
toValuable
(vs ValueSlice)
:
[]Valuable
newSortedTestMap
(nbf *NomsBinFormat, length int, gen genValueFn)
:
testMap
newTestMapFromMap
(m Map)
:
testMap
newRandomTestMap
(nbf *NomsBinFormat, length int, gen genValueFn)
:
testMap
validateMap
(t *testing.T, vrw ValueReadWriter, m Map, entries mapEntrySlice)
mapTestSuite
collectionTestSuite
elems
:
testMap
newMapTestSuite
(size uint, expectChunkCount int, expectPrependChunkDiff int, expectAppendChunkDiff int, gen genValueFn)
:
*mapTestSuite
TestMapSuite4K
(t *testing.T)
TestMapSuite4KStructs
(t *testing.T)
newNumber
(nbf *NomsBinFormat, i int)
:
(Value, error)
newNumberStruct
(nbf *NomsBinFormat, i int)
:
(Value, error)
getTestNativeOrderMap
(scale int, vrw ValueReadWriter)
:
testMap
getTestRefValueOrderMap
(scale int, vrw ValueReadWriter)
:
testMap
getTestRefToNativeOrderMap
(scale int, vrw ValueReadWriter)
:
testMap
getTestRefToValueOrderMap
(scale int, vrw ValueReadWriter)
:
testMap
accumulateMapDiffChanges
(m1, m2 Map)
:
(added []Value, removed []Value, modified []Value, err error)
diffMapTest
(assert *assert.Assertions, m1 Map, m2 Map, numAddsExpected int, numRemovesExpected int, numModifiedExpected int)
:
(added []Value, removed []Value, modified []Value)
TestMapDiff
(t *testing.T)
TestMapMutationReadWriteCount
(t *testing.T)
TestMapInfiniteChunkBug
(t *testing.T)
TestNewMap
(t *testing.T)
TestMapUniqueKeysString
(t *testing.T)
TestMapUniqueKeysNumber
(t *testing.T)
toTestMapFunc
TestMapHas
(t *testing.T)
hasAll
(m Map, keys ...string)
:
bool
hasNone
(m Map, keys ...string)
:
bool
TestMapHasRemove
(t *testing.T)
TestMapRemove
(t *testing.T)
TestMapRemoveNonexistentKey
(t *testing.T)
TestMapFirst
(t *testing.T)
TestMapFirst2
(t *testing.T)
TestMapLast
(t *testing.T)
TestMapLast2
(t *testing.T)
TestMapSetGet
(t *testing.T)
validateMapInsertion
(t *testing.T, vrw ValueReadWriter, tm testMap)
TestMapValidateInsertAscending
(t *testing.T)
TestMapSet
(t *testing.T)
TestMapSetM
(t *testing.T)
TestMapSetExistingKeyToNewValue
(t *testing.T)
TestMapDuplicateSet
(t *testing.T)
TestMapMaybeGet
(t *testing.T)
TestMapIter
(t *testing.T)
TestMapIter2
(t *testing.T)
TestMapAny
(t *testing.T)
TestMapIterAll
(t *testing.T)
TestMapEquals
(t *testing.T)
TestMapNotStringKeys
(t *testing.T)
testMapOrder
(assert *assert.Assertions, vrw ValueReadWriter, keyType, valueType *Type, tuples []Value, expectOrdering []Value)
TestMapOrdering
(t *testing.T)
TestMapEmpty
(t *testing.T)
TestMapType
(t *testing.T)
TestMapChunks
(t *testing.T)
TestMapFirstNNumbers
(t *testing.T)
TestMapRefOfStructFirstNNumbers
(t *testing.T)
TestMapModifyAfterRead
(t *testing.T)
TestMapTypeAfterMutations
(t *testing.T)
TestCompoundMapWithValuesOfEveryType
(t *testing.T)
TestMapRemoveLastWhenNotLoaded
(t *testing.T)
TestMapIterFrom
(t *testing.T)
TestMapAt
(t *testing.T)
TestMapWithStructShouldHaveOptionalFields
(t *testing.T)
TestMapWithNil
(t *testing.T)
TestVisitMapLevelOrderSized
(t *testing.T)
TestMapIndexForKey
(t *testing.T)
intMap
(vrw ValueReadWriter, keys ...int)
:
Map
TestUnionMaps
(t *testing.T)
*mapTestSuite
createStreamingMap
(vs *ValueStore)
:
Map
TestStreamingMap
()
TestStreamingMapOrder
()
TestStreamingMap2
()
All occurrences
Please wait...
Page is in error, reload to recover