Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bnb-chain/bsc
/ Reset
Method
Reset
ethdb/batch.go:35–35 ·
view source on GitHub ↗
Reset resets the batch for reuse.
()
Source
from the content-addressed store, hash-verified
33
34
// Reset resets the batch for reuse.
35
Reset()
36
37
// Replay replays the batch contents.
38
Replay(w KeyValueWriter) error
Callers
15
InsertReceiptChain
Method · 0.95
trustedDiffLayerLoop
Method · 0.95
Commit
Method · 0.95
freeze
Method · 0.95
gcKvStore
Function · 0.95
TestDatabaseSuite
Function · 0.95
Cap
Method · 0.95
Commit
Method · 0.95
BenchmarkEncodeBigInts
Function · 0.65
BenchmarkEncodeU256Ints
Function · 0.65
BenchmarkEncodeConcurrentInterface
Function · 0.65
BenchmarkEncodeByteArrayStruct
Function · 0.65
Implementers
6
tableBatch
core/rawdb/table.go
spongeBatch
tests/fuzzers/stacktrie/trie_fuzzer.go
batch
ethdb/memorydb/memorydb.go
batch
ethdb/pebble/pebble.go
batch
ethdb/leveldb/leveldb.go
spongeBatch
trie/trie_test.go
Calls
no outgoing calls
Tested by
12
TestDatabaseSuite
Function · 0.76
BenchmarkEncodeBigInts
Function · 0.52
BenchmarkEncodeU256Ints
Function · 0.52
BenchmarkEncodeConcurrentInterface
Function · 0.52
BenchmarkEncodeByteArrayStruct
Function · 0.52
BenchmarkEncodeStructPtrSlice
Function · 0.52
TestUnmarshal
Function · 0.52
TestUnpackTuple
Function · 0.52
TestHashing
Function · 0.52
BenchmarkHashing
Function · 0.52
wsPingTestHandler
Function · 0.52
TestReset
Function · 0.52