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

Function addString

internal/driver/driver_test.go:291–298  ·  view source on GitHub ↗
(name []string, f *testFlags, components []string)

Source from the content-addressed store, hash-verified

289}
290
291func addString(name []string, f *testFlags, components []string) []string {
292 for _, c := range components {
293 if f.bools[c] || f.strings[c] != "" || f.ints[c] != 0 {
294 return append(name, c)
295 }
296 }
297 return name
298}
299
300// testFlags implements the plugin.FlagSet interface.
301type testFlags struct {

Callers 1

solutionFilenameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…