MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / TestAdaptiveRadixTree_Put

Function TestAdaptiveRadixTree_Put

engine/index/art_test.go:9–14  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestAdaptiveRadixTree_Put(t *testing.T) {
10 art := NewART()
11 art.Put([]byte("key-1"), &data.LogRecordPst{Fid: 1, Offset: 12})
12 art.Put([]byte("key-1"), &data.LogRecordPst{Fid: 1, Offset: 12})
13 art.Put([]byte("key-1"), &data.LogRecordPst{Fid: 1, Offset: 12})
14}
15
16func TestAdaptiveRadixTree_Get(t *testing.T) {
17 art := NewART()

Callers

nothing calls this directly

Calls 2

NewARTFunction · 0.85
PutMethod · 0.65

Tested by

no test coverage detected