MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / MustGetUint64

Method MustGetUint64

pkg/event/param.go:503–509  ·  view source on GitHub ↗

MustGetUint64 returns the underlying uint64 value parameter. It panics if an error occurs while trying to get the parameter.

(name string)

Source from the content-addressed store, hash-verified

501// MustGetUint64 returns the underlying uint64 value parameter. It panics if
502// an error occurs while trying to get the parameter.
503func (pars Params) MustGetUint64(name string) uint64 {
504 v, err := pars.GetUint64(name)
505 if err != nil {
506 panic(err)
507 }
508 return v
509}
510
511// TryGetUint64 tries to retrieve the uint64 value from the parameter.
512// Returns the underlying value on success, or zero otherwise.

Callers 8

GetMethod · 0.80
GetMethod · 0.80
ScanMethod · 0.80
PartialKeyMethod · 0.80
TestEventSourceAllEventsFunction · 0.80
processEventMethod · 0.80
ProcessEventMethod · 0.80
processEventMethod · 0.80

Calls 1

GetUint64Method · 0.95

Tested by 1

TestEventSourceAllEventsFunction · 0.64