MCPcopy
hub / github.com/protocolbuffers/protobuf-go / Done

Method Done

internal/protolazy/bufferreader.go:357–359  ·  view source on GitHub ↗

Done returns whether we are at the end of the protobuf

()

Source from the content-addressed store, hash-verified

355
356// Done returns whether we are at the end of the protobuf
357func (b *BufferReader) Done() bool {
358 return b.Pos == len(b.Buf)
359}
360
361// Remaining returns how many bytes remain
362func (b *BufferReader) Remaining() int {

Callers 11

buildIndexFunction · 0.95
TestIntegrationFunction · 0.80
TestMergeRaceFunction · 0.80
TestExtensionGetRaceFunction · 0.80
execCaseFunction · 0.80
TestUnsafeAssumptionsFunction · 0.80
TestAberrantRaceFunction · 0.80
TestLegacyConcurrentInitFunction · 0.80

Calls

no outgoing calls

Tested by 10

TestIntegrationFunction · 0.64
TestMergeRaceFunction · 0.64
TestExtensionGetRaceFunction · 0.64
execCaseFunction · 0.64
TestUnsafeAssumptionsFunction · 0.64
TestAberrantRaceFunction · 0.64
TestLegacyConcurrentInitFunction · 0.64