Skip to documentation
SLOP

tiny.simd.fillRandom

Reference tiny.simd fillRandom

Defined in random.

Called byCallstest sourcelib.simd.src.randomtest: Highway AES counter accepts cal...test sourcelib.simd.src.shardmultest: Highway ShardMul builder produc...RngStreaminitRngStreamnextprivate sourcelib.simd.src.randomcastRandomrandomfillRandom
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/simd/src/random.zig:331

zig
pub fn fillRandom(comptime T: type, engine: *const AesCtrEngine, stream_id: u64, output: []T) void {    var stream = RngStream.init(engine, stream_id);    for (output) |*value| value.* = castRandom(T, stream.next());}

Source: lib/simd/src/root.zig:514

zig
pub const fillRandom = random.fillRandom;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433