MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / createShardedMap

Function createShardedMap

query/math_test.go:43–47  ·  view source on GitHub ↗
(id uint64, val types.Val)

Source from the content-addressed store, hash-verified

41}
42
43func createShardedMap(id uint64, val types.Val) *types.ShardedMap {
44 k := types.NewShardedMap()
45 k.Set(id, val)
46 return k
47}
48
49func TestVector(t *testing.T) {
50 tree := &mathTree{

Callers 4

TestVectorFunction · 0.85
TestProcessBinaryBooleanFunction · 0.85
TestBigFloatMathsBooleanFunction · 0.85
TestProcessTernaryFunction · 0.85

Calls 2

SetMethod · 0.95
NewShardedMapFunction · 0.92

Tested by

no test coverage detected