MCPcopy Create free account
hub / github.com/prometheus/procfs / PInt64

Method PInt64

internal/util/valueparser.go:41–48  ·  view source on GitHub ↗

PInt64 interprets the underlying value as an int64 and returns a pointer to that value.

()

Source from the content-addressed store, hash-verified

39// PInt64 interprets the underlying value as an int64 and returns a pointer to
40// that value.
41func (vp *ValueParser) PInt64() *int64 {
42 if vp.err != nil {
43 return nil
44 }
45
46 v := vp.int64()
47 return &v
48}
49
50// int64 interprets the underlying value as an int64 and returns that value.
51// TODO: export if/when necessary.

Callers 7

parseZoneinfoFunction · 0.95
parseKVMethod · 0.95
VMMethod · 0.95
parseWatchdogMethod · 0.95
parsePowerSupplyFunction · 0.95
ParseNetClassAttributeFunction · 0.95
TestValueParserFunction · 0.95

Calls 1

int64Method · 0.95

Tested by 1

TestValueParserFunction · 0.76