MCPcopy Index your code
hub / github.com/prometheus/client_python / _pack_integer

Function _pack_integer

prometheus_client/mmap_dict.py:23–24  ·  view source on GitHub ↗
(data, pos, value)

Source from the content-addressed store, hash-verified

21
22
23def _pack_integer(data, pos, value):
24 data[pos:pos + 4] = _pack_integer_func(value)
25
26
27def _read_all_values(data, used=0):

Callers 2

__init__Method · 0.85
_init_valueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected