MCPcopy Create free account
hub / github.com/google/pprof / Bool

Method Bool

internal/driver/driver_test.go:314–319  ·  view source on GitHub ↗
(s string, d bool, c string)

Source from the content-addressed store, hash-verified

312func (testFlags) AddExtraUsage(eu string) {}
313
314func (f testFlags) Bool(s string, d bool, c string) *bool {
315 if b, ok := f.bools[s]; ok {
316 return &b
317 }
318 return &d
319}
320
321func (f testFlags) Int(s string, d int, c string) *int {
322 if i, ok := f.ints[s]; ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected