Skip to documentation
SLOP

tiny.simd.safeCopyN

Reference tiny.simd safeCopyN

Defined in memory.

Called byCallsNo direct callstest sourcelib.simd.src.memorytest: Highway safe copy fill and trun...memorysafeCopyN
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/simd/src/memory.zig:108

zig
pub fn safeCopyN(    comptime D: type,    count: usize,    input: []const D.Lane,    output: []D.Lane,) void {    const lanes = @min(count, D.lane_count);    std.debug.assert(input.len >= lanes);    std.debug.assert(output.len >= lanes);    std.mem.copyForwards(D.Lane, output[0..lanes], input[0..lanes]);}

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

zig
pub const safeCopyN = memory.safeCopyN;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433