MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / normalizeClockSample

Function normalizeClockSample

packages/node/src/repro/recorder.ts:96–101  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

94}
95
96function normalizeClockSample(value: number): number {
97 if (!Number.isFinite(value)) return 0;
98 const floored = Math.floor(value);
99 if (floored < 0) return 0;
100 return floored;
101}
102
103function toLowerHex(bytes: Uint8Array): string {
104 const out = new Array<string>(bytes.byteLength);

Callers 2

parseBatchMetadataFunction · 0.85
recordCapturedBatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected