tiny.simd.safeCopyN
Defined in memory.
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
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |