MCPcopy Create free account
hub / github.com/prometheus/client_python / _pack_two_doubles

Function _pack_two_doubles

prometheus_client/mmap_dict.py:19–20  ·  view source on GitHub ↗
(data, pos, value, timestamp)

Source from the content-addressed store, hash-verified

17
18
19def _pack_two_doubles(data, pos, value, timestamp):
20 data[pos:pos + 16] = _pack_two_doubles_func(value, timestamp)
21
22
23def _pack_integer(data, pos, value):

Callers 1

write_valueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected