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

Method Int

internal/driver/driver_test.go:321–326  ·  view source on GitHub ↗
(s string, d int, c string)

Source from the content-addressed store, hash-verified

319}
320
321func (f testFlags) Int(s string, d int, c string) *int {
322 if i, ok := f.ints[s]; ok {
323 return &i
324 }
325 return &d
326}
327
328func (f testFlags) Float64(s string, d float64, c string) *float64 {
329 if g, ok := f.floats[s]; ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected