MCPcopy
hub / github.com/grpc/grpc-go / clear

Method clear

binarylog/binarylog_end2end_test.go:99–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (s *testBinLogSink) clear() {
100 s.mu.Lock()
101 s.buf = nil
102 s.mu.Unlock()
103}
104
105var (
106 // For headers:

Callers 3

testClientBinaryLogFunction · 0.45
testServerBinaryLogFunction · 0.45
TestCanceledStatusMethod · 0.45

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected