authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-19 19:40:15-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-20 16:07:04-04:00
log4a69b11e742365d68e4d92aa18d6493db9d3edaf
treeae8911497988caaa3dcd839b533927efaf442b76
parent83b0e52079298244912f2d2f28b256457c8dc3a5

add license header to all std lib files

add SPDX license identifier copyright ownership is zig contributors

487 files changed, 2433 insertions(+), 3 deletions(-)

lib/std/array_list.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const debug = std.debug;7const debug = std.debug;
3const assert = debug.assert;8const assert = debug.assert;
lib/std/array_list_sentineled.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const debug = std.debug;7const debug = std.debug;
3const mem = std.mem;8const mem = std.mem;
lib/std/ascii.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Does NOT look at the locale the way C89's toupper(3), isspace() et cetera does.6// Does NOT look at the locale the way C89's toupper(3), isspace() et cetera does.
2// I could have taken only a u7 to make this clear, but it would be slower7// I could have taken only a u7 to make this clear, but it would be slower
3// It is my opinion that encodings other than UTF-8 should not be supported.8// It is my opinion that encodings other than UTF-8 should not be supported.
lib/std/atomic.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const Stack = @import("atomic/stack.zig").Stack;6pub const Stack = @import("atomic/stack.zig").Stack;
2pub const Queue = @import("atomic/queue.zig").Queue;7pub const Queue = @import("atomic/queue.zig").Queue;
3pub const Int = @import("atomic/int.zig").Int;8pub const Int = @import("atomic/int.zig").Int;
lib/std/atomic/int.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Thread-safe, lock-free integer6/// Thread-safe, lock-free integer
2pub fn Int(comptime T: type) type {7pub fn Int(comptime T: type) type {
3 return struct {8 return struct {
lib/std/atomic/queue.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/atomic/stack.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const assert = std.debug.assert;6const assert = std.debug.assert;
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const expect = std.testing.expect;8const expect = std.testing.expect;
lib/std/base64.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const testing = std.testing;8const testing = std.testing;
lib/std/bloom_filter.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std.zig");7const std = @import("std.zig");
3const math = std.math;8const math = std.math;
lib/std/buf_map.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const StringHashMap = std.StringHashMap;7const StringHashMap = std.StringHashMap;
3const mem = std.mem;8const mem = std.mem;
lib/std/buf_set.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const StringHashMap = std.StringHashMap;7const StringHashMap = std.StringHashMap;
3const mem = @import("mem.zig");8const mem = @import("mem.zig");
lib/std/build.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const io = std.io;8const io = std.io;
lib/std/build/check_file.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const build = std.build;7const build = std.build;
3const Step = build.Step;8const Step = build.Step;
lib/std/build/emit_raw.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
27
3const Allocator = std.mem.Allocator;8const Allocator = std.mem.Allocator;
lib/std/build/fmt.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const build = @import("../build.zig");7const build = @import("../build.zig");
3const Step = build.Step;8const Step = build.Step;
lib/std/build/run.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const build = std.build;8const build = std.build;
lib/std/build/translate_c.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const build = std.build;7const build = std.build;
3const Step = build.Step;8const Step = build.Step;
lib/std/build/write_file.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const build = @import("../build.zig");7const build = @import("../build.zig");
3const Step = build.Step;8const Step = build.Step;
lib/std/builtin.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub usingnamespace @import("builtin");6pub usingnamespace @import("builtin");
27
3/// Deprecated: use `std.Target`.8/// Deprecated: use `std.Target`.
lib/std/c.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = std.builtin;7const builtin = std.builtin;
3const page_size = std.mem.page_size;8const page_size = std.mem.page_size;
lib/std/c/ast.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const SegmentedList = std.SegmentedList;7const SegmentedList = std.SegmentedList;
3const Token = std.c.Token;8const Token = std.c.Token;
lib/std/c/darwin.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const builtin = @import("builtin");8const builtin = @import("builtin");
lib/std/c/dragonfly.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2usingnamespace std.c;7usingnamespace std.c;
3extern "c" threadlocal var errno: c_int;8extern "c" threadlocal var errno: c_int;
lib/std/c/emscripten.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const pthread_mutex_t = extern struct {6pub const pthread_mutex_t = extern struct {
2 size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(4) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T,7 size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(4) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T,
3};8};
lib/std/c/freebsd.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2usingnamespace std.c;7usingnamespace std.c;
38
lib/std/c/fuchsia.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const pthread_mutex_t = extern struct {6pub const pthread_mutex_t = extern struct {
2 size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T,7 size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T,
3};8};
lib/std/c/haiku.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const pthread_mutex_t = extern struct {6pub const pthread_mutex_t = extern struct {
2 flags: u32 = 0,7 flags: u32 = 0,
3 lock: i32 = 0,8 lock: i32 = 0,
lib/std/c/hermit.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const pthread_mutex_t = extern struct {6pub const pthread_mutex_t = extern struct {
2 inner: usize = ~@as(usize, 0),7 inner: usize = ~@as(usize, 0),
3};8};
lib/std/c/linux.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("../std.zig");7const std = @import("../std.zig");
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/c/minix.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2pub const pthread_mutex_t = extern struct {7pub const pthread_mutex_t = extern struct {
3 size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T,8 size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T,
lib/std/c/netbsd.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
38
lib/std/c/openbsd.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const pthread_mutex_t = extern struct {6pub const pthread_mutex_t = extern struct {
2 inner: ?*c_void = null,7 inner: ?*c_void = null,
3};8};
lib/std/c/parse.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const mem = std.mem;7const mem = std.mem;
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/c/solaris.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const pthread_mutex_t = extern struct {6pub const pthread_mutex_t = extern struct {
2 __pthread_mutex_flag1: u16 = 0,7 __pthread_mutex_flag1: u16 = 0,
3 __pthread_mutex_flag2: u8 = 0,8 __pthread_mutex_flag2: u8 = 0,
lib/std/c/tokenizer.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const mem = std.mem;7const mem = std.mem;
38
lib/std/c/windows.zig+5
...@@ -1 +1,6 @@...@@ -1 +1,6 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub extern "c" fn _errno() *c_int;6pub extern "c" fn _errno() *c_int;
lib/std/cache_hash.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const Blake3 = std.crypto.Blake3;7const Blake3 = std.crypto.Blake3;
3const fs = std.fs;8const fs = std.fs;
lib/std/child_process.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const cstr = std.cstr;7const cstr = std.cstr;
3const unicode = std.unicode;8const unicode = std.unicode;
lib/std/coff.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std.zig");7const std = @import("std.zig");
3const io = std.io;8const io = std.io;
lib/std/comptime_string_map.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const mem = std.mem;7const mem = std.mem;
38
lib/std/crypto.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const Md5 = @import("crypto/md5.zig").Md5;6pub const Md5 = @import("crypto/md5.zig").Md5;
2pub const Sha1 = @import("crypto/sha1.zig").Sha1;7pub const Sha1 = @import("crypto/sha1.zig").Sha1;
38
lib/std/crypto/25519/curve25519.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
27
3/// Group operations over Curve25519.8/// Group operations over Curve25519.
lib/std/crypto/25519/ed25519.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const fmt = std.fmt;7const fmt = std.fmt;
3const mem = std.mem;8const mem = std.mem;
lib/std/crypto/25519/edwards25519.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const fmt = std.fmt;7const fmt = std.fmt;
38
lib/std/crypto/25519/field.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const readIntLittle = std.mem.readIntLittle;7const readIntLittle = std.mem.readIntLittle;
3const writeIntLittle = std.mem.writeIntLittle;8const writeIntLittle = std.mem.writeIntLittle;
lib/std/crypto/25519/ristretto255.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const fmt = std.fmt;7const fmt = std.fmt;
38
lib/std/crypto/25519/scalar.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const mem = std.mem;7const mem = std.mem;
38
lib/std/crypto/25519/x25519.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const mem = std.mem;7const mem = std.mem;
3const fmt = std.fmt;8const fmt = std.fmt;
lib/std/crypto/aes.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Based on Go stdlib implementation6// Based on Go stdlib implementation
27
3const std = @import("../std.zig");8const std = @import("../std.zig");
lib/std/crypto/benchmark.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// zig run benchmark.zig --release-fast --override-lib-dir ..6// zig run benchmark.zig --release-fast --override-lib-dir ..
27
3const builtin = @import("builtin");8const builtin = @import("builtin");
lib/std/crypto/blake2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const mem = @import("../mem.zig");6const mem = @import("../mem.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const debug = @import("../debug.zig");8const debug = @import("../debug.zig");
lib/std/crypto/blake3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Translated from BLAKE3 reference implementation.6// Translated from BLAKE3 reference implementation.
2// Source: https://github.com/BLAKE3-team/BLAKE37// Source: https://github.com/BLAKE3-team/BLAKE3
38
lib/std/crypto/chacha20.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Based on public domain Supercop by Daniel J. Bernstein6// Based on public domain Supercop by Daniel J. Bernstein
27
3const std = @import("../std.zig");8const std = @import("../std.zig");
lib/std/crypto/gimli.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Gimli is a 384-bit permutation designed to achieve high security with high6// Gimli is a 384-bit permutation designed to achieve high security with high
2// performance across a broad range of platforms, including 64-bit Intel/AMD7// performance across a broad range of platforms, including 64-bit Intel/AMD
3// server CPUs, 64-bit and 32-bit ARM smartphone CPUs, 32-bit ARM8// server CPUs, 64-bit and 32-bit ARM smartphone CPUs, 32-bit ARM
lib/std/crypto/hmac.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const crypto = std.crypto;7const crypto = std.crypto;
3const debug = std.debug;8const debug = std.debug;
lib/std/crypto/md5.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const mem = @import("../mem.zig");6const mem = @import("../mem.zig");
2const math = @import("../math.zig");7const math = @import("../math.zig");
3const endian = @import("../endian.zig");8const endian = @import("../endian.zig");
lib/std/crypto/poly1305.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Translated from monocypher which is licensed under CC-0/BSD-3.6// Translated from monocypher which is licensed under CC-0/BSD-3.
2//7//
3// https://monocypher.org/8// https://monocypher.org/
lib/std/crypto/sha1.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const mem = @import("../mem.zig");6const mem = @import("../mem.zig");
2const math = @import("../math.zig");7const math = @import("../math.zig");
3const endian = @import("../endian.zig");8const endian = @import("../endian.zig");
lib/std/crypto/sha2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const mem = @import("../mem.zig");6const mem = @import("../mem.zig");
2const math = @import("../math.zig");7const math = @import("../math.zig");
3const endian = @import("../endian.zig");8const endian = @import("../endian.zig");
lib/std/crypto/sha3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const mem = @import("../mem.zig");6const mem = @import("../mem.zig");
2const math = @import("../math.zig");7const math = @import("../math.zig");
3const endian = @import("../endian.zig");8const endian = @import("../endian.zig");
lib/std/crypto/test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const mem = std.mem;8const mem = std.mem;
lib/std/cstr.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const debug = std.debug;8const debug = std.debug;
lib/std/debug.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const math = std.math;8const math = std.math;
lib/std/debug/leb128.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const testing = std.testing;7const testing = std.testing;
38
lib/std/dwarf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const debug = std.debug;8const debug = std.debug;
lib/std/dwarf_bits.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const TAG_padding = 0x00;6pub const TAG_padding = 0x00;
2pub const TAG_array_type = 0x01;7pub const TAG_array_type = 0x01;
3pub const TAG_class_type = 0x02;8pub const TAG_class_type = 0x02;
lib/std/dynamic_library.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
27
3const std = @import("std.zig");8const std = @import("std.zig");
lib/std/elf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const io = std.io;8const io = std.io;
lib/std/event.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const Channel = @import("event/channel.zig").Channel;6pub const Channel = @import("event/channel.zig").Channel;
2pub const Future = @import("event/future.zig").Future;7pub const Future = @import("event/future.zig").Future;
3pub const Group = @import("event/group.zig").Group;8pub const Group = @import("event/group.zig").Group;
lib/std/event/batch.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const testing = std.testing;7const testing = std.testing;
38
lib/std/event/channel.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/event/future.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const testing = std.testing;8const testing = std.testing;
lib/std/event/group.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const Lock = std.event.Lock;8const Lock = std.event.Lock;
lib/std/event/lock.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/event/locked.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const Lock = std.event.Lock;7const Lock = std.event.Lock;
38
lib/std/event/loop.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const root = @import("root");8const root = @import("root");
lib/std/event/rwlock.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/event/rwlocked.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const RwLock = std.event.RwLock;7const RwLock = std.event.RwLock;
38
lib/std/fifo.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// FIFO of fixed size items6// FIFO of fixed size items
2// Usually used for e.g. byte buffers7// Usually used for e.g. byte buffers
38
lib/std/fmt.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const math = std.math;7const math = std.math;
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/fmt/errol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const enum3 = @import("errol/enum3.zig").enum3;7const enum3 = @import("errol/enum3.zig").enum3;
3const enum3_data = @import("errol/enum3.zig").enum3_data;8const enum3_data = @import("errol/enum3.zig").enum3_data;
lib/std/fmt/errol/enum3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const enum3 = [_]u64{6pub const enum3 = [_]u64{
2 0x4e2e2785c3a2a20b,7 0x4e2e2785c3a2a20b,
3 0x240a28877a09a4e1,8 0x240a28877a09a4e1,
lib/std/fmt/errol/lookup.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const HP = struct {6pub const HP = struct {
2 val: f64,7 val: f64,
3 off: f64,8 off: f64,
lib/std/fmt/parse_float.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Adapted from https://github.com/grzegorz-kraszewski/stringtofloat.6// Adapted from https://github.com/grzegorz-kraszewski/stringtofloat.
27
3// MIT License8// MIT License
lib/std/fs.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std.zig");7const std = @import("std.zig");
3const os = std.os;8const os = std.os;
lib/std/fs/file.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const os = std.os;8const os = std.os;
lib/std/fs/get_app_data_dir.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const unicode = std.unicode;8const unicode = std.unicode;
lib/std/fs/path.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("../std.zig");7const std = @import("../std.zig");
3const debug = std.debug;8const debug = std.debug;
lib/std/fs/test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const builtin = std.builtin;8const builtin = std.builtin;
lib/std/fs/wasi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const os = std.os;7const os = std.os;
3const mem = std.mem;8const mem = std.mem;
lib/std/fs/watch.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const event = std.event;8const event = std.event;
lib/std/hash.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const adler = @import("hash/adler.zig");6const adler = @import("hash/adler.zig");
2pub const Adler32 = adler.Adler32;7pub const Adler32 = adler.Adler32;
38
lib/std/hash/adler.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Adler32 checksum.6// Adler32 checksum.
2//7//
3// https://tools.ietf.org/html/rfc1950#section-98// https://tools.ietf.org/html/rfc1950#section-9
lib/std/hash/auto_hash.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/hash/benchmark.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// zig run benchmark.zig --release-fast --override-lib-dir ..6// zig run benchmark.zig --release-fast --override-lib-dir ..
27
3const builtin = @import("builtin");8const builtin = @import("builtin");
lib/std/hash/cityhash.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/hash/crc.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// There are two implementations of CRC32 implemented with the following key characteristics:6// There are two implementations of CRC32 implemented with the following key characteristics:
2//7//
3// - Crc32WithPoly uses 8Kb of tables but is ~10x faster than the small method.8// - Crc32WithPoly uses 8Kb of tables but is ~10x faster than the small method.
lib/std/hash/fnv.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// FNV1a - Fowler-Noll-Vo hash function6// FNV1a - Fowler-Noll-Vo hash function
2//7//
3// FNV1a is a fast, non-cryptographic hash function with fairly good distribution properties.8// FNV1a is a fast, non-cryptographic hash function with fairly good distribution properties.
lib/std/hash/murmur.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const testing = std.testing;8const testing = std.testing;
lib/std/hash/siphash.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Siphash6// Siphash
2//7//
3// SipHash is a moderately fast, non-cryptographic keyed hash function designed for resistance8// SipHash is a moderately fast, non-cryptographic keyed hash function designed for resistance
lib/std/hash/wyhash.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const mem = std.mem;7const mem = std.mem;
38
lib/std/hash_map.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const debug = std.debug;7const debug = std.debug;
3const assert = debug.assert;8const assert = debug.assert;
lib/std/heap.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const root = @import("root");7const root = @import("root");
3const debug = std.debug;8const debug = std.debug;
lib/std/heap/arena_allocator.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const mem = std.mem;8const mem = std.mem;
lib/std/heap/general_purpose_allocator.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1//! # General Purpose Allocator6//! # General Purpose Allocator
2//!7//!
3//! ## Design Priorities8//! ## Design Priorities
lib/std/heap/logging_allocator.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const Allocator = std.mem.Allocator;7const Allocator = std.mem.Allocator;
38
lib/std/http.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1test "std.http" {6test "std.http" {
2 _ = @import("http/headers.zig");7 _ = @import("http/headers.zig");
3}8}
lib/std/http/headers.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// HTTP Header data structure/type6// HTTP Header data structure/type
2// Based on lua-http's http.header module7// Based on lua-http's http.header module
3//8//
lib/std/io.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const root = @import("root");8const root = @import("root");
lib/std/io/bit_in_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.bit_reader.BitReader`6/// Deprecated: use `std.io.bit_reader.BitReader`
2pub const BitInStream = @import("./bit_reader.zig").BitReader;7pub const BitInStream = @import("./bit_reader.zig").BitReader;
38
lib/std/io/bit_out_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.bit_writer.BitWriter`6/// Deprecated: use `std.io.bit_writer.BitWriter`
2pub const BitOutStream = @import("./bit_writer.zig").BitWriter;7pub const BitOutStream = @import("./bit_writer.zig").BitWriter;
38
lib/std/io/bit_reader.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const io = std.io;8const io = std.io;
lib/std/io/bit_writer.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const io = std.io;8const io = std.io;
lib/std/io/buffered_atomic_file.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const mem = std.mem;7const mem = std.mem;
3const fs = std.fs;8const fs = std.fs;
lib/std/io/buffered_in_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.buffered_reader.BufferedReader`6/// Deprecated: use `std.io.buffered_reader.BufferedReader`
2pub const BufferedInStream = @import("./buffered_reader.zig").BufferedReader;7pub const BufferedInStream = @import("./buffered_reader.zig").BufferedReader;
38
lib/std/io/buffered_out_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.buffered_writer.BufferedWriter`6/// Deprecated: use `std.io.buffered_writer.BufferedWriter`
2pub const BufferedOutStream = @import("./buffered_writer.zig").BufferedWriter;7pub const BufferedOutStream = @import("./buffered_writer.zig").BufferedWriter;
38
lib/std/io/buffered_reader.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const io = std.io;7const io = std.io;
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/io/buffered_writer.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const io = std.io;7const io = std.io;
38
lib/std/io/c_out_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.c_writer.CWriter`6/// Deprecated: use `std.io.c_writer.CWriter`
2pub const COutStream = @import("./c_writer.zig").CWriter;7pub const COutStream = @import("./c_writer.zig").CWriter;
38
lib/std/io/c_writer.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const io = std.io;8const io = std.io;
lib/std/io/counting_out_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.counting_writer.CountingWriter`6/// Deprecated: use `std.io.counting_writer.CountingWriter`
2pub const CountingOutStream = @import("./counting_writer.zig").CountingWriter;7pub const CountingOutStream = @import("./counting_writer.zig").CountingWriter;
38
lib/std/io/counting_writer.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const io = std.io;7const io = std.io;
3const testing = std.testing;8const testing = std.testing;
lib/std/io/fixed_buffer_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const io = std.io;7const io = std.io;
3const testing = std.testing;8const testing = std.testing;
lib/std/io/in_stream.zig+5
...@@ -1,2 +1,7 @@...@@ -1,2 +1,7 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.reader.Reader`6/// Deprecated: use `std.io.reader.Reader`
2pub const InStream = @import("./reader.zig").Reader;7pub const InStream = @import("./reader.zig").Reader;
lib/std/io/multi_out_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.multi_writer.MultiWriter`6/// Deprecated: use `std.io.multi_writer.MultiWriter`
2pub const MultiOutStream = @import("./multi_writer.zig").MultiWriter;7pub const MultiOutStream = @import("./multi_writer.zig").MultiWriter;
38
lib/std/io/multi_writer.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const io = std.io;7const io = std.io;
3const testing = std.testing;8const testing = std.testing;
lib/std/io/out_stream.zig+5
...@@ -1,2 +1,7 @@...@@ -1,2 +1,7 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Deprecated: use `std.io.writer.Writer`6/// Deprecated: use `std.io.writer.Writer`
2pub const OutStream = @import("./writer.zig").Writer;7pub const OutStream = @import("./writer.zig").Writer;
lib/std/io/peek_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const io = std.io;7const io = std.io;
3const mem = std.mem;8const mem = std.mem;
lib/std/io/reader.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const math = std.math;8const math = std.math;
lib/std/io/seekable_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
27
3pub fn SeekableStream(8pub fn SeekableStream(
lib/std/io/serialization.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const io = std.io;8const io = std.io;
lib/std/io/stream_source.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const io = std.io;7const io = std.io;
3const testing = std.testing;8const testing = std.testing;
lib/std/io/test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = std.builtin;7const builtin = std.builtin;
3const io = std.io;8const io = std.io;
lib/std/io/writer.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const mem = std.mem;8const mem = std.mem;
lib/std/json.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// JSON parser conforming to RFC8259.6// JSON parser conforming to RFC8259.
2//7//
3// https://tools.ietf.org/html/rfc82598// https://tools.ietf.org/html/rfc8259
lib/std/json/test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// RFC 8529 conformance tests.6// RFC 8529 conformance tests.
2//7//
3// Tests are taken from https://github.com/nst/JSONTestSuite8// Tests are taken from https://github.com/nst/JSONTestSuite
lib/std/json/write_stream.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/linked_list.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const debug = std.debug;7const debug = std.debug;
3const assert = debug.assert;8const assert = debug.assert;
lib/std/log.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const root = @import("root");8const root = @import("root");
lib/std/macho.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const mach_header = extern struct {6pub const mach_header = extern struct {
2 magic: u32,7 magic: u32,
3 cputype: cpu_type_t,8 cputype: cpu_type_t,
lib/std/math.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const testing = std.testing;8const testing = std.testing;
lib/std/math/acos.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/acosh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/asin.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/asinh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/atan.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/atan2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/atanh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/big.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
38
lib/std/math/big/int.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const math = std.math;7const math = std.math;
3const Limb = std.math.big.Limb;8const Limb = std.math.big.Limb;
lib/std/math/big/int_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const mem = std.mem;7const mem = std.mem;
3const testing = std.testing;8const testing = std.testing;
lib/std/math/big/rational.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const debug = std.debug;7const debug = std.debug;
3const math = std.math;8const math = std.math;
lib/std/math/cbrt.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/ceil.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/complex.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/abs.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/acos.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/acosh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/arg.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/asin.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/asinh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/atan.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/complex/atanh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/conj.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/cos.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/cosh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/complex/exp.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/complex/ldexp.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/complex/log.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/pow.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/proj.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/sin.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/sinh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/complex/sqrt.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/complex/tan.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const math = std.math;8const math = std.math;
lib/std/math/complex/tanh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/copysign.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/cos.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from go, which is licensed under a BSD-3 license.6// Ported from go, which is licensed under a BSD-3 license.
2// https://golang.org/LICENSE7// https://golang.org/LICENSE
3//8//
lib/std/math/cosh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/exp.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/exp2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/expm1.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/expo2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/fabs.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/floor.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/fma.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/frexp.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/hypot.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/ilogb.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/inf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const math = std.math;7const math = std.math;
38
lib/std/math/isfinite.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const math = std.math;7const math = std.math;
3const expect = std.testing.expect;8const expect = std.testing.expect;
lib/std/math/isinf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const math = std.math;7const math = std.math;
3const expect = std.testing.expect;8const expect = std.testing.expect;
lib/std/math/isnan.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const math = std.math;7const math = std.math;
3const expect = std.testing.expect;8const expect = std.testing.expect;
lib/std/math/isnormal.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const math = std.math;7const math = std.math;
3const expect = std.testing.expect;8const expect = std.testing.expect;
lib/std/math/ln.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/log.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/log10.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/log1p.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/log2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/modf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/nan.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const math = @import("../math.zig");6const math = @import("../math.zig");
27
3/// Returns the nan representation for type T.8/// Returns the nan representation for type T.
lib/std/math/pow.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from go, which is licensed under a BSD-3 license.6// Ported from go, which is licensed under a BSD-3 license.
2// https://golang.org/LICENSE7// https://golang.org/LICENSE
3//8//
lib/std/math/powi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Based on Rust, which is licensed under the MIT license.6// Based on Rust, which is licensed under the MIT license.
2// https://github.com/rust-lang/rust/blob/360432f1e8794de58cd94f34c9c17ad65871e5b5/LICENSE-MIT7// https://github.com/rust-lang/rust/blob/360432f1e8794de58cd94f34c9c17ad65871e5b5/LICENSE-MIT
3//8//
lib/std/math/round.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/scalbn.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/signbit.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const math = std.math;7const math = std.math;
3const expect = std.testing.expect;8const expect = std.testing.expect;
lib/std/math/sin.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from go, which is licensed under a BSD-3 license.6// Ported from go, which is licensed under a BSD-3 license.
2// https://golang.org/LICENSE7// https://golang.org/LICENSE
3//8//
lib/std/math/sinh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/sqrt.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const math = std.math;7const math = std.math;
3const expect = std.testing.expect;8const expect = std.testing.expect;
lib/std/math/tan.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from go, which is licensed under a BSD-3 license.6// Ported from go, which is licensed under a BSD-3 license.
2// https://golang.org/LICENSE7// https://golang.org/LICENSE
3//8//
lib/std/math/tanh.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/math/trunc.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from musl, which is licensed under the MIT license:6// Ported from musl, which is licensed under the MIT license:
2// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT7// https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
3//8//
lib/std/mem.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const debug = std.debug;7const debug = std.debug;
3const assert = debug.assert;8const assert = debug.assert;
lib/std/mem/Allocator.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1//! The standard memory allocation interface.6//! The standard memory allocation interface.
27
3const std = @import("../std.zig");8const std = @import("../std.zig");
lib/std/meta.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const debug = std.debug;8const debug = std.debug;
lib/std/meta/trailer_flags.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const meta = std.meta;7const meta = std.meta;
3const testing = std.testing;8const testing = std.testing;
lib/std/meta/trait.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const mem = std.mem;8const mem = std.mem;
lib/std/mutex.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const os = std.os;8const os = std.os;
lib/std/net.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/net/test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const net = std.net;8const net = std.net;
lib/std/once.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const testing = std.testing;8const testing = std.testing;
lib/std/os.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// This file contains thin wrappers around OS-specific APIs, with these6// This file contains thin wrappers around OS-specific APIs, with these
2// specific goals in mind:7// specific goals in mind:
3// * Convert "errno"-style error codes into Zig errors.8// * Convert "errno"-style error codes into Zig errors.
lib/std/os/bits.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1//! Platform-dependent types and values that are used along with OS-specific APIs.6//! Platform-dependent types and values that are used along with OS-specific APIs.
2//! These are imported into `std.c`, `std.os`, and `std.os.linux`.7//! These are imported into `std.c`, `std.os`, and `std.os.linux`.
3//! Root source files can define `os.bits` and these will additionally be added8//! Root source files can define `os.bits` and these will additionally be added
lib/std/os/bits/darwin.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/os/bits/dragonfly.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const maxInt = std.math.maxInt;7const maxInt = std.math.maxInt;
38
lib/std/os/bits/freebsd.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const maxInt = std.math.maxInt;7const maxInt = std.math.maxInt;
38
lib/std/os/bits/linux.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("../../std.zig");7const std = @import("../../std.zig");
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/os/bits/linux/arm-eabi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// arm-eabi-specific declarations that are intended to be imported into the POSIX namespace.6// arm-eabi-specific declarations that are intended to be imported into the POSIX namespace.
2const std = @import("../../../std.zig");7const std = @import("../../../std.zig");
3const linux = std.os.linux;8const linux = std.os.linux;
lib/std/os/bits/linux/arm64.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// arm64-specific declarations that are intended to be imported into the POSIX namespace.6// arm64-specific declarations that are intended to be imported into the POSIX namespace.
2// This does include Linux-only APIs.7// This does include Linux-only APIs.
38
lib/std/os/bits/linux/bpf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace std.os;6usingnamespace std.os;
2const std = @import("../../../std.zig");7const std = @import("../../../std.zig");
38
lib/std/os/bits/linux/errno-generic.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// Operation not permitted6/// Operation not permitted
2pub const EPERM = 1;7pub const EPERM = 1;
38
lib/std/os/bits/linux/errno-mips.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const EPERM = 1;6pub const EPERM = 1;
2pub const ENOENT = 2;7pub const ENOENT = 2;
3pub const ESRCH = 3;8pub const ESRCH = 3;
lib/std/os/bits/linux/i386.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// i386-specific declarations that are intended to be imported into the POSIX namespace.6// i386-specific declarations that are intended to be imported into the POSIX namespace.
2// This does include Linux-only APIs.7// This does include Linux-only APIs.
38
lib/std/os/bits/linux/mips.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../../std.zig");6const std = @import("../../../std.zig");
2const linux = std.os.linux;7const linux = std.os.linux;
3const socklen_t = linux.socklen_t;8const socklen_t = linux.socklen_t;
lib/std/os/bits/linux/netlink.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("../linux.zig");6usingnamespace @import("../linux.zig");
27
3/// Routing/device hook8/// Routing/device hook
lib/std/os/bits/linux/riscv64.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// riscv64-specific declarations that are intended to be imported into the POSIX namespace.6// riscv64-specific declarations that are intended to be imported into the POSIX namespace.
2const std = @import("../../../std.zig");7const std = @import("../../../std.zig");
3const uid_t = std.os.linux.uid_t;8const uid_t = std.os.linux.uid_t;
lib/std/os/bits/linux/x86_64.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// x86-64-specific declarations that are intended to be imported into the POSIX namespace.6// x86-64-specific declarations that are intended to be imported into the POSIX namespace.
2const std = @import("../../../std.zig");7const std = @import("../../../std.zig");
3const pid_t = linux.pid_t;8const pid_t = linux.pid_t;
lib/std/os/bits/netbsd.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/os/bits/wasi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Convenience types and consts used by std.os module6// Convenience types and consts used by std.os module
2pub const STDIN_FILENO = 0;7pub const STDIN_FILENO = 0;
3pub const STDOUT_FILENO = 1;8pub const STDOUT_FILENO = 1;
lib/std/os/bits/windows.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// The reference for these types and values is Microsoft Windows's ucrt (Universal C RunTime).6// The reference for these types and values is Microsoft Windows's ucrt (Universal C RunTime).
27
3usingnamespace @import("../windows/bits.zig");8usingnamespace @import("../windows/bits.zig");
lib/std/os/darwin.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("../std.zig");7const std = @import("../std.zig");
3pub usingnamespace std.c;8pub usingnamespace std.c;
lib/std/os/dragonfly.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2pub usingnamespace std.c;7pub usingnamespace std.c;
3pub usingnamespace @import("bits.zig");8pub usingnamespace @import("bits.zig");
lib/std/os/freebsd.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2pub usingnamespace std.c;7pub usingnamespace std.c;
3pub usingnamespace @import("bits.zig");8pub usingnamespace @import("bits.zig");
lib/std/os/linux.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// This file provides the system interface functions for Linux matching those6// This file provides the system interface functions for Linux matching those
2// that are provided by libc, whether or not libc is linked. The following7// that are provided by libc, whether or not libc is linked. The following
3// abstractions are made:8// abstractions are made:
lib/std/os/linux/arm-eabi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("../bits.zig");6usingnamespace @import("../bits.zig");
27
3pub fn syscall0(number: SYS) usize {8pub fn syscall0(number: SYS) usize {
lib/std/os/linux/arm64.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("../bits.zig");6usingnamespace @import("../bits.zig");
27
3pub fn syscall0(number: SYS) usize {8pub fn syscall0(number: SYS) usize {
lib/std/os/linux/i386.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("../bits.zig");6usingnamespace @import("../bits.zig");
27
3pub fn syscall0(number: SYS) usize {8pub fn syscall0(number: SYS) usize {
lib/std/os/linux/mips.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("../bits.zig");6usingnamespace @import("../bits.zig");
27
3pub fn syscall0(number: SYS) usize {8pub fn syscall0(number: SYS) usize {
lib/std/os/linux/riscv64.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("../bits.zig");6usingnamespace @import("../bits.zig");
27
3pub fn syscall0(number: SYS) usize {8pub fn syscall0(number: SYS) usize {
lib/std/os/linux/test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const linux = std.os.linux;8const linux = std.os.linux;
lib/std/os/linux/tls.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = std.builtin;7const builtin = std.builtin;
3const os = std.os;8const os = std.os;
lib/std/os/linux/vdso.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../../std.zig");6const std = @import("../../std.zig");
2const elf = std.elf;7const elf = std.elf;
3const linux = std.os.linux;8const linux = std.os.linux;
lib/std/os/linux/x86_64.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("../bits.zig");6usingnamespace @import("../bits.zig");
27
3pub fn syscall0(number: SYS) usize {8pub fn syscall0(number: SYS) usize {
lib/std/os/netbsd.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2pub usingnamespace std.c;7pub usingnamespace std.c;
3pub usingnamespace @import("bits.zig");8pub usingnamespace @import("bits.zig");
lib/std/os/test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const os = std.os;7const os = std.os;
3const testing = std.testing;8const testing = std.testing;
lib/std/os/uefi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1/// A protocol is an interface identified by a GUID.6/// A protocol is an interface identified by a GUID.
2pub const protocols = @import("uefi/protocols.zig");7pub const protocols = @import("uefi/protocols.zig");
38
lib/std/os/uefi/protocols.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const LoadedImageProtocol = @import("protocols/loaded_image_protocol.zig").LoadedImageProtocol;6pub const LoadedImageProtocol = @import("protocols/loaded_image_protocol.zig").LoadedImageProtocol;
2pub const loaded_image_device_path_protocol_guid = @import("protocols/loaded_image_protocol.zig").loaded_image_device_path_protocol_guid;7pub const loaded_image_device_path_protocol_guid = @import("protocols/loaded_image_protocol.zig").loaded_image_device_path_protocol_guid;
38
lib/std/os/uefi/protocols/absolute_pointer_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Event = uefi.Event;7const Event = uefi.Event;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/protocols/device_path_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
38
lib/std/os/uefi/protocols/edid_active_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
38
lib/std/os/uefi/protocols/edid_discovered_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
38
lib/std/os/uefi/protocols/edid_override_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Handle = uefi.Handle;8const Handle = uefi.Handle;
lib/std/os/uefi/protocols/file_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Time = uefi.Time;8const Time = uefi.Time;
lib/std/os/uefi/protocols/graphics_output_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Status = uefi.Status;8const Status = uefi.Status;
lib/std/os/uefi/protocols/hii.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
38
lib/std/os/uefi/protocols/hii_database_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Status = uefi.Status;8const Status = uefi.Status;
lib/std/os/uefi/protocols/hii_popup_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Status = uefi.Status;8const Status = uefi.Status;
lib/std/os/uefi/protocols/ip6_config_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Event = uefi.Event;8const Event = uefi.Event;
lib/std/os/uefi/protocols/ip6_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Event = uefi.Event;8const Event = uefi.Event;
lib/std/os/uefi/protocols/ip6_service_binding_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Handle = uefi.Handle;7const Handle = uefi.Handle;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/protocols/loaded_image_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Handle = uefi.Handle;8const Handle = uefi.Handle;
lib/std/os/uefi/protocols/managed_network_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Event = uefi.Event;8const Event = uefi.Event;
lib/std/os/uefi/protocols/managed_network_service_binding_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Handle = uefi.Handle;7const Handle = uefi.Handle;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/protocols/rng_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Status = uefi.Status;8const Status = uefi.Status;
lib/std/os/uefi/protocols/shell_parameters_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const FileHandle = uefi.FileHandle;8const FileHandle = uefi.FileHandle;
lib/std/os/uefi/protocols/simple_file_system_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const FileProtocol = uefi.protocols.FileProtocol;8const FileProtocol = uefi.protocols.FileProtocol;
lib/std/os/uefi/protocols/simple_network_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Event = uefi.Event;7const Event = uefi.Event;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/protocols/simple_pointer_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Event = uefi.Event;7const Event = uefi.Event;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/protocols/simple_text_input_ex_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Event = uefi.Event;7const Event = uefi.Event;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/protocols/simple_text_input_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Event = uefi.Event;7const Event = uefi.Event;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/protocols/simple_text_output_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Status = uefi.Status;8const Status = uefi.Status;
lib/std/os/uefi/protocols/udp6_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const Event = uefi.Event;8const Event = uefi.Event;
lib/std/os/uefi/protocols/udp6_service_binding_protocol.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Handle = uefi.Handle;7const Handle = uefi.Handle;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/status.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const high_bit = 1 << @typeInfo(usize).Int.bits - 1;6const high_bit = 1 << @typeInfo(usize).Int.bits - 1;
27
3pub const Status = extern enum(usize) {8pub const Status = extern enum(usize) {
lib/std/os/uefi/tables.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const AllocateType = @import("tables/boot_services.zig").AllocateType;6pub const AllocateType = @import("tables/boot_services.zig").AllocateType;
2pub const BootServices = @import("tables/boot_services.zig").BootServices;7pub const BootServices = @import("tables/boot_services.zig").BootServices;
3pub const ConfigurationTable = @import("tables/configuration_table.zig").ConfigurationTable;8pub const ConfigurationTable = @import("tables/configuration_table.zig").ConfigurationTable;
lib/std/os/uefi/tables/boot_services.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Event = uefi.Event;7const Event = uefi.Event;
3const Guid = uefi.Guid;8const Guid = uefi.Guid;
lib/std/os/uefi/tables/configuration_table.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
38
lib/std/os/uefi/tables/runtime_services.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const Guid = uefi.Guid;7const Guid = uefi.Guid;
3const TableHeader = uefi.tables.TableHeader;8const TableHeader = uefi.tables.TableHeader;
lib/std/os/uefi/tables/system_table.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const uefi = @import("std").os.uefi;6const uefi = @import("std").os.uefi;
2const BootServices = uefi.tables.BootServices;7const BootServices = uefi.tables.BootServices;
3const ConfigurationTable = uefi.tables.ConfigurationTable;8const ConfigurationTable = uefi.tables.ConfigurationTable;
lib/std/os/uefi/tables/table_header.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const TableHeader = extern struct {6pub const TableHeader = extern struct {
2 signature: u64,7 signature: u64,
3 revision: u32,8 revision: u32,
lib/std/os/wasi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// wasi_snapshot_preview1 spec available (in witx format) here:6// wasi_snapshot_preview1 spec available (in witx format) here:
2// * typenames -- https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/witx/typenames.witx7// * typenames -- https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/witx/typenames.witx
3// * module -- https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/witx/wasi_snapshot_preview1.witx8// * module -- https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/witx/wasi_snapshot_preview1.witx
lib/std/os/windows.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// This file contains thin wrappers around Windows-specific APIs, with these6// This file contains thin wrappers around Windows-specific APIs, with these
2// specific goals in mind:7// specific goals in mind:
3// * Convert "errno"-style error codes into Zig errors.8// * Convert "errno"-style error codes into Zig errors.
lib/std/os/windows/advapi32.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3pub extern "advapi32" fn RegOpenKeyExW(8pub extern "advapi32" fn RegOpenKeyExW(
lib/std/os/windows/bits.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Platform-dependent types and values that are used along with OS-specific APIs.6// Platform-dependent types and values that are used along with OS-specific APIs.
27
3const builtin = @import("builtin");8const builtin = @import("builtin");
lib/std/os/windows/gdi32.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3pub const PIXELFORMATDESCRIPTOR = extern struct {8pub const PIXELFORMATDESCRIPTOR = extern struct {
lib/std/os/windows/kernel32.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3pub extern "kernel32" fn AddVectoredExceptionHandler(First: c_ulong, Handler: ?VECTORED_EXCEPTION_HANDLER) callconv(.Stdcall) ?*c_void;8pub extern "kernel32" fn AddVectoredExceptionHandler(First: c_ulong, Handler: ?VECTORED_EXCEPTION_HANDLER) callconv(.Stdcall) ?*c_void;
lib/std/os/windows/lang.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const NEUTRAL = 0x00;6pub const NEUTRAL = 0x00;
2pub const INVARIANT = 0x7f;7pub const INVARIANT = 0x7f;
3pub const AFRIKAANS = 0x36;8pub const AFRIKAANS = 0x36;
lib/std/os/windows/ntdll.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3pub extern "NtDll" fn RtlGetVersion(8pub extern "NtDll" fn RtlGetVersion(
lib/std/os/windows/ntstatus.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// NTSTATUS codes from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55?6// NTSTATUS codes from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55?
2pub const NTSTATUS = extern enum(u32) {7pub const NTSTATUS = extern enum(u32) {
3 /// The operation completed successfully.8 /// The operation completed successfully.
lib/std/os/windows/ole32.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(.Stdcall) void;8pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(.Stdcall) void;
lib/std/os/windows/psapi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3pub extern "psapi" fn EmptyWorkingSet(hProcess: HANDLE) callconv(.Stdcall) BOOL;8pub extern "psapi" fn EmptyWorkingSet(hProcess: HANDLE) callconv(.Stdcall) BOOL;
lib/std/os/windows/shell32.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3pub extern "shell32" fn SHGetKnownFolderPath(rfid: *const KNOWNFOLDERID, dwFlags: DWORD, hToken: ?HANDLE, ppszPath: *[*:0]WCHAR) callconv(.Stdcall) HRESULT;8pub extern "shell32" fn SHGetKnownFolderPath(rfid: *const KNOWNFOLDERID, dwFlags: DWORD, hToken: ?HANDLE, ppszPath: *[*:0]WCHAR) callconv(.Stdcall) HRESULT;
lib/std/os/windows/sublang.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const NEUTRAL = 0x00;6pub const NEUTRAL = 0x00;
2pub const DEFAULT = 0x01;7pub const DEFAULT = 0x01;
3pub const SYS_DEFAULT = 0x02;8pub const SYS_DEFAULT = 0x02;
lib/std/os/windows/user32.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3// PM8// PM
lib/std/os/windows/win32error.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Codes are from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d6// Codes are from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d
2pub const Win32Error = extern enum(u16) {7pub const Win32Error = extern enum(u16) {
3 /// The operation completed successfully.8 /// The operation completed successfully.
lib/std/os/windows/ws2_32.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1usingnamespace @import("bits.zig");6usingnamespace @import("bits.zig");
27
3pub const SOCKET = *@Type(.Opaque);8pub const SOCKET = *@Type(.Opaque);
lib/std/packed_int_array.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const debug = std.debug;8const debug = std.debug;
lib/std/pdb.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std.zig");7const std = @import("std.zig");
3const io = std.io;8const io = std.io;
lib/std/priority_queue.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const Allocator = std.mem.Allocator;7const Allocator = std.mem.Allocator;
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/process.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const os = std.os;8const os = std.os;
lib/std/progress.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const windows = std.os.windows;7const windows = std.os.windows;
3const testing = std.testing;8const testing = std.testing;
lib/std/rand.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// The engines provided here should be initialized from an external source. For now, randomBytes6// The engines provided here should be initialized from an external source. For now, randomBytes
2// from the crypto package is the most suitable. Be sure to use a CSPRNG when required, otherwise using7// from the crypto package is the most suitable. Be sure to use a CSPRNG when required, otherwise using
3// a normal PRNG will be faster and use substantially less stack space.8// a normal PRNG will be faster and use substantially less stack space.
lib/std/rand/ziggurat.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Implements ZIGNOR [1].6// Implements ZIGNOR [1].
2//7//
3// [1]: Jurgen A. Doornik (2005). [*An Improved Ziggurat Method to Generate Normal Random Samples*]8// [1]: Jurgen A. Doornik (2005). [*An Improved Ziggurat Method to Generate Normal Random Samples*]
lib/std/rb.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const testing = std.testing;8const testing = std.testing;
lib/std/reset_event.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const testing = std.testing;8const testing = std.testing;
lib/std/segmented_list.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const testing = std.testing;8const testing = std.testing;
lib/std/sort.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const testing = std.testing;8const testing = std.testing;
lib/std/special/build_runner.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const root = @import("@build");6const root = @import("@build");
2const std = @import("std");7const std = @import("std");
3const builtin = @import("builtin");8const builtin = @import("builtin");
lib/std/special/c.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// This is Zig's multi-target implementation of libc.6// This is Zig's multi-target implementation of libc.
2// When builtin.link_libc is true, we need to export all the functions and7// When builtin.link_libc is true, we need to export all the functions and
3// provide an entire C API.8// provide an entire C API.
lib/std/special/compiler_rt.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = std.builtin;7const builtin = std.builtin;
3const is_test = builtin.is_test;8const is_test = builtin.is_test;
lib/std/special/compiler_rt/addXf3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/lib/builtins/fp_add_impl.inc8// https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/lib/builtins/fp_add_impl.inc
lib/std/special/compiler_rt/addXf3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/test/builtins/Unit/addtf3_test.c8// https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/test/builtins/Unit/addtf3_test.c
lib/std/special/compiler_rt/arm.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// ARM specific builtins6// ARM specific builtins
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/ashldi3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __ashldi3 = @import("shift.zig").__ashldi3;6const __ashldi3 = @import("shift.zig").__ashldi3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/ashlti3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __ashlti3 = @import("shift.zig").__ashlti3;6const __ashlti3 = @import("shift.zig").__ashlti3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/ashrdi3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __ashrdi3 = @import("shift.zig").__ashrdi3;6const __ashrdi3 = @import("shift.zig").__ashrdi3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/ashrti3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __ashrti3 = @import("shift.zig").__ashrti3;6const __ashrti3 = @import("shift.zig").__ashrti3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/atomics.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = std.builtin;7const builtin = std.builtin;
38
lib/std/special/compiler_rt/aulldiv.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
27
3pub fn _alldiv(a: i64, b: i64) callconv(.Stdcall) i64 {8pub fn _alldiv(a: i64, b: i64) callconv(.Stdcall) i64 {
lib/std/special/compiler_rt/aullrem.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
27
3pub fn _allrem(a: i64, b: i64) callconv(.Stdcall) i64 {8pub fn _allrem(a: i64, b: i64) callconv(.Stdcall) i64 {
lib/std/special/compiler_rt/clear_cache.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const arch = std.builtin.cpu.arch;7const arch = std.builtin.cpu.arch;
3const os = std.builtin.os.tag;8const os = std.builtin.os.tag;
lib/std/special/compiler_rt/clzsi2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
27
3fn __clzsi2_generic(a: i32) callconv(.C) i32 {8fn __clzsi2_generic(a: i32) callconv(.C) i32 {
lib/std/special/compiler_rt/clzsi2_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const clzsi2 = @import("clzsi2.zig");6const clzsi2 = @import("clzsi2.zig");
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/compareXf2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/comparesf2.c8// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/comparesf2.c
lib/std/special/compiler_rt/comparedf2_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/comparedf2_test.c8// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/comparedf2_test.c
lib/std/special/compiler_rt/comparesf2_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/comparesf2_test.c8// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/comparesf2_test.c
lib/std/special/compiler_rt/divdf3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divdf3.c8// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divdf3.c
lib/std/special/compiler_rt/divdf3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/divdf3_test.c8// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/divdf3_test.c
lib/std/special/compiler_rt/divsf3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divsf3.c8// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divsf3.c
lib/std/special/compiler_rt/divsf3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/divsf3_test.c8// https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/divsf3_test.c
lib/std/special/compiler_rt/divtf3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/divtf3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const math = std.math;7const math = std.math;
3const testing = std.testing;8const testing = std.testing;
lib/std/special/compiler_rt/divti3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const udivmod = @import("udivmod.zig").udivmod;6const udivmod = @import("udivmod.zig").udivmod;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/divti3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __divti3 = @import("divti3.zig").__divti3;6const __divti3 = @import("divti3.zig").__divti3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/extendXfYf2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const is_test = builtin.is_test;8const is_test = builtin.is_test;
lib/std/special/compiler_rt/extendXfYf2_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const __extenddftf2 = @import("extendXfYf2.zig").__extenddftf2;7const __extenddftf2 = @import("extendXfYf2.zig").__extenddftf2;
3const __extendhfsf2 = @import("extendXfYf2.zig").__extendhfsf2;8const __extendhfsf2 = @import("extendXfYf2.zig").__extendhfsf2;
lib/std/special/compiler_rt/fixdfdi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixdfdi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixdfdi = @import("fixdfdi.zig").__fixdfdi;6const __fixdfdi = @import("fixdfdi.zig").__fixdfdi;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixdfsi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixdfsi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixdfsi = @import("fixdfsi.zig").__fixdfsi;6const __fixdfsi = @import("fixdfsi.zig").__fixdfsi;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixdfti.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixdfti_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixdfti = @import("fixdfti.zig").__fixdfti;6const __fixdfti = @import("fixdfti.zig").__fixdfti;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixint.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const is_test = @import("builtin").is_test;6const is_test = @import("builtin").is_test;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixint_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const is_test = @import("builtin").is_test;6const is_test = @import("builtin").is_test;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixsfdi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixsfdi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixsfdi = @import("fixsfdi.zig").__fixsfdi;6const __fixsfdi = @import("fixsfdi.zig").__fixsfdi;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixsfsi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixsfsi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixsfsi = @import("fixsfsi.zig").__fixsfsi;6const __fixsfsi = @import("fixsfsi.zig").__fixsfsi;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixsfti.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixsfti_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixsfti = @import("fixsfti.zig").__fixsfti;6const __fixsfti = @import("fixsfti.zig").__fixsfti;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixtfdi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixtfdi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixtfdi = @import("fixtfdi.zig").__fixtfdi;6const __fixtfdi = @import("fixtfdi.zig").__fixtfdi;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixtfsi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixtfsi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixtfsi = @import("fixtfsi.zig").__fixtfsi;6const __fixtfsi = @import("fixtfsi.zig").__fixtfsi;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixtfti.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixint = @import("fixint.zig").fixint;6const fixint = @import("fixint.zig").fixint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixtfti_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixtfti = @import("fixtfti.zig").__fixtfti;6const __fixtfti = @import("fixtfti.zig").__fixtfti;
2const std = @import("std");7const std = @import("std");
3const math = std.math;8const math = std.math;
lib/std/special/compiler_rt/fixuint.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const is_test = @import("builtin").is_test;6const is_test = @import("builtin").is_test;
2const Log2Int = @import("std").math.Log2Int;7const Log2Int = @import("std").math.Log2Int;
38
lib/std/special/compiler_rt/fixunsdfdi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunsdfdi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunsdfdi = @import("fixunsdfdi.zig").__fixunsdfdi;6const __fixunsdfdi = @import("fixunsdfdi.zig").__fixunsdfdi;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/fixunsdfsi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunsdfsi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunsdfsi = @import("fixunsdfsi.zig").__fixunsdfsi;6const __fixunsdfsi = @import("fixunsdfsi.zig").__fixunsdfsi;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/fixunsdfti.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunsdfti_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunsdfti = @import("fixunsdfti.zig").__fixunsdfti;6const __fixunsdfti = @import("fixunsdfti.zig").__fixunsdfti;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/fixunssfdi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunssfdi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunssfdi = @import("fixunssfdi.zig").__fixunssfdi;6const __fixunssfdi = @import("fixunssfdi.zig").__fixunssfdi;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/fixunssfsi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunssfsi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunssfsi = @import("fixunssfsi.zig").__fixunssfsi;6const __fixunssfsi = @import("fixunssfsi.zig").__fixunssfsi;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/fixunssfti.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunssfti_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunssfti = @import("fixunssfti.zig").__fixunssfti;6const __fixunssfti = @import("fixunssfti.zig").__fixunssfti;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/fixunstfdi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunstfdi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunstfdi = @import("fixunstfdi.zig").__fixunstfdi;6const __fixunstfdi = @import("fixunstfdi.zig").__fixunstfdi;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/fixunstfsi.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunstfsi_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunstfsi = @import("fixunstfsi.zig").__fixunstfsi;6const __fixunstfsi = @import("fixunstfsi.zig").__fixunstfsi;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/fixunstfti.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const fixuint = @import("fixuint.zig").fixuint;6const fixuint = @import("fixuint.zig").fixuint;
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/fixunstfti_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __fixunstfti = @import("fixunstfti.zig").__fixunstfti;6const __fixunstfti = @import("fixunstfti.zig").__fixunstfti;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floatdidf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std");7const std = @import("std");
38
lib/std/special/compiler_rt/floatdidf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floatdidf = @import("floatdidf.zig").__floatdidf;6const __floatdidf = @import("floatdidf.zig").__floatdidf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floatditf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floatditf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floatditf = @import("floatditf.zig").__floatditf;6const __floatditf = @import("floatditf.zig").__floatditf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floatsiXf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std");7const std = @import("std");
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/special/compiler_rt/floattidf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floattidf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floattidf = @import("floattidf.zig").__floattidf;6const __floattidf = @import("floattidf.zig").__floattidf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floattisf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floattisf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floattisf = @import("floattisf.zig").__floattisf;6const __floattisf = @import("floattisf.zig").__floattisf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floattitf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floattitf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floattitf = @import("floattitf.zig").__floattitf;6const __floattitf = @import("floattitf.zig").__floattitf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floatundidf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std");7const std = @import("std");
38
lib/std/special/compiler_rt/floatundidf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floatundidf = @import("floatundidf.zig").__floatundidf;6const __floatundidf = @import("floatundidf.zig").__floatundidf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floatundisf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std");7const std = @import("std");
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/special/compiler_rt/floatunditf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floatunditf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floatunditf = @import("floatunditf.zig").__floatunditf;6const __floatunditf = @import("floatunditf.zig").__floatunditf;
27
3fn test__floatunditf(a: u64, expected_hi: u64, expected_lo: u64) void {8fn test__floatunditf(a: u64, expected_hi: u64, expected_lo: u64) void {
lib/std/special/compiler_rt/floatunsidf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std");7const std = @import("std");
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/special/compiler_rt/floatunsisf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std");7const std = @import("std");
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/special/compiler_rt/floatunsitf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floatunsitf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floatunsitf = @import("floatunsitf.zig").__floatunsitf;6const __floatunsitf = @import("floatunsitf.zig").__floatunsitf;
27
3fn test__floatunsitf(a: u64, expected_hi: u64, expected_lo: u64) void {8fn test__floatunsitf(a: u64, expected_hi: u64, expected_lo: u64) void {
lib/std/special/compiler_rt/floatuntidf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floatuntidf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floatuntidf = @import("floatuntidf.zig").__floatuntidf;6const __floatuntidf = @import("floatuntidf.zig").__floatuntidf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floatuntisf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floatuntisf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floatuntisf = @import("floatuntisf.zig").__floatuntisf;6const __floatuntisf = @import("floatuntisf.zig").__floatuntisf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/floatuntitf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
3const std = @import("std");8const std = @import("std");
lib/std/special/compiler_rt/floatuntitf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __floatuntitf = @import("floatuntitf.zig").__floatuntitf;6const __floatuntitf = @import("floatuntitf.zig").__floatuntitf;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/int.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Builtin functions that operate on integer types6// Builtin functions that operate on integer types
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const testing = @import("std").testing;8const testing = @import("std").testing;
lib/std/special/compiler_rt/lshrdi3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __lshrdi3 = @import("shift.zig").__lshrdi3;6const __lshrdi3 = @import("shift.zig").__lshrdi3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/lshrti3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __lshrti3 = @import("shift.zig").__lshrti3;6const __lshrti3 = @import("shift.zig").__lshrti3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/modti3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/lib/builtins/modti3.c8// https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/lib/builtins/modti3.c
lib/std/special/compiler_rt/modti3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __modti3 = @import("modti3.zig").__modti3;6const __modti3 = @import("modti3.zig").__modti3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/mulXf3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/lib/builtins/fp_mul_impl.inc8// https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/lib/builtins/fp_mul_impl.inc
lib/std/special/compiler_rt/mulXf3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Ported from:6// Ported from:
2//7//
3// https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/test/builtins/Unit/multf3_test.c8// https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/test/builtins/Unit/multf3_test.c
lib/std/special/compiler_rt/muldi3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
27
3// Ported from8// Ported from
lib/std/special/compiler_rt/muldi3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __muldi3 = @import("muldi3.zig").__muldi3;6const __muldi3 = @import("muldi3.zig").__muldi3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/mulodi4.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const compiler_rt = @import("../compiler_rt.zig");7const compiler_rt = @import("../compiler_rt.zig");
3const maxInt = std.math.maxInt;8const maxInt = std.math.maxInt;
lib/std/special/compiler_rt/mulodi4_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __mulodi4 = @import("mulodi4.zig").__mulodi4;6const __mulodi4 = @import("mulodi4.zig").__mulodi4;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/muloti4.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const compiler_rt = @import("../compiler_rt.zig");7const compiler_rt = @import("../compiler_rt.zig");
38
lib/std/special/compiler_rt/muloti4_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __muloti4 = @import("muloti4.zig").__muloti4;6const __muloti4 = @import("muloti4.zig").__muloti4;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/multi3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const compiler_rt = @import("../compiler_rt.zig");7const compiler_rt = @import("../compiler_rt.zig");
38
lib/std/special/compiler_rt/multi3_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __multi3 = @import("multi3.zig").__multi3;6const __multi3 = @import("multi3.zig").__multi3;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/negXf2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
27
3pub fn __negsf2(a: f32) callconv(.C) f32 {8pub fn __negsf2(a: f32) callconv(.C) f32 {
lib/std/special/compiler_rt/popcountdi2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const compiler_rt = @import("../compiler_rt.zig");7const compiler_rt = @import("../compiler_rt.zig");
38
lib/std/special/compiler_rt/popcountdi2_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __popcountdi2 = @import("popcountdi2.zig").__popcountdi2;6const __popcountdi2 = @import("popcountdi2.zig").__popcountdi2;
2const testing = @import("std").testing;7const testing = @import("std").testing;
38
lib/std/special/compiler_rt/shift.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = std.builtin;7const builtin = std.builtin;
3const Log2Int = std.math.Log2Int;8const Log2Int = std.math.Log2Int;
lib/std/special/compiler_rt/stack_probe.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
27
3// Zig's own stack-probe routine (available only on x86 and x86_64)8// Zig's own stack-probe routine (available only on x86 and x86_64)
lib/std/special/compiler_rt/truncXfYf2.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
27
3pub fn __truncsfhf2(a: f32) callconv(.C) u16 {8pub fn __truncsfhf2(a: f32) callconv(.C) u16 {
lib/std/special/compiler_rt/truncXfYf2_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const __truncsfhf2 = @import("truncXfYf2.zig").__truncsfhf2;6const __truncsfhf2 = @import("truncXfYf2.zig").__truncsfhf2;
27
3fn test__truncsfhf2(a: u32, expected: u16) void {8fn test__truncsfhf2(a: u32, expected: u16) void {
lib/std/special/compiler_rt/udivmod.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const is_test = builtin.is_test;7const is_test = builtin.is_test;
38
lib/std/special/compiler_rt/udivmoddi4_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Disable formatting to avoid unnecessary source repository bloat.6// Disable formatting to avoid unnecessary source repository bloat.
2// zig fmt: off7// zig fmt: off
3const __udivmoddi4 = @import("int.zig").__udivmoddi4;8const __udivmoddi4 = @import("int.zig").__udivmoddi4;
lib/std/special/compiler_rt/udivmodti4.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const udivmod = @import("udivmod.zig").udivmod;6const udivmod = @import("udivmod.zig").udivmod;
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const compiler_rt = @import("../compiler_rt.zig");8const compiler_rt = @import("../compiler_rt.zig");
lib/std/special/compiler_rt/udivmodti4_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// Disable formatting to avoid unnecessary source repository bloat.6// Disable formatting to avoid unnecessary source repository bloat.
2// zig fmt: off7// zig fmt: off
3const __udivmodti4 = @import("udivmodti4.zig").__udivmodti4;8const __udivmodti4 = @import("udivmodti4.zig").__udivmodti4;
lib/std/special/compiler_rt/udivti3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const udivmodti4 = @import("udivmodti4.zig");6const udivmodti4 = @import("udivmodti4.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/special/compiler_rt/umodti3.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const udivmodti4 = @import("udivmodti4.zig");6const udivmodti4 = @import("udivmodti4.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const compiler_rt = @import("../compiler_rt.zig");8const compiler_rt = @import("../compiler_rt.zig");
lib/std/special/init-exe/build.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const Builder = @import("std").build.Builder;6const Builder = @import("std").build.Builder;
27
3pub fn build(b: *Builder) void {8pub fn build(b: *Builder) void {
lib/std/special/init-exe/src/main.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
27
3pub fn main() anyerror!void {8pub fn main() anyerror!void {
lib/std/special/init-lib/build.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const Builder = @import("std").build.Builder;6const Builder = @import("std").build.Builder;
27
3pub fn build(b: *Builder) void {8pub fn build(b: *Builder) void {
lib/std/special/init-lib/src/main.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const testing = std.testing;7const testing = std.testing;
38
lib/std/special/test_runner.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const io = std.io;7const io = std.io;
3const builtin = @import("builtin");8const builtin = @import("builtin");
lib/std/spinlock.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
38
lib/std/start.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1// This file is included in the compilation unit when exporting an executable.6// This file is included in the compilation unit when exporting an executable.
27
3const root = @import("root");8const root = @import("root");
lib/std/start_windows_tls.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const builtin = std.builtin;7const builtin = std.builtin;
38
lib/std/std.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1pub const ArrayList = @import("array_list.zig").ArrayList;6pub const ArrayList = @import("array_list.zig").ArrayList;
2pub const ArrayListAligned = @import("array_list.zig").ArrayListAligned;7pub const ArrayListAligned = @import("array_list.zig").ArrayListAligned;
3pub const ArrayListAlignedUnmanaged = @import("array_list.zig").ArrayListAlignedUnmanaged;8pub const ArrayListAlignedUnmanaged = @import("array_list.zig").ArrayListAlignedUnmanaged;
lib/std/target.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const mem = std.mem;7const mem = std.mem;
3const builtin = std.builtin;8const builtin = std.builtin;
lib/std/target/aarch64.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/amdgpu.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/arm.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/avr.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/bpf.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/hexagon.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/mips.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/msp430.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/nvptx.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/powerpc.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/riscv.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/sparc.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/systemz.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/wasm.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/target/x86.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const CpuFeature = std.Target.Cpu.Feature;7const CpuFeature = std.Target.Cpu.Feature;
3const CpuModel = std.Target.Cpu.Model;8const CpuModel = std.Target.Cpu.Model;
lib/std/testing.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const print = std.debug.print;7const print = std.debug.print;
38
lib/std/testing/failing_allocator.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const mem = std.mem;7const mem = std.mem;
38
lib/std/thread.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const os = std.os;8const os = std.os;
lib/std/time.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const builtin = std.builtin;7const builtin = std.builtin;
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/time/epoch.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1//! Epoch reference times in terms of their difference from6//! Epoch reference times in terms of their difference from
2//! UTC 1970-01-01 in seconds.7//! UTC 1970-01-01 in seconds.
38
lib/std/unicode.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("./std.zig");6const std = @import("./std.zig");
2const builtin = @import("builtin");7const builtin = @import("builtin");
3const assert = std.debug.assert;8const assert = std.debug.assert;
lib/std/unicode/throughput_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std");7const std = @import("std");
38
lib/std/valgrind.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const builtin = @import("builtin");6const builtin = @import("builtin");
2const std = @import("std.zig");7const std = @import("std.zig");
3const math = std.math;8const math = std.math;
lib/std/valgrind/callgrind.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const valgrind = std.valgrind;7const valgrind = std.valgrind;
38
lib/std/valgrind/memcheck.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const testing = std.testing;7const testing = std.testing;
3const valgrind = std.valgrind;8const valgrind = std.valgrind;
lib/std/zig.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std.zig");6const std = @import("std.zig");
2const tokenizer = @import("zig/tokenizer.zig");7const tokenizer = @import("zig/tokenizer.zig");
38
lib/std/zig/ast.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const testing = std.testing;8const testing = std.testing;
lib/std/zig/cross_target.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const Target = std.Target;8const Target = std.Target;
lib/std/zig/parse.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const Allocator = std.mem.Allocator;8const Allocator = std.mem.Allocator;
lib/std/zig/parser_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1test "zig fmt: convert var to anytype" {6test "zig fmt: convert var to anytype" {
2 // TODO remove in next release cycle7 // TODO remove in next release cycle
3 try testTransform(8 try testTransform(
lib/std/zig/perf_test.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const mem = std.mem;7const mem = std.mem;
3const warn = std.debug.warn;8const warn = std.debug.warn;
lib/std/zig/render.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
3const mem = std.mem;8const mem = std.mem;
lib/std/zig/string_literal.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const assert = std.debug.assert;7const assert = std.debug.assert;
38
lib/std/zig/system.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const elf = std.elf;7const elf = std.elf;
3const mem = std.mem;8const mem = std.mem;
lib/std/zig/system/macos.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
27
3pub fn version_from_build(build: []const u8) !std.builtin.Version {8pub fn version_from_build(build: []const u8) !std.builtin.Version {
lib/std/zig/system/x86.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("std");6const std = @import("std");
2const Target = std.Target;7const Target = std.Target;
3const CrossTarget = std.zig.CrossTarget;8const CrossTarget = std.zig.CrossTarget;
lib/std/zig/tokenizer.zig+5
...@@ -1,3 +1,8 @@...@@ -1,3 +1,8 @@
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2015-2020 Zig Contributors
3// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4// The MIT license requires this copyright notice to be included in all copies
5// and substantial portions of the software.
1const std = @import("../std.zig");6const std = @import("../std.zig");
2const mem = std.mem;7const mem = std.mem;
38
test/stack_traces.zig+3-3
...@@ -282,10 +282,10 @@ pub fn addCases(cases: *tests.StackTracesContext) void {...@@ -282,10 +282,10 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
282 \\source.zig:10:8: [address] in main (test)282 \\source.zig:10:8: [address] in main (test)
283 \\ foo();283 \\ foo();
284 \\ ^284 \\ ^
285 \\start.zig:249:29: [address] in std.start.posixCallMainAndExit (test)285 \\start.zig:254:29: [address] in std.start.posixCallMainAndExit (test)
286 \\ return root.main();286 \\ return root.main();
287 \\ ^287 \\ ^
288 \\start.zig:123:5: [address] in std.start._start (test)288 \\start.zig:128:5: [address] in std.start._start (test)
289 \\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});289 \\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
290 \\ ^290 \\ ^
291 \\291 \\
...@@ -294,7 +294,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {...@@ -294,7 +294,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
294 switch (std.Target.current.cpu.arch) {294 switch (std.Target.current.cpu.arch) {
295 .aarch64 => "", // TODO disabled; results in segfault295 .aarch64 => "", // TODO disabled; results in segfault
296 else => 296 else =>
297 \\start.zig:123:5: [address] in std.start._start (test)297 \\start.zig:128:5: [address] in std.start._start (test)
298 \\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});298 \\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
299 \\ ^299 \\ ^
300 \\300 \\