Skip to documentation
SLOP

tiny.choir.operationFingerprint

Reference tiny.choir operationFingerprint

Defined in product.hashing.

Called byCallsNo direct callersStableHasheractivateStableHasherdeinitStableHasherfingerprintStableHasherinitproduct.hashingoperationFingerprint
Static calls · unresolved targets: 0 · external targets: 1.

Source

Source: lib/choir/src/product/hashing/root.zig:20

zig
pub fn operationFingerprint(    allocator: std.mem.Allocator,    operation: *ir.Operation,) OperationFingerprintError!u64 {    const limits = try StableHasher.Limits.inspect(operation);    var hasher = try StableHasher.init(allocator, limits);    defer hasher.deinit(allocator);    hasher.activate() catch |err| switch (err) {        error.AlreadyActive => unreachable,        error.InputChanged => return error.InputChanged,    };    return hasher.fingerprint();}

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

zig
pub const operationFingerprint = product.operationFingerprint;

Also reachable as

product.operationFingerprint.

Audit

Definitions1
Public names3
Members0
Version26.7.0
Revisiondaab053ee433