zig/lib/std
mlugg f26dda2117 all: migrate code to new cast builtin syntax
Most of this migration was performed automatically with `zig fmt`. There
were a few exceptions which I had to manually fix:

* `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten
* `@truncate`'s fixup is incorrect for vectors
* Test cases are not formatted, and their error locations change
2023-06-24 16:56:39 -07:00
..
atomic all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Build all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
c all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
compress all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
crypto all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
dwarf wasm: Implement debug info for parameters 2022-05-09 18:51:46 +02:00
event all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
fmt all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
fs all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
hash all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
heap all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
http all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
io all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
json all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
math all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
mem all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
meta all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
net Disallow named test decls with duplicate names 2023-05-08 10:59:06 +03:00
os all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
rand all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
sort all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
target all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
testing all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Thread all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
time all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
tz Support legacy TZ format, expose header struct to a potential writer 2022-01-01 12:47:08 +00:00
unicode all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
valgrind all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
array_hash_map.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
array_list.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
ascii.zig migration: std.math.{min, min3, max, max3} -> @min & @max 2023-06-16 13:44:09 -07:00
atomic.zig std: remove names from incorrectly named tests 2023-04-21 23:08:48 -04:00
base64.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bit_set.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bounded_array.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
buf_map.zig doc: fix minor grammar issues 2023-04-22 13:09:15 +03:00
buf_set.zig update codebase to use @memset and @memcpy 2023-04-28 13:24:43 -07:00
Build.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
builtin.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
c.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
child_process.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
coff.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
compress.zig std.compress.zstd: renamed from std.compress.zstandard 2023-02-22 00:11:20 +11:00
comptime_string_map.zig std.sort: add pdqsort and heapsort 2023-05-23 17:55:59 -07:00
crypto.zig std.crypto.ff - Alloc-free, constant-time field arithmetic for crypto (#15795) 2023-05-22 16:11:06 +02:00
cstr.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
debug.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
dwarf.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
dynamic_library.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
elf.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
enums.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
event.zig std, compiler-rt: remove test names where applicable 2021-09-01 17:54:06 -07:00
fifo.zig migration: std.math.{min, min3, max, max3} -> @min & @max 2023-06-16 13:44:09 -07:00
fmt.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
fs.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
hash_map.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
hash.zig add std.hash.uint32 2023-06-10 20:42:30 -07:00
heap.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
http.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
Ini.zig add std.Ini for basic .ini file parsing 2023-01-11 15:39:48 -08:00
io.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
json.zig std: Support user-provided jsonParse method. Unify json.Parser and json.parse* (#15705) 2023-06-19 11:21:37 -04:00
leb128.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
linked_list.zig std: fix a bunch of typos 2023-04-30 18:16:04 -07:00
log.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
macho.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
math.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
mem.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
meta.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
multi_array_list.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
net.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
once.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
packed_int_array.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
pdb.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
priority_dequeue.zig [priority_dequeue] Fix out-of-bounds access 2023-06-22 02:03:53 -07:00
priority_queue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
process.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Progress.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
rand.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
RingBuffer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
segmented_list.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
SemanticVersion.zig std: replace builtin.Version with SemanticVersion 2023-06-17 13:17:34 -07:00
simd.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
sort.zig [heapsort] Protect against integer overflow 2023-06-22 17:32:28 +00:00
start_windows_tls.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
start.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
std.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
tar.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
target.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
testing.zig mem: rename align*Generic to mem.align* 2023-06-17 12:49:13 -07:00
Thread.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
time.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
treap.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
tz.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
unicode.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Uri.zig migration: std.math.{min, min3, max, max3} -> @min & @max 2023-06-16 13:44:09 -07:00
valgrind.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
wasm.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
zig.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00