tiny.simd.writeLaneArray
Defined in print.
Source
Source: lib/simd/src/print.zig:190
zig
pub fn writeArray( writer: *std.Io.Writer, caption: []const u8, values: anytype, options: Window,) std.Io.Writer.Error!void { const Slice = @TypeOf(values); const pointer = switch (@typeInfo(Slice)) { .pointer => |info| info, else => @compileError("diagnostic arrays require a slice or array pointer"), }; if (pointer.size != .slice and pointer.size != .one) { @compileError("diagnostic arrays require a slice or array pointer"); } const T = switch (@typeInfo(pointer.child)) { .array => |info| info.child, else => pointer.child, }; validateType(T); const slice: []const T = values; const bounds = try writeHeader(writer, T, caption, slice.len, options); for (slice[bounds.begin..bounds.end]) |value| { try writeValue(writer, value); try writer.writeByte(','); } try writeFooter(writer, bounds);}Source: lib/simd/src/root.zig:257
zig
pub const writeLaneArray = print.writeArray;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |