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

Method Int

pkg/filament/cpython/object.go:323–325  ·  view source on GitHub ↗

Int returns an integer from the raw Python object.

()

Source from the content-addressed store, hash-verified

321
322// Int returns an integer from the raw Python object.
323func (ob *PyObject) Int() int {
324 return int(C.PyLong_AsUnsignedLongLong(ob.rawptr))
325}
326
327// Time returns the time from the raw Python object.
328func (ob *PyObject) Time() time.Time {

Callers 7

AddFlagsFunction · 0.80
SizeMethod · 0.80
AddFlagsFunction · 0.80
AddFlagsMethod · 0.80
GetSliceMethod · 0.80
addFlagsMethod · 0.80

Calls

no outgoing calls

Tested by 1