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

Method _read_all_values

prometheus_client/mmap_dict.py:112–114  ·  view source on GitHub ↗

Yield (key, value, pos). No locking is performed.

(self)

Source from the content-addressed store, hash-verified

110 self._positions[key] = self._used - 16
111
112 def _read_all_values(self):
113 """Yield (key, value, pos). No locking is performed."""
114 return _read_all_values(data=self._m, used=self._used)
115
116 def read_all_values(self):
117 """Yield (key, value, timestamp). No locking is performed."""

Callers 2

__init__Method · 0.95
read_all_valuesMethod · 0.95

Calls 1

_read_all_valuesFunction · 0.85

Tested by

no test coverage detected