MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / pushDataByStartEnd

Function pushDataByStartEnd

tx_list_test.go:29–33  ·  view source on GitHub ↗
(t *testing.T, db *DB, bucket string, key int, start, end int, isLeft bool)

Source from the content-addressed store, hash-verified

27)
28
29func pushDataByStartEnd(t *testing.T, db *DB, bucket string, key int, start, end int, isLeft bool) {
30 for i := start; i <= end; i++ {
31 txPush(t, db, bucket, testutils.GetTestBytes(key), testutils.GetTestBytes(i), isLeft, nil, nil)
32 }
33}
34
35func pushDataByValues(t *testing.T, db *DB, bucket string, key int, isLeft bool, values ...int) {
36 for _, v := range values {

Callers 11

TestTx_RPushFunction · 0.85
TestTx_LPushFunction · 0.85
TestTx_LPopFunction · 0.85
TestTx_RPopFunction · 0.85
TestTx_LRangeFunction · 0.85
TestTx_LRemFunction · 0.85
TestTx_LTrimFunction · 0.85
TestTx_LSizeFunction · 0.85
TestTx_LRemByIndexFunction · 0.85
TestTx_ExpireListFunction · 0.85
TestTx_GetListTTLFunction · 0.85

Calls 2

GetTestBytesFunction · 0.92
txPushFunction · 0.85

Tested by

no test coverage detected