Skip to documentation
SLOP

tiny.bench.saturatingU64

Reference tiny.bench saturatingU64

Defined in tiny.bench.

Called byCallsNo direct callsprivate sourcelib.bench.src.allocation.CountingAllocatorrawAllocprivate sourcelib.bench.src.allocation.CountingAllocatorrawFreeprivate sourcelib.bench.src.allocation.CountingAllocatorrecordLengthtiny.benchelapsedNsBetweentiny.benchnsOrZerotiny.benchsaturatingU64
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/bench/src/timing.zig:51

zig
pub fn saturatingU64(value_int: anytype) u64 {    if (value_int <= 0) return 0;    if (value_int > std.math.maxInt(u64)) return std.math.maxInt(u64);    return @intCast(value_int);}

Source: lib/bench/src/root.zig:66

zig
pub const saturatingU64 = timing.saturatingU64;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433