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

Method TestProtectedBuffer

credentials/alts/internal/conn/record_test.go:367–371  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

365}
366
367func (s) TestProtectedBuffer(t *testing.T) {
368 for _, rp := range recordProtocols {
369 testProtectedBuffer(t, rp)
370 }
371}
372
373// BenchmarkWriteMemoryUsage measures the allocations per ALTS connection.
374// Run this with: go test -bench=BenchmarkWriteMemoryUsage -benchmem

Callers

nothing calls this directly

Calls 1

testProtectedBufferFunction · 0.85

Tested by

no test coverage detected