| author | |
| committer | |
| log | d29871977f97b50fe5e3f16cd9c68ebeba02a562 |
| tree | 0deb01ff5e6e8a98da46663ba5b45e233ae52aad |
| parent | dd75302563f5cc0c67907b5c8a724e69379893f0 |
We already have a LICENSE file that covers the Zig Standard Library. We
no longer need to remind everyone that the license is MIT in every single
file.
Previously this was introduced to clarify the situation for a fork of
Zig that made Zig's LICENSE file harder to find, and replaced it with
their own license that required annual payments to their company.
However that fork now appears to be dead. So there is no need to
reinforce the copyright notice in every single file.536 files changed, 47 insertions(+), 2743 deletions(-)
lib/std/Progress.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! This API non-allocating, non-fallible, and thread-safe. | 1 | //! This API non-allocating, non-fallible, and thread-safe. |
| 8 | //! The tradeoff is that users of this API must provide the storage | 2 | //! The tradeoff is that users of this API must provide the storage |
| 9 | //! for each `Progress.Node`. | 3 | //! for each `Progress.Node`. |
lib/std/SemanticVersion.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2020 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! A software version formatted according to the Semantic Version 2 specification. | 1 | //! A software version formatted according to the Semantic Version 2 specification. |
| 8 | //! | 2 | //! |
| 9 | //! See: https://semver.org | 3 | //! See: https://semver.org |
lib/std/Thread.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! This struct represents a kernel thread, and acts as a namespace for concurrency | 1 | //! This struct represents a kernel thread, and acts as a namespace for concurrency |
| 8 | //! primitives that operate on kernel threads. For concurrency primitives that support | 2 | //! primitives that operate on kernel threads. For concurrency primitives that support |
| 9 | //! both evented I/O and async I/O, see the respective names in the top level std namespace. | 3 | //! both evented I/O and async I/O, see the respective names in the top level std namespace. |
lib/std/Thread/AutoResetEvent.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! Similar to `StaticResetEvent` but on `set()` it also (atomically) does `reset()`. | 1 | //! Similar to `StaticResetEvent` but on `set()` it also (atomically) does `reset()`. |
| 8 | //! Unlike StaticResetEvent, `wait()` can only be called by one thread (MPSC-like). | 2 | //! Unlike StaticResetEvent, `wait()` can only be called by one thread (MPSC-like). |
| 9 | //! | 3 | //! |
lib/std/Thread/Condition.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! A condition provides a way for a kernel thread to block until it is signaled | 1 | //! A condition provides a way for a kernel thread to block until it is signaled |
| 8 | //! to wake up. Spurious wakeups are possible. | 2 | //! to wake up. Spurious wakeups are possible. |
| 9 | //! This API supports static initialization and does not require deinitialization. | 3 | //! This API supports static initialization and does not require deinitialization. |
lib/std/Thread/Futex.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! Futex is a mechanism used to block (`wait`) and unblock (`wake`) threads using a 32bit memory address as hints. | 1 | //! Futex is a mechanism used to block (`wait`) and unblock (`wake`) threads using a 32bit memory address as hints. |
| 8 | //! Blocking a thread is acknowledged only if the 32bit memory address is equal to a given value. | 2 | //! Blocking a thread is acknowledged only if the 32bit memory address is equal to a given value. |
| 9 | //! This check helps avoid block/unblock deadlocks which occur if a `wake()` happens before a `wait()`. | 3 | //! This check helps avoid block/unblock deadlocks which occur if a `wake()` happens before a `wait()`. |
lib/std/Thread/Mutex.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! Lock may be held only once. If the same thread tries to acquire | 1 | //! Lock may be held only once. If the same thread tries to acquire |
| 8 | //! the same mutex twice, it deadlocks. This type supports static | 2 | //! the same mutex twice, it deadlocks. This type supports static |
| 9 | //! initialization and is at most `@sizeOf(usize)` in size. When an | 3 | //! initialization and is at most `@sizeOf(usize)` in size. When an |
lib/std/Thread/ResetEvent.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! A thread-safe resource which supports blocking until signaled. | 1 | //! A thread-safe resource which supports blocking until signaled. |
| 8 | //! This API is for kernel threads, not evented I/O. | 2 | //! This API is for kernel threads, not evented I/O. |
| 9 | //! This API requires being initialized at runtime, and initialization | 3 | //! This API requires being initialized at runtime, and initialization |
lib/std/Thread/RwLock.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! A lock that supports one writer or many readers. | 1 | //! A lock that supports one writer or many readers. |
| 8 | //! This API is for kernel threads, not evented I/O. | 2 | //! This API is for kernel threads, not evented I/O. |
| 9 | //! This API requires being initialized at runtime, and initialization | 3 | //! This API requires being initialized at runtime, and initialization |
lib/std/Thread/Semaphore.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! A semaphore is an unsigned integer that blocks the kernel thread if | 1 | //! A semaphore is an unsigned integer that blocks the kernel thread if |
| 8 | //! the number would become negative. | 2 | //! the number would become negative. |
| 9 | //! This API supports static initialization and does not require deinitialization. | 3 | //! This API supports static initialization and does not require deinitialization. |
lib/std/Thread/StaticResetEvent.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! A thread-safe resource which supports blocking until signaled. | 1 | //! A thread-safe resource which supports blocking until signaled. |
| 8 | //! This API is for kernel threads, not evented I/O. | 2 | //! This API is for kernel threads, not evented I/O. |
| 9 | //! This API is statically initializable. It cannot fail to be initialized | 3 | //! This API is statically initializable. It cannot fail to be initialized |
lib/std/array_hash_map.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const debug = std.debug; | 2 | const debug = std.debug; |
| 8 | const assert = debug.assert; | 3 | const assert = debug.assert; |
lib/std/array_list.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const debug = std.debug; | 2 | const debug = std.debug; |
| 8 | const assert = debug.assert; | 3 | const assert = debug.assert; |
lib/std/ascii.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Does NOT look at the locale the way C89's toupper(3), isspace() et cetera does. | 1 | // Does NOT look at the locale the way C89's toupper(3), isspace() et cetera does. |
| 7 | // I could have taken only a u7 to make this clear, but it would be slower | 2 | // I could have taken only a u7 to make this clear, but it would be slower |
| 8 | // It is my opinion that encodings other than UTF-8 should not be supported. | 3 | // It is my opinion that encodings other than UTF-8 should not be supported. |
lib/std/atomic.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 8 | const target = std.Target.current; | 2 | const target = std.Target.current; |
| 9 | 3 |
lib/std/atomic/Atomic.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 8 | 2 | ||
| 9 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/atomic/queue.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/atomic/stack.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const assert = std.debug.assert; | 1 | const assert = std.debug.assert; |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const expect = std.testing.expect; | 3 | const expect = std.testing.expect; |
lib/std/base64.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/bit_set.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! This file defines several variants of bit sets. A bit set | 1 | //! This file defines several variants of bit sets. A bit set |
| 8 | //! is a densely stored set of integers with a known maximum, | 2 | //! is a densely stored set of integers with a known maximum, |
| 9 | //! in which each integer gets a single bit. Bit sets have very | 3 | //! in which each integer gets a single bit. Bit sets have very |
lib/std/bounded_array.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 8 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 9 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/buf_map.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const StringHashMap = std.StringHashMap; | 2 | const StringHashMap = std.StringHashMap; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/buf_set.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const StringHashMap = std.StringHashMap; | 2 | const StringHashMap = std.StringHashMap; |
| 8 | const mem = @import("mem.zig"); | 3 | const mem = @import("mem.zig"); |
lib/std/build.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const io = std.io; | 3 | const io = std.io; |
lib/std/build/CheckFileStep.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const build = std.build; | 2 | const build = std.build; |
| 8 | const Step = build.Step; | 3 | const Step = build.Step; |
lib/std/build/FmtStep.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const build = @import("../build.zig"); | 2 | const build = @import("../build.zig"); |
| 8 | const Step = build.Step; | 3 | const Step = build.Step; |
lib/std/build/InstallRawStep.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | 2 | ||
| 8 | const Allocator = std.mem.Allocator; | 3 | const Allocator = std.mem.Allocator; |
lib/std/build/RunStep.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const build = std.build; | 3 | const build = std.build; |
lib/std/build/TranslateCStep.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const build = std.build; | 2 | const build = std.build; |
| 8 | const Step = build.Step; | 3 | const Step = build.Step; |
lib/std/build/WriteFileStep.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const build = @import("../build.zig"); | 2 | const build = @import("../build.zig"); |
| 8 | const Step = build.Step; | 3 | const Step = build.Step; |
lib/std/builtin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | 2 | ||
| 8 | // These are all deprecated. | 3 | // These are all deprecated. |
lib/std/c.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const page_size = std.mem.page_size; | 3 | const page_size = std.mem.page_size; |
lib/std/c/darwin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const builtin = @import("builtin"); | 3 | const builtin = @import("builtin"); |
lib/std/c/dragonfly.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | usingnamespace std.c; | 2 | usingnamespace std.c; |
| 8 | extern "c" threadlocal var errno: c_int; | 3 | extern "c" threadlocal var errno: c_int; |
lib/std/c/emscripten.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const pthread_mutex_t = extern struct { | 1 | pub const pthread_mutex_t = extern struct { |
| 7 | size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(4) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T, | 2 | size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(4) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T, |
| 8 | }; | 3 | }; |
lib/std/c/freebsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | usingnamespace std.c; | 2 | usingnamespace std.c; |
| 8 | 3 |
lib/std/c/fuchsia.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const pthread_mutex_t = extern struct { | 1 | pub const pthread_mutex_t = extern struct { |
| 7 | size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T, | 2 | size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T, |
| 8 | }; | 3 | }; |
lib/std/c/haiku.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | // | 1 | // |
| 8 | const std = @import("../std.zig"); | 2 | const std = @import("../std.zig"); |
| 9 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/c/hermit.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const pthread_mutex_t = extern struct { | 1 | pub const pthread_mutex_t = extern struct { |
| 7 | inner: usize = ~@as(usize, 0), | 2 | inner: usize = ~@as(usize, 0), |
| 8 | }; | 3 | }; |
lib/std/c/linux.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const maxInt = std.math.maxInt; | 2 | const maxInt = std.math.maxInt; |
| 8 | const abi = std.Target.current.abi; | 3 | const abi = std.Target.current.abi; |
lib/std/c/minix.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | pub const pthread_mutex_t = extern struct { | 2 | pub const pthread_mutex_t = extern struct { |
| 8 | size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T, | 3 | size: [__SIZEOF_PTHREAD_MUTEX_T]u8 align(@alignOf(usize)) = [_]u8{0} ** __SIZEOF_PTHREAD_MUTEX_T, |
lib/std/c/netbsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | 3 |
lib/std/c/openbsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | 3 |
lib/std/c/solaris.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const pthread_mutex_t = extern struct { | 1 | pub const pthread_mutex_t = extern struct { |
| 7 | __pthread_mutex_flag1: u16 = 0, | 2 | __pthread_mutex_flag1: u16 = 0, |
| 8 | __pthread_mutex_flag2: u8 = 0, | 3 | __pthread_mutex_flag2: u8 = 0, |
lib/std/c/tokenizer.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | 3 |
lib/std/c/wasi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../os/bits.zig"); | 1 | usingnamespace @import("../os/bits.zig"); |
| 7 | 2 | ||
| 8 | extern threadlocal var errno: c_int; | 3 | extern threadlocal var errno: c_int; |
lib/std/c/windows.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub extern "c" fn _errno() *c_int; | 1 | pub extern "c" fn _errno() *c_int; |
| 7 | 2 | ||
| 8 | pub extern "c" fn _msize(memblock: ?*c_void) usize; | 3 | pub extern "c" fn _msize(memblock: ?*c_void) usize; |
lib/std/child_process.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const cstr = std.cstr; | 2 | const cstr = std.cstr; |
| 8 | const unicode = std.unicode; | 3 | const unicode = std.unicode; |
lib/std/coff.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = std.builtin; | 1 | const builtin = std.builtin; |
| 7 | const std = @import("std.zig"); | 2 | const std = @import("std.zig"); |
| 8 | const io = std.io; | 3 | const io = std.io; |
lib/std/compress.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | 2 | ||
| 8 | pub const deflate = @import("compress/deflate.zig"); | 3 | pub const deflate = @import("compress/deflate.zig"); |
lib/std/compress/deflate.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // | 1 | // |
| 7 | // Decompressor for DEFLATE data streams (RFC1951) | 2 | // Decompressor for DEFLATE data streams (RFC1951) |
| 8 | // | 3 | // |
lib/std/compress/gzip.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // | 1 | // |
| 7 | // Decompressor for GZIP data streams (RFC1952) | 2 | // Decompressor for GZIP data streams (RFC1952) |
| 8 | 3 |
lib/std/compress/zlib.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // | 1 | // |
| 7 | // Decompressor for ZLIB data streams (RFC1950) | 2 | // Decompressor for ZLIB data streams (RFC1950) |
| 8 | 3 |
lib/std/comptime_string_map.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | 3 |
lib/std/crypto.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | /// Authenticated Encryption with Associated Data | 1 | /// Authenticated Encryption with Associated Data |
| 8 | pub const aead = struct { | 2 | pub const aead = struct { |
| 9 | pub const aegis = struct { | 3 | pub const aegis = struct { |
lib/std/crypto/25519/curve25519.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 8 | 3 |
lib/std/crypto/25519/ed25519.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/crypto/25519/edwards25519.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/crypto/25519/field.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 8 | const readIntLittle = std.mem.readIntLittle; | 3 | const readIntLittle = std.mem.readIntLittle; |
lib/std/crypto/25519/ristretto255.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const fmt = std.fmt; | 2 | const fmt = std.fmt; |
| 8 | 3 |
lib/std/crypto/25519/scalar.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | 3 |
lib/std/crypto/25519/x25519.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/crypto/aegis.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const mem = std.mem; | 2 | const mem = std.mem; |
| 9 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/crypto/aes.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 8 | const testing = std.testing; | 2 | const testing = std.testing; |
| 9 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/crypto/aes/aesni.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 8 | const mem = std.mem; | 2 | const mem = std.mem; |
| 9 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/crypto/aes/armcrypto.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 8 | const mem = std.mem; | 2 | const mem = std.mem; |
| 9 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/crypto/aes/soft.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Based on Go stdlib implementation | 1 | // Based on Go stdlib implementation |
| 7 | 2 | ||
| 8 | const std = @import("../../std.zig"); | 3 | const std = @import("../../std.zig"); |
lib/std/crypto/aes_gcm.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 9 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/crypto/aes_ocb.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 9 | const aes = crypto.core.aes; | 3 | const aes = crypto.core.aes; |
lib/std/crypto/bcrypt.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 9 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/crypto/benchmark.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // zig run benchmark.zig --release-fast --zig-lib-dir .. | 1 | // zig run benchmark.zig --release-fast --zig-lib-dir .. |
| 7 | 2 | ||
| 8 | const std = @import("../std.zig"); | 3 | const std = @import("../std.zig"); |
lib/std/crypto/blake2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/crypto/blake3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Translated from BLAKE3 reference implementation. | 1 | // Translated from BLAKE3 reference implementation. |
| 7 | // Source: https://github.com/BLAKE3-team/BLAKE3 | 2 | // Source: https://github.com/BLAKE3-team/BLAKE3 |
| 8 | 3 |
lib/std/crypto/chacha20.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Based on public domain Supercop by Daniel J. Bernstein | 1 | // Based on public domain Supercop by Daniel J. Bernstein |
| 7 | 2 | ||
| 8 | const std = @import("../std.zig"); | 3 | const std = @import("../std.zig"); |
lib/std/crypto/ghash.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // | 1 | // |
| 7 | // Adapted from BearSSL's ctmul64 implementation originally written by Thomas Pornin <pornin@bolet.org> | 2 | // Adapted from BearSSL's ctmul64 implementation originally written by Thomas Pornin <pornin@bolet.org> |
| 8 | 3 |
lib/std/crypto/gimli.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Gimli is a 384-bit permutation designed to achieve high security with high | 1 | // Gimli is a 384-bit permutation designed to achieve high security with high |
| 7 | // performance across a broad range of platforms, including 64-bit Intel/AMD | 2 | // performance across a broad range of platforms, including 64-bit Intel/AMD |
| 8 | // server CPUs, 64-bit and 32-bit ARM smartphone CPUs, 32-bit ARM | 3 | // server CPUs, 64-bit and 32-bit ARM smartphone CPUs, 32-bit ARM |
lib/std/crypto/hkdf.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 8 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 9 | const hmac = std.crypto.auth.hmac; | 3 | const hmac = std.crypto.auth.hmac; |
lib/std/crypto/hmac.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/crypto/md5.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/crypto/modes.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Based on Go stdlib implementation | 1 | // Based on Go stdlib implementation |
| 7 | 2 | ||
| 8 | const std = @import("../std.zig"); | 3 | const std = @import("../std.zig"); |
lib/std/crypto/pbkdf2.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const mem = std.mem; | 2 | const mem = std.mem; |
| 9 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/crypto/pcurves/p256.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 9 | const crypto = std.crypto; | 3 | const crypto = std.crypto; |
lib/std/crypto/pcurves/p256/field.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const common = @import("../common.zig"); | 2 | const common = @import("../common.zig"); |
| 9 | 3 |
lib/std/crypto/pcurves/p256/scalar.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 9 | const common = @import("../common.zig"); | 3 | const common = @import("../common.zig"); |
lib/std/crypto/pcurves/tests.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const fmt = std.fmt; | 2 | const fmt = std.fmt; |
| 9 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/crypto/phc_encoding.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | // https://github.com/P-H-C/phc-string-format | 1 | // https://github.com/P-H-C/phc-string-format |
| 8 | 2 | ||
| 9 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/crypto/poly1305.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const utils = std.crypto.utils; | 2 | const utils = std.crypto.utils; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/crypto/salsa20.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const crypto = std.crypto; | 2 | const crypto = std.crypto; |
| 9 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/crypto/scrypt.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | // https://tools.ietf.org/html/rfc7914 | 1 | // https://tools.ietf.org/html/rfc7914 |
| 8 | // https://github.com/golang/crypto/blob/master/scrypt/scrypt.go | 2 | // https://github.com/golang/crypto/blob/master/scrypt/scrypt.go |
| 9 | 3 |
lib/std/crypto/sha1.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/crypto/sha2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/crypto/sha3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/crypto/siphash.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // | 1 | // |
| 7 | // SipHash is a moderately fast pseudorandom function, returning a 64-bit or 128-bit tag for an arbitrary long input. | 2 | // SipHash is a moderately fast pseudorandom function, returning a 64-bit or 128-bit tag for an arbitrary long input. |
| 8 | // | 3 | // |
lib/std/crypto/test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const fmt = std.fmt; | 3 | const fmt = std.fmt; |
lib/std/crypto/tlcsprng.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! Thread-local cryptographically secure pseudo-random number generator. | 1 | //! Thread-local cryptographically secure pseudo-random number generator. |
| 8 | //! This file has public declarations that are intended to be used internally | 2 | //! This file has public declarations that are intended to be used internally |
| 9 | //! by the standard library; this namespace is not intended to be exposed | 3 | //! by the standard library; this namespace is not intended to be exposed |
lib/std/cstr.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/debug.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/dwarf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/dwarf_bits.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const TAG_padding = 0x00; | 1 | pub const TAG_padding = 0x00; |
| 7 | pub const TAG_array_type = 0x01; | 2 | pub const TAG_array_type = 0x01; |
| 8 | pub const TAG_class_type = 0x02; | 3 | pub const TAG_class_type = 0x02; |
lib/std/dynamic_library.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = std.builtin; | 1 | const builtin = std.builtin; |
| 7 | 2 | ||
| 8 | const std = @import("std.zig"); | 3 | const std = @import("std.zig"); |
lib/std/elf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const os = std.os; | 3 | const os = std.os; |
lib/std/enums.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! This module contains utilities and data structures for working with enums. | 1 | //! This module contains utilities and data structures for working with enums. |
| 8 | 2 | ||
| 9 | const std = @import("std.zig"); | 3 | const std = @import("std.zig"); |
lib/std/event.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const Channel = @import("event/channel.zig").Channel; | 1 | pub const Channel = @import("event/channel.zig").Channel; |
| 7 | pub const Future = @import("event/future.zig").Future; | 2 | pub const Future = @import("event/future.zig").Future; |
| 8 | pub const Group = @import("event/group.zig").Group; | 3 | pub const Group = @import("event/group.zig").Group; |
lib/std/event/batch.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | 3 |
lib/std/event/channel.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/event/future.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/event/group.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const Lock = std.event.Lock; | 3 | const Lock = std.event.Lock; |
lib/std/event/lock.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/event/locked.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const Lock = std.event.Lock; | 2 | const Lock = std.event.Lock; |
| 8 | 3 |
lib/std/event/loop.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const root = @import("root"); | 3 | const root = @import("root"); |
lib/std/event/rwlock.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/event/rwlocked.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const RwLock = std.event.RwLock; | 2 | const RwLock = std.event.RwLock; |
| 8 | 3 |
lib/std/event/wait_group.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const Loop = std.event.Loop; | 3 | const Loop = std.event.Loop; |
lib/std/fifo.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // FIFO of fixed size items | 1 | // FIFO of fixed size items |
| 7 | // Usually used for e.g. byte buffers | 2 | // Usually used for e.g. byte buffers |
| 8 | 3 |
lib/std/fmt.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/fmt/errol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const enum3 = @import("errol/enum3.zig").enum3; | 2 | const enum3 = @import("errol/enum3.zig").enum3; |
| 8 | const enum3_data = @import("errol/enum3.zig").enum3_data; | 3 | const enum3_data = @import("errol/enum3.zig").enum3_data; |
lib/std/fmt/errol/enum3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const enum3 = [_]u64{ | 1 | pub const enum3 = [_]u64{ |
| 7 | 0x4e2e2785c3a2a20b, | 2 | 0x4e2e2785c3a2a20b, |
| 8 | 0x240a28877a09a4e1, | 3 | 0x240a28877a09a4e1, |
lib/std/fmt/errol/lookup.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const HP = struct { | 1 | pub const HP = struct { |
| 7 | val: f64, | 2 | val: f64, |
| 8 | off: f64, | 3 | off: f64, |
lib/std/fmt/parse_float.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Adapted from https://github.com/grzegorz-kraszewski/stringtofloat. | 1 | // Adapted from https://github.com/grzegorz-kraszewski/stringtofloat. |
| 7 | 2 | ||
| 8 | // MIT License | 3 | // MIT License |
lib/std/fmt/parse_hex_float.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software.const std = @import("std"); | ||
| 6 | // | ||
| 7 | // The rounding logic is inspired by LLVM's APFloat and Go's atofHex | 1 | // The rounding logic is inspired by LLVM's APFloat and Go's atofHex |
| 8 | // implementation. | 2 | // implementation. |
| 9 | 3 |
lib/std/fs.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const root = @import("root"); | 1 | const root = @import("root"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const std = @import("std.zig"); | 3 | const std = @import("std.zig"); |
lib/std/fs/file.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const os = std.os; | 3 | const os = std.os; |
lib/std/fs/get_app_data_dir.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const unicode = std.unicode; | 3 | const unicode = std.unicode; |
lib/std/fs/path.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("../std.zig"); | 2 | const std = @import("../std.zig"); |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/fs/test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/fs/wasi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const os = std.os; | 2 | const os = std.os; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/fs/watch.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const event = std.event; | 3 | const event = std.event; |
lib/std/hash.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const adler = @import("hash/adler.zig"); | 1 | const adler = @import("hash/adler.zig"); |
| 7 | pub const Adler32 = adler.Adler32; | 2 | pub const Adler32 = adler.Adler32; |
| 8 | 3 |
lib/std/hash/adler.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Adler32 checksum. | 1 | // Adler32 checksum. |
| 7 | // | 2 | // |
| 8 | // https://tools.ietf.org/html/rfc1950#section-9 | 3 | // https://tools.ietf.org/html/rfc1950#section-9 |
lib/std/hash/auto_hash.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/hash/benchmark.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // zig run benchmark.zig --release-fast --zig-lib-dir .. | 1 | // zig run benchmark.zig --release-fast --zig-lib-dir .. |
| 7 | 2 | ||
| 8 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/hash/cityhash.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | 3 |
lib/std/hash/crc.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // There are two implementations of CRC32 implemented with the following key characteristics: | 1 | // There are two implementations of CRC32 implemented with the following key characteristics: |
| 7 | // | 2 | // |
| 8 | // - Crc32WithPoly uses 8Kb of tables but is ~10x faster than the small method. | 3 | // - Crc32WithPoly uses 8Kb of tables but is ~10x faster than the small method. |
lib/std/hash/fnv.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // FNV1a - Fowler-Noll-Vo hash function | 1 | // FNV1a - Fowler-Noll-Vo hash function |
| 7 | // | 2 | // |
| 8 | // FNV1a is a fast, non-cryptographic hash function with fairly good distribution properties. | 3 | // FNV1a is a fast, non-cryptographic hash function with fairly good distribution properties. |
lib/std/hash/murmur.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/hash/wyhash.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | 3 |
lib/std/hash_map.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const assert = debug.assert; | 2 | const assert = debug.assert; |
| 8 | const autoHash = std.hash.autoHash; | 3 | const autoHash = std.hash.autoHash; |
lib/std/heap.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const root = @import("root"); | 2 | const root = @import("root"); |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/heap/arena_allocator.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/heap/general_purpose_allocator.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | //! # General Purpose Allocator | 1 | //! # General Purpose Allocator |
| 7 | //! | 2 | //! |
| 8 | //! ## Design Priorities | 3 | //! ## Design Priorities |
lib/std/heap/log_to_writer_allocator.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const Allocator = std.mem.Allocator; | 2 | const Allocator = std.mem.Allocator; |
| 8 | 3 |
lib/std/heap/logging_allocator.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const Allocator = std.mem.Allocator; | 2 | const Allocator = std.mem.Allocator; |
| 8 | 3 |
lib/std/io.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const root = @import("root"); | 3 | const root = @import("root"); |
lib/std/io/bit_reader.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const io = std.io; | 3 | const io = std.io; |
lib/std/io/bit_writer.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const io = std.io; | 3 | const io = std.io; |
lib/std/io/buffered_atomic_file.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const fs = std.fs; | 3 | const fs = std.fs; |
lib/std/io/buffered_reader.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/io/buffered_writer.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | 3 |
lib/std/io/c_writer.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const io = std.io; | 3 | const io = std.io; |
lib/std/io/change_detection_stream.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 8 | const io = std.io; | 2 | const io = std.io; |
| 9 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/io/counting_reader.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/io/counting_writer.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/io/find_byte_writer.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 8 | const io = std.io; | 2 | const io = std.io; |
| 9 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/io/fixed_buffer_stream.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/io/limited_reader.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2020 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/io/multi_writer.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/io/peek_stream.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/io/reader.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/io/seekable_stream.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | 2 | ||
| 8 | pub fn SeekableStream( | 3 | pub fn SeekableStream( |
lib/std/io/stream_source.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | 3 |
lib/std/io/test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const io = std.io; | 3 | const io = std.io; |
lib/std/io/writer.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/json.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // JSON parser conforming to RFC8259. | 1 | // JSON parser conforming to RFC8259. |
| 7 | // | 2 | // |
| 8 | // https://tools.ietf.org/html/rfc8259 | 3 | // https://tools.ietf.org/html/rfc8259 |
lib/std/json/test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // RFC 8529 conformance tests. | 1 | // RFC 8529 conformance tests. |
| 7 | // | 2 | // |
| 8 | // Tests are taken from https://github.com/nst/JSONTestSuite | 3 | // Tests are taken from https://github.com/nst/JSONTestSuite |
lib/std/json/write_stream.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/leb128.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | 3 |
lib/std/linked_list.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const debug = std.debug; | 2 | const debug = std.debug; |
| 8 | const assert = debug.assert; | 3 | const assert = debug.assert; |
lib/std/log.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! std.log is a standardized interface for logging which allows for the logging | 1 | //! std.log is a standardized interface for logging which allows for the logging |
| 8 | //! of programs and libraries using this interface to be formatted and filtered | 2 | //! of programs and libraries using this interface to be formatted and filtered |
| 9 | //! by the implementer of the root.log function. | 3 | //! by the implementer of the root.log function. |
lib/std/macho.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const mach_header = extern struct { | 1 | pub const mach_header = extern struct { |
| 7 | magic: u32, | 2 | magic: u32, |
| 8 | cputype: cpu_type_t, | 3 | cputype: cpu_type_t, |
lib/std/math.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/math/acos.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/acosh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/asin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/asinh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/atan.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/atan2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/atanh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/big.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | 3 |
lib/std/math/big/int.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const Limb = std.math.big.Limb; | 3 | const Limb = std.math.big.Limb; |
lib/std/math/big/int_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/math/big/rational.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const debug = std.debug; | 2 | const debug = std.debug; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/cbrt.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/ceil.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/complex.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/abs.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/acos.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/acosh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/arg.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/asin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/asinh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/atan.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/complex/atanh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/conj.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/cos.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/cosh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/complex/exp.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/complex/ldexp.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/complex/log.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/pow.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/proj.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/sin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/sinh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/complex/sqrt.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/complex/tan.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/math/complex/tanh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/copysign.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/cos.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from go, which is licensed under a BSD-3 license. | 1 | // Ported from go, which is licensed under a BSD-3 license. |
| 7 | // https://golang.org/LICENSE | 2 | // https://golang.org/LICENSE |
| 8 | // | 3 | // |
lib/std/math/cosh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/epsilon.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const math = @import("../math.zig"); | 1 | const math = @import("../math.zig"); |
| 7 | 2 | ||
| 8 | /// Returns the machine epsilon for type T. | 3 | /// Returns the machine epsilon for type T. |
lib/std/math/exp.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/exp2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/expm1.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/expo2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/fabs.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/floor.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/fma.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/frexp.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/hypot.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/ilogb.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/inf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | 3 |
lib/std/math/isfinite.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const expect = std.testing.expect; | 3 | const expect = std.testing.expect; |
lib/std/math/isinf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const expect = std.testing.expect; | 3 | const expect = std.testing.expect; |
lib/std/math/isnan.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const expect = std.testing.expect; | 3 | const expect = std.testing.expect; |
lib/std/math/isnormal.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const expect = std.testing.expect; | 3 | const expect = std.testing.expect; |
lib/std/math/ln.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/log.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/log10.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/log1p.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/log2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/modf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/nan.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const math = @import("../math.zig"); | 1 | const math = @import("../math.zig"); |
| 7 | 2 | ||
| 8 | /// Returns the nan representation for type T. | 3 | /// Returns the nan representation for type T. |
lib/std/math/pow.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from go, which is licensed under a BSD-3 license. | 1 | // Ported from go, which is licensed under a BSD-3 license. |
| 7 | // https://golang.org/LICENSE | 2 | // https://golang.org/LICENSE |
| 8 | // | 3 | // |
lib/std/math/powi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Based on Rust, which is licensed under the MIT license. | 1 | // Based on Rust, which is licensed under the MIT license. |
| 7 | // https://github.com/rust-lang/rust/blob/360432f1e8794de58cd94f34c9c17ad65871e5b5/LICENSE-MIT | 2 | // https://github.com/rust-lang/rust/blob/360432f1e8794de58cd94f34c9c17ad65871e5b5/LICENSE-MIT |
| 8 | // | 3 | // |
lib/std/math/round.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/scalbn.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/signbit.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const expect = std.testing.expect; | 3 | const expect = std.testing.expect; |
lib/std/math/sin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from go, which is licensed under a BSD-3 license. | 1 | // Ported from go, which is licensed under a BSD-3 license. |
| 7 | // https://golang.org/LICENSE | 2 | // https://golang.org/LICENSE |
| 8 | // | 3 | // |
lib/std/math/sinh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/sqrt.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const expect = std.testing.expect; | 3 | const expect = std.testing.expect; |
lib/std/math/tan.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from go, which is licensed under a BSD-3 license. | 1 | // Ported from go, which is licensed under a BSD-3 license. |
| 7 | // https://golang.org/LICENSE | 2 | // https://golang.org/LICENSE |
| 8 | // | 3 | // |
lib/std/math/tanh.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/math/trunc.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from musl, which is licensed under the MIT license: | 1 | // Ported from musl, which is licensed under the MIT license: |
| 7 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT | 2 | // https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT |
| 8 | // | 3 | // |
lib/std/mem.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const debug = std.debug; | 2 | const debug = std.debug; |
| 8 | const assert = debug.assert; | 3 | const assert = debug.assert; |
lib/std/mem/Allocator.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | //! The standard memory allocation interface. | 1 | //! The standard memory allocation interface. |
| 7 | 2 | ||
| 8 | const std = @import("../std.zig"); | 3 | const std = @import("../std.zig"); |
lib/std/meta.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/meta/trailer_flags.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const meta = std.meta; | 2 | const meta = std.meta; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/meta/trait.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/multi_array_list.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const meta = std.meta; | 3 | const meta = std.meta; |
lib/std/net.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/net/test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const net = std.net; | 3 | const net = std.net; |
lib/std/once.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/os.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // This file contains thin wrappers around OS-specific APIs, with these | 1 | // This file contains thin wrappers around OS-specific APIs, with these |
| 7 | // specific goals in mind: | 2 | // specific goals in mind: |
| 8 | // * Convert "errno"-style error codes into Zig errors. | 3 | // * Convert "errno"-style error codes into Zig errors. |
lib/std/os/bits.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | //! Platform-dependent types and values that are used along with OS-specific APIs. | 1 | //! Platform-dependent types and values that are used along with OS-specific APIs. |
| 7 | //! These are imported into `std.c`, `std.os`, and `std.os.linux`. | 2 | //! These are imported into `std.c`, `std.os`, and `std.os.linux`. |
| 8 | //! Root source files can define `os.bits` and these will additionally be added | 3 | //! Root source files can define `os.bits` and these will additionally be added |
lib/std/os/bits/darwin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/os/bits/dragonfly.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const maxInt = std.math.maxInt; | 2 | const maxInt = std.math.maxInt; |
| 8 | 3 |
lib/std/os/bits/freebsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/os/bits/haiku.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2020 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const maxInt = std.math.maxInt; | 2 | const maxInt = std.math.maxInt; |
| 8 | 3 |
lib/std/os/bits/linux.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const maxInt = std.math.maxInt; | 2 | const maxInt = std.math.maxInt; |
| 8 | const arch = @import("builtin").target.cpu.arch; | 3 | const arch = @import("builtin").target.cpu.arch; |
lib/std/os/bits/linux/arm-eabi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // arm-eabi-specific declarations that are intended to be imported into the POSIX namespace. | 1 | // arm-eabi-specific declarations that are intended to be imported into the POSIX namespace. |
| 7 | const std = @import("../../../std.zig"); | 2 | const std = @import("../../../std.zig"); |
| 8 | const linux = std.os.linux; | 3 | const linux = std.os.linux; |
lib/std/os/bits/linux/arm64.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // arm64-specific declarations that are intended to be imported into the POSIX namespace. | 1 | // arm64-specific declarations that are intended to be imported into the POSIX namespace. |
| 7 | // This does include Linux-only APIs. | 2 | // This does include Linux-only APIs. |
| 8 | 3 |
lib/std/os/bits/linux/errno/generic.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | pub const E = enum(u16) { | 1 | pub const E = enum(u16) { |
| 8 | /// No error occurred. | 2 | /// No error occurred. |
| 9 | /// Same code used for `NSROK`. | 3 | /// Same code used for `NSROK`. |
lib/std/os/bits/linux/errno/mips.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! These are MIPS ABI compatible. | 1 | //! These are MIPS ABI compatible. |
| 8 | pub const E = enum(i32) { | 2 | pub const E = enum(i32) { |
| 9 | /// No error occurred. | 3 | /// No error occurred. |
lib/std/os/bits/linux/errno/sparc.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! These match the SunOS error numbering scheme. | 1 | //! These match the SunOS error numbering scheme. |
| 8 | pub const E = enum(i32) { | 2 | pub const E = enum(i32) { |
| 9 | /// No error occurred. | 3 | /// No error occurred. |
lib/std/os/bits/linux/i386.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // i386-specific declarations that are intended to be imported into the POSIX namespace. | 1 | // i386-specific declarations that are intended to be imported into the POSIX namespace. |
| 7 | // This does include Linux-only APIs. | 2 | // This does include Linux-only APIs. |
| 8 | 3 |
lib/std/os/bits/linux/mips.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../../std.zig"); | 1 | const std = @import("../../../std.zig"); |
| 7 | const linux = std.os.linux; | 2 | const linux = std.os.linux; |
| 8 | const socklen_t = linux.socklen_t; | 3 | const socklen_t = linux.socklen_t; |
lib/std/os/bits/linux/netlink.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../linux.zig"); | 1 | usingnamespace @import("../linux.zig"); |
| 7 | 2 | ||
| 8 | /// Routing/device hook | 3 | /// Routing/device hook |
lib/std/os/bits/linux/powerpc.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../../std.zig"); | 1 | const std = @import("../../../std.zig"); |
| 8 | const linux = std.os.linux; | 2 | const linux = std.os.linux; |
| 9 | const socklen_t = linux.socklen_t; | 3 | const socklen_t = linux.socklen_t; |
lib/std/os/bits/linux/powerpc64.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../../std.zig"); | 1 | const std = @import("../../../std.zig"); |
| 8 | const linux = std.os.linux; | 2 | const linux = std.os.linux; |
| 9 | const socklen_t = linux.socklen_t; | 3 | const socklen_t = linux.socklen_t; |
lib/std/os/bits/linux/prctl.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | pub const PR = enum(i32) { | 1 | pub const PR = enum(i32) { |
| 8 | SET_PDEATHSIG = 1, | 2 | SET_PDEATHSIG = 1, |
| 9 | GET_PDEATHSIG = 2, | 3 | GET_PDEATHSIG = 2, |
lib/std/os/bits/linux/riscv64.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // riscv64-specific declarations that are intended to be imported into the POSIX namespace. | 1 | // riscv64-specific declarations that are intended to be imported into the POSIX namespace. |
| 7 | const std = @import("../../../std.zig"); | 2 | const std = @import("../../../std.zig"); |
| 8 | const uid_t = std.os.linux.uid_t; | 3 | const uid_t = std.os.linux.uid_t; |
lib/std/os/bits/linux/securebits.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | fn issecure_mask(comptime x: comptime_int) comptime_int { | 1 | fn issecure_mask(comptime x: comptime_int) comptime_int { |
| 8 | return 1 << x; | 2 | return 1 << x; |
| 9 | } | 3 | } |
lib/std/os/bits/linux/x86_64.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // x86-64-specific declarations that are intended to be imported into the POSIX namespace. | 1 | // x86-64-specific declarations that are intended to be imported into the POSIX namespace. |
| 7 | const std = @import("../../../std.zig"); | 2 | const std = @import("../../../std.zig"); |
| 8 | const pid_t = linux.pid_t; | 3 | const pid_t = linux.pid_t; |
lib/std/os/bits/linux/xdp.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../linux.zig"); | 1 | usingnamespace @import("../linux.zig"); |
| 7 | 2 | ||
| 8 | pub const XDP_SHARED_UMEM = (1 << 0); | 3 | pub const XDP_SHARED_UMEM = (1 << 0); |
lib/std/os/bits/netbsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/os/bits/openbsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/os/bits/posix.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | pub const iovec = extern struct { | 1 | pub const iovec = extern struct { |
| 8 | iov_base: [*]u8, | 2 | iov_base: [*]u8, |
| 9 | iov_len: usize, | 3 | iov_len: usize, |
lib/std/os/bits/wasi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Convenience types and consts used by std.os module | 1 | // Convenience types and consts used by std.os module |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const posix = @import("posix.zig"); | 3 | const posix = @import("posix.zig"); |
lib/std/os/bits/windows.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // The reference for these types and values is Microsoft Windows's ucrt (Universal C RunTime). | 1 | // The reference for these types and values is Microsoft Windows's ucrt (Universal C RunTime). |
| 7 | 2 | ||
| 8 | usingnamespace @import("../windows/bits.zig"); | 3 | usingnamespace @import("../windows/bits.zig"); |
lib/std/os/darwin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | pub usingnamespace std.c; | 2 | pub usingnamespace std.c; |
| 8 | pub usingnamespace @import("bits.zig"); | 3 | pub usingnamespace @import("bits.zig"); |
lib/std/os/dragonfly.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | pub usingnamespace std.c; | 2 | pub usingnamespace std.c; |
| 8 | pub usingnamespace @import("bits.zig"); | 3 | pub usingnamespace @import("bits.zig"); |
lib/std/os/freebsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | pub usingnamespace std.c; | 2 | pub usingnamespace std.c; |
| 8 | pub usingnamespace @import("bits.zig"); | 3 | pub usingnamespace @import("bits.zig"); |
lib/std/os/haiku.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2020 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | pub usingnamespace std.c; | 2 | pub usingnamespace std.c; |
| 8 | pub usingnamespace @import("bits.zig"); | 3 | pub usingnamespace @import("bits.zig"); |
lib/std/os/linux.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // This file provides the system interface functions for Linux matching those | 1 | // This file provides the system interface functions for Linux matching those |
| 7 | // that are provided by libc, whether or not libc is linked. The following | 2 | // that are provided by libc, whether or not libc is linked. The following |
| 8 | // abstractions are made: | 3 | // abstractions are made: |
lib/std/os/linux/arm-eabi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 7 | 2 | ||
| 8 | pub fn syscall0(number: SYS) usize { | 3 | pub fn syscall0(number: SYS) usize { |
lib/std/os/linux/arm64.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 7 | 2 | ||
| 8 | pub fn syscall0(number: SYS) usize { | 3 | pub fn syscall0(number: SYS) usize { |
lib/std/os/linux/bpf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace std.os.linux; | 1 | usingnamespace std.os.linux; |
| 7 | const std = @import("../../std.zig"); | 2 | const std = @import("../../std.zig"); |
| 8 | const errno = getErrno; | 3 | const errno = getErrno; |
lib/std/os/linux/bpf/btf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const magic = 0xeb9f; | 1 | const magic = 0xeb9f; |
| 7 | const version = 1; | 2 | const version = 1; |
| 8 | 3 |
lib/std/os/linux/bpf/btf_ext.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const Header = packed struct { | 1 | pub const Header = packed struct { |
| 7 | magic: u16, | 2 | magic: u16, |
| 8 | version: u8, | 3 | version: u8, |
lib/std/os/linux/bpf/helpers.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const kern = @import("kern.zig"); | 1 | const kern = @import("kern.zig"); |
| 7 | 2 | ||
| 8 | // in BPF, all the helper calls | 3 | // in BPF, all the helper calls |
lib/std/os/linux/bpf/kern.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../../std.zig"); | 1 | const std = @import("../../../std.zig"); |
| 7 | 2 | ||
| 8 | const in_bpf_program = switch (std.builtin.cpu.arch) { | 3 | const in_bpf_program = switch (std.builtin.cpu.arch) { |
lib/std/os/linux/i386.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 7 | 2 | ||
| 8 | pub fn syscall0(number: SYS) usize { | 3 | pub fn syscall0(number: SYS) usize { |
lib/std/os/linux/io_uring.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/os/linux/mips.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 7 | 2 | ||
| 8 | pub fn syscall0(number: SYS) usize { | 3 | pub fn syscall0(number: SYS) usize { |
lib/std/os/linux/powerpc.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 8 | 2 | ||
| 9 | pub fn syscall0(number: SYS) usize { | 3 | pub fn syscall0(number: SYS) usize { |
lib/std/os/linux/powerpc64.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 8 | 2 | ||
| 9 | pub fn syscall0(number: SYS) usize { | 3 | pub fn syscall0(number: SYS) usize { |
lib/std/os/linux/riscv64.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 7 | 2 | ||
| 8 | pub fn syscall0(number: SYS) usize { | 3 | pub fn syscall0(number: SYS) usize { |
lib/std/os/linux/test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const linux = std.os.linux; | 3 | const linux = std.os.linux; |
lib/std/os/linux/thumb.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 7 | 2 | ||
| 8 | // The syscall interface is identical to the ARM one but we're facing an extra | 3 | // The syscall interface is identical to the ARM one but we're facing an extra |
lib/std/os/linux/tls.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const os = std.os; | 2 | const os = std.os; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/os/linux/vdso.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const elf = std.elf; | 2 | const elf = std.elf; |
| 8 | const linux = std.os.linux; | 3 | const linux = std.os.linux; |
lib/std/os/linux/x86_64.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("../bits/linux.zig"); | 1 | usingnamespace @import("../bits/linux.zig"); |
| 7 | 2 | ||
| 8 | pub fn syscall0(number: SYS) usize { | 3 | pub fn syscall0(number: SYS) usize { |
lib/std/os/netbsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | pub usingnamespace std.c; | 2 | pub usingnamespace std.c; |
| 8 | pub usingnamespace @import("bits.zig"); | 3 | pub usingnamespace @import("bits.zig"); |
lib/std/os/openbsd.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | pub usingnamespace std.c; | 2 | pub usingnamespace std.c; |
| 8 | pub usingnamespace @import("bits.zig"); | 3 | pub usingnamespace @import("bits.zig"); |
lib/std/os/test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const os = std.os; | 2 | const os = std.os; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/os/uefi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | 2 | ||
| 8 | /// A protocol is an interface identified by a GUID. | 3 | /// A protocol is an interface identified by a GUID. |
lib/std/os/uefi/protocols.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const LoadedImageProtocol = @import("protocols/loaded_image_protocol.zig").LoadedImageProtocol; | 1 | pub const LoadedImageProtocol = @import("protocols/loaded_image_protocol.zig").LoadedImageProtocol; |
| 7 | pub const loaded_image_device_path_protocol_guid = @import("protocols/loaded_image_protocol.zig").loaded_image_device_path_protocol_guid; | 2 | pub const loaded_image_device_path_protocol_guid = @import("protocols/loaded_image_protocol.zig").loaded_image_device_path_protocol_guid; |
| 8 | 3 |
lib/std/os/uefi/protocols/absolute_pointer_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Event = uefi.Event; | 2 | const Event = uefi.Event; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/protocols/device_path_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | 3 |
lib/std/os/uefi/protocols/edid_active_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | 3 |
lib/std/os/uefi/protocols/edid_discovered_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | 3 |
lib/std/os/uefi/protocols/edid_override_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Handle = uefi.Handle; | 3 | const Handle = uefi.Handle; |
lib/std/os/uefi/protocols/file_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Time = uefi.Time; | 3 | const Time = uefi.Time; |
lib/std/os/uefi/protocols/graphics_output_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Status = uefi.Status; | 3 | const Status = uefi.Status; |
lib/std/os/uefi/protocols/hii.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | 3 |
lib/std/os/uefi/protocols/hii_database_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Status = uefi.Status; | 3 | const Status = uefi.Status; |
lib/std/os/uefi/protocols/hii_popup_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Status = uefi.Status; | 3 | const Status = uefi.Status; |
lib/std/os/uefi/protocols/ip6_config_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Event = uefi.Event; | 3 | const Event = uefi.Event; |
lib/std/os/uefi/protocols/ip6_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Event = uefi.Event; | 3 | const Event = uefi.Event; |
lib/std/os/uefi/protocols/ip6_service_binding_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Handle = uefi.Handle; | 2 | const Handle = uefi.Handle; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/protocols/loaded_image_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Handle = uefi.Handle; | 3 | const Handle = uefi.Handle; |
lib/std/os/uefi/protocols/managed_network_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Event = uefi.Event; | 3 | const Event = uefi.Event; |
lib/std/os/uefi/protocols/managed_network_service_binding_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Handle = uefi.Handle; | 2 | const Handle = uefi.Handle; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/protocols/rng_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Status = uefi.Status; | 3 | const Status = uefi.Status; |
lib/std/os/uefi/protocols/shell_parameters_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const FileHandle = uefi.FileHandle; | 3 | const FileHandle = uefi.FileHandle; |
lib/std/os/uefi/protocols/simple_file_system_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const FileProtocol = uefi.protocols.FileProtocol; | 3 | const FileProtocol = uefi.protocols.FileProtocol; |
lib/std/os/uefi/protocols/simple_network_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Event = uefi.Event; | 2 | const Event = uefi.Event; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/protocols/simple_pointer_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Event = uefi.Event; | 2 | const Event = uefi.Event; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/protocols/simple_text_input_ex_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Event = uefi.Event; | 2 | const Event = uefi.Event; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/protocols/simple_text_input_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Event = uefi.Event; | 2 | const Event = uefi.Event; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/protocols/simple_text_output_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Status = uefi.Status; | 3 | const Status = uefi.Status; |
lib/std/os/uefi/protocols/udp6_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const Event = uefi.Event; | 3 | const Event = uefi.Event; |
lib/std/os/uefi/protocols/udp6_service_binding_protocol.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Handle = uefi.Handle; | 2 | const Handle = uefi.Handle; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/status.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const high_bit = 1 << @typeInfo(usize).Int.bits - 1; | 1 | const high_bit = 1 << @typeInfo(usize).Int.bits - 1; |
| 7 | 2 | ||
| 8 | pub const Status = enum(usize) { | 3 | pub const Status = enum(usize) { |
lib/std/os/uefi/tables.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const AllocateType = @import("tables/boot_services.zig").AllocateType; | 1 | pub const AllocateType = @import("tables/boot_services.zig").AllocateType; |
| 7 | pub const BootServices = @import("tables/boot_services.zig").BootServices; | 2 | pub const BootServices = @import("tables/boot_services.zig").BootServices; |
| 8 | pub const ConfigurationTable = @import("tables/configuration_table.zig").ConfigurationTable; | 3 | pub const ConfigurationTable = @import("tables/configuration_table.zig").ConfigurationTable; |
lib/std/os/uefi/tables/boot_services.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Event = uefi.Event; | 2 | const Event = uefi.Event; |
| 8 | const Guid = uefi.Guid; | 3 | const Guid = uefi.Guid; |
lib/std/os/uefi/tables/configuration_table.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | 3 |
lib/std/os/uefi/tables/runtime_services.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 8 | const TableHeader = uefi.tables.TableHeader; | 3 | const TableHeader = uefi.tables.TableHeader; |
lib/std/os/uefi/tables/system_table.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const uefi = @import("std").os.uefi; | 1 | const uefi = @import("std").os.uefi; |
| 7 | const BootServices = uefi.tables.BootServices; | 2 | const BootServices = uefi.tables.BootServices; |
| 8 | const ConfigurationTable = uefi.tables.ConfigurationTable; | 3 | const ConfigurationTable = uefi.tables.ConfigurationTable; |
lib/std/os/uefi/tables/table_header.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const TableHeader = extern struct { | 1 | pub const TableHeader = extern struct { |
| 7 | signature: u64, | 2 | signature: u64, |
| 8 | revision: u32, | 3 | revision: u32, |
lib/std/os/wasi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // wasi_snapshot_preview1 spec available (in witx format) here: | 1 | // wasi_snapshot_preview1 spec available (in witx format) here: |
| 7 | // * typenames -- https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/witx/typenames.witx | 2 | // * typenames -- https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/witx/typenames.witx |
| 8 | // * module -- https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/witx/wasi_snapshot_preview1.witx | 3 | // * module -- https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/witx/wasi_snapshot_preview1.witx |
lib/std/os/windows.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // This file contains thin wrappers around Windows-specific APIs, with these | 1 | // This file contains thin wrappers around Windows-specific APIs, with these |
| 7 | // specific goals in mind: | 2 | // specific goals in mind: |
| 8 | // * Convert "errno"-style error codes into Zig errors. | 3 | // * Convert "errno"-style error codes into Zig errors. |
lib/std/os/windows/advapi32.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | 2 | ||
| 8 | pub extern "advapi32" fn RegOpenKeyExW( | 3 | pub extern "advapi32" fn RegOpenKeyExW( |
lib/std/os/windows/bits.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Platform-dependent types and values that are used along with OS-specific APIs. | 1 | // Platform-dependent types and values that are used along with OS-specific APIs. |
| 7 | 2 | ||
| 8 | const std = @import("../../std.zig"); | 3 | const std = @import("../../std.zig"); |
lib/std/os/windows/gdi32.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | 2 | ||
| 8 | pub const PIXELFORMATDESCRIPTOR = extern struct { | 3 | pub const PIXELFORMATDESCRIPTOR = extern struct { |
lib/std/os/windows/kernel32.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | 2 | ||
| 8 | pub extern "kernel32" fn AddVectoredExceptionHandler(First: c_ulong, Handler: ?VECTORED_EXCEPTION_HANDLER) callconv(WINAPI) ?*c_void; | 3 | pub extern "kernel32" fn AddVectoredExceptionHandler(First: c_ulong, Handler: ?VECTORED_EXCEPTION_HANDLER) callconv(WINAPI) ?*c_void; |
lib/std/os/windows/lang.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const NEUTRAL = 0x00; | 1 | pub const NEUTRAL = 0x00; |
| 7 | pub const INVARIANT = 0x7f; | 2 | pub const INVARIANT = 0x7f; |
| 8 | pub const AFRIKAANS = 0x36; | 3 | pub const AFRIKAANS = 0x36; |
lib/std/os/windows/ntdll.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | 2 | ||
| 8 | pub extern "NtDll" fn RtlGetVersion( | 3 | pub extern "NtDll" fn RtlGetVersion( |
lib/std/os/windows/ntstatus.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | /// NTSTATUS codes from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55? | 1 | /// NTSTATUS codes from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55? |
| 8 | pub const NTSTATUS = enum(u32) { | 2 | pub const NTSTATUS = enum(u32) { |
| 9 | /// The caller specified WaitAny for WaitType and one of the dispatcher | 3 | /// The caller specified WaitAny for WaitType and one of the dispatcher |
lib/std/os/windows/ole32.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | 2 | ||
| 8 | pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(WINAPI) void; | 3 | pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(WINAPI) void; |
lib/std/os/windows/psapi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | 2 | ||
| 8 | pub extern "psapi" fn EmptyWorkingSet(hProcess: HANDLE) callconv(WINAPI) BOOL; | 3 | pub extern "psapi" fn EmptyWorkingSet(hProcess: HANDLE) callconv(WINAPI) BOOL; |
lib/std/os/windows/shell32.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | 2 | ||
| 8 | pub extern "shell32" fn SHGetKnownFolderPath(rfid: *const KNOWNFOLDERID, dwFlags: DWORD, hToken: ?HANDLE, ppszPath: *[*:0]WCHAR) callconv(WINAPI) HRESULT; | 3 | pub extern "shell32" fn SHGetKnownFolderPath(rfid: *const KNOWNFOLDERID, dwFlags: DWORD, hToken: ?HANDLE, ppszPath: *[*:0]WCHAR) callconv(WINAPI) HRESULT; |
lib/std/os/windows/sublang.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const NEUTRAL = 0x00; | 1 | pub const NEUTRAL = 0x00; |
| 7 | pub const DEFAULT = 0x01; | 2 | pub const DEFAULT = 0x01; |
| 8 | pub const SYS_DEFAULT = 0x02; | 3 | pub const SYS_DEFAULT = 0x02; |
lib/std/os/windows/test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2020 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const windows = std.os.windows; | 3 | const windows = std.os.windows; |
lib/std/os/windows/user32.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/os/windows/win32error.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Codes are from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d | 1 | // Codes are from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d |
| 7 | pub const Win32Error = enum(u16) { | 2 | pub const Win32Error = enum(u16) { |
| 8 | /// The operation completed successfully. | 3 | /// The operation completed successfully. |
lib/std/os/windows/winmm.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | usingnamespace @import("bits.zig"); | 1 | usingnamespace @import("bits.zig"); |
| 7 | 2 | ||
| 8 | pub const MMRESULT = UINT; | 3 | pub const MMRESULT = UINT; |
lib/std/os/windows/ws2_32.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 7 | usingnamespace @import("bits.zig"); | 2 | usingnamespace @import("bits.zig"); |
| 8 | 3 |
lib/std/packed_int_array.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const debug = std.debug; | 3 | const debug = std.debug; |
lib/std/pdb.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = std.builtin; | 1 | const builtin = std.builtin; |
| 7 | const std = @import("std.zig"); | 2 | const std = @import("std.zig"); |
| 8 | const io = std.io; | 3 | const io = std.io; |
lib/std/priority_dequeue.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const Allocator = std.mem.Allocator; | 2 | const Allocator = std.mem.Allocator; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/priority_queue.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const Allocator = std.mem.Allocator; | 2 | const Allocator = std.mem.Allocator; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/process.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const os = std.os; | 3 | const os = std.os; |
lib/std/rand.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! The engines provided here should be initialized from an external source. | 1 | //! The engines provided here should be initialized from an external source. |
| 8 | //! For a thread-local cryptographically secure pseudo random number generator, | 2 | //! For a thread-local cryptographically secure pseudo random number generator, |
| 9 | //! use `std.crypto.random`. | 3 | //! use `std.crypto.random`. |
lib/std/rand/Gimli.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! CSPRNG | 1 | //! CSPRNG |
| 8 | 2 | ||
| 9 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/rand/Isaac64.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! ISAAC64 - http://www.burtleburtle.net/bob/rand/isaacafa.html | 1 | //! ISAAC64 - http://www.burtleburtle.net/bob/rand/isaacafa.html |
| 8 | //! | 2 | //! |
| 9 | //! Follows the general idea of the implementation from here with a few shortcuts. | 3 | //! Follows the general idea of the implementation from here with a few shortcuts. |
lib/std/rand/Pcg.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! PCG32 - http://www.pcg-random.org/ | 1 | //! PCG32 - http://www.pcg-random.org/ |
| 8 | //! | 2 | //! |
| 9 | //! PRNG | 3 | //! PRNG |
lib/std/rand/Sfc64.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! Sfc64 pseudo-random number generator from Practically Random. | 1 | //! Sfc64 pseudo-random number generator from Practically Random. |
| 8 | //! Fastest engine of pracrand and smallest footprint. | 2 | //! Fastest engine of pracrand and smallest footprint. |
| 9 | //! See http://pracrand.sourceforge.net/ | 3 | //! See http://pracrand.sourceforge.net/ |
lib/std/rand/Xoroshiro128.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! Xoroshiro128+ - http://xoroshiro.di.unimi.it/ | 1 | //! Xoroshiro128+ - http://xoroshiro.di.unimi.it/ |
| 8 | //! | 2 | //! |
| 9 | //! PRNG | 3 | //! PRNG |
lib/std/rand/Xoshiro256.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | //! Xoshiro256++ - http://xoroshiro.di.unimi.it/ | 1 | //! Xoshiro256++ - http://xoroshiro.di.unimi.it/ |
| 8 | //! | 2 | //! |
| 9 | //! PRNG | 3 | //! PRNG |
lib/std/rand/ziggurat.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Implements ZIGNOR [1]. | 1 | // Implements ZIGNOR [1]. |
| 7 | // | 2 | // |
| 8 | // [1]: Jurgen A. Doornik (2005). [*An Improved Ziggurat Method to Generate Normal Random Samples*] | 3 | // [1]: Jurgen A. Doornik (2005). [*An Improved Ziggurat Method to Generate Normal Random Samples*] |
lib/std/sort.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/special/build_runner.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const root = @import("@build"); | 1 | const root = @import("@build"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const builtin = @import("builtin"); | 3 | const builtin = @import("builtin"); |
lib/std/special/c.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // This is Zig's multi-target implementation of libc. | 1 | // This is Zig's multi-target implementation of libc. |
| 7 | // When builtin.link_libc is true, we need to export all the functions and | 2 | // When builtin.link_libc is true, we need to export all the functions and |
| 8 | // provide an entire C API. | 3 | // provide an entire C API. |
lib/std/special/compiler_rt.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const is_test = builtin.is_test; | 3 | const is_test = builtin.is_test; |
lib/std/special/compiler_rt/addXf3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/lib/builtins/fp_add_impl.inc | 3 | // 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,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/test/builtins/Unit/addtf3_test.c | 3 | // 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,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // ARM specific builtins | 1 | // ARM specific builtins |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/ashldi3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __ashldi3 = @import("shift.zig").__ashldi3; | 1 | const __ashldi3 = @import("shift.zig").__ashldi3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/ashlti3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __ashlti3 = @import("shift.zig").__ashlti3; | 1 | const __ashlti3 = @import("shift.zig").__ashlti3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/ashrdi3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __ashrdi3 = @import("shift.zig").__ashrdi3; | 1 | const __ashrdi3 = @import("shift.zig").__ashrdi3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/ashrti3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __ashrti3 = @import("shift.zig").__ashrti3; | 1 | const __ashrti3 = @import("shift.zig").__ashrti3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/atomics.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const arch = std.Target.current.cpu.arch; | 3 | const arch = std.Target.current.cpu.arch; |
lib/std/special/compiler_rt/aulldiv.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | 2 | ||
| 8 | pub fn _alldiv(a: i64, b: i64) callconv(.Stdcall) i64 { | 3 | pub fn _alldiv(a: i64, b: i64) callconv(.Stdcall) i64 { |
lib/std/special/compiler_rt/aullrem.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | 2 | ||
| 8 | pub fn _allrem(a: i64, b: i64) callconv(.Stdcall) i64 { | 3 | pub fn _allrem(a: i64, b: i64) callconv(.Stdcall) i64 { |
lib/std/special/compiler_rt/clear_cache.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const arch = std.builtin.cpu.arch; | 2 | const arch = std.builtin.cpu.arch; |
| 8 | const os = std.builtin.os.tag; | 3 | const os = std.builtin.os.tag; |
lib/std/special/compiler_rt/clzsi2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | 3 |
lib/std/special/compiler_rt/clzsi2_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const clzsi2 = @import("clzsi2.zig"); | 1 | const clzsi2 = @import("clzsi2.zig"); |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/compareXf2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/comparesf2.c | 3 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/comparesf2.c |
lib/std/special/compiler_rt/comparedf2_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/comparedf2_test.c | 3 | // 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,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/comparesf2_test.c | 3 | // 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,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divdf3.c | 3 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divdf3.c |
lib/std/special/compiler_rt/divdf3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/divdf3_test.c | 3 | // 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,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divsf3.c | 3 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divsf3.c |
lib/std/special/compiler_rt/divsf3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/divsf3_test.c | 3 | // 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,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/divtf3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const math = std.math; | 2 | const math = std.math; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/special/compiler_rt/divti3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const udivmod = @import("udivmod.zig").udivmod; | 1 | const udivmod = @import("udivmod.zig").udivmod; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/divti3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __divti3 = @import("divti3.zig").__divti3; | 1 | const __divti3 = @import("divti3.zig").__divti3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/emutls.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2018 LLVM Compiler Infrastructure | ||
| 3 | // Copyright (c) 2020 Sebastien Marie <semarie@online.fr> | ||
| 4 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 5 | // The MIT license requires this copyright notice to be included in all copies | ||
| 6 | // and substantial portions of the software. | ||
| 7 | // __emutls_get_address specific builtin | 1 | // __emutls_get_address specific builtin |
| 8 | // | 2 | // |
| 9 | // derived work from LLVM Compiler Infrastructure - release 8.0 (MIT) | 3 | // derived work from LLVM Compiler Infrastructure - release 8.0 (MIT) |
lib/std/special/compiler_rt/extendXfYf2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const is_test = builtin.is_test; | 3 | const is_test = builtin.is_test; |
lib/std/special/compiler_rt/extendXfYf2_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const __extendhfsf2 = @import("extendXfYf2.zig").__extendhfsf2; | 2 | const __extendhfsf2 = @import("extendXfYf2.zig").__extendhfsf2; |
| 8 | const __extendhftf2 = @import("extendXfYf2.zig").__extendhftf2; | 3 | const __extendhftf2 = @import("extendXfYf2.zig").__extendhftf2; |
lib/std/special/compiler_rt/fixdfdi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixdfdi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixdfdi = @import("fixdfdi.zig").__fixdfdi; | 1 | const __fixdfdi = @import("fixdfdi.zig").__fixdfdi; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixdfsi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixdfsi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixdfsi = @import("fixdfsi.zig").__fixdfsi; | 1 | const __fixdfsi = @import("fixdfsi.zig").__fixdfsi; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixdfti.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixdfti_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixdfti = @import("fixdfti.zig").__fixdfti; | 1 | const __fixdfti = @import("fixdfti.zig").__fixdfti; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixint.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const is_test = @import("builtin").is_test; | 1 | const is_test = @import("builtin").is_test; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixint_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const is_test = @import("builtin").is_test; | 1 | const is_test = @import("builtin").is_test; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixsfdi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixsfdi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixsfdi = @import("fixsfdi.zig").__fixsfdi; | 1 | const __fixsfdi = @import("fixsfdi.zig").__fixsfdi; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixsfsi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixsfsi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixsfsi = @import("fixsfsi.zig").__fixsfsi; | 1 | const __fixsfsi = @import("fixsfsi.zig").__fixsfsi; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixsfti.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixsfti_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixsfti = @import("fixsfti.zig").__fixsfti; | 1 | const __fixsfti = @import("fixsfti.zig").__fixsfti; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixtfdi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixtfdi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixtfdi = @import("fixtfdi.zig").__fixtfdi; | 1 | const __fixtfdi = @import("fixtfdi.zig").__fixtfdi; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixtfsi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixtfsi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixtfsi = @import("fixtfsi.zig").__fixtfsi; | 1 | const __fixtfsi = @import("fixtfsi.zig").__fixtfsi; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixtfti.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixint = @import("fixint.zig").fixint; | 1 | const fixint = @import("fixint.zig").fixint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixtfti_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixtfti = @import("fixtfti.zig").__fixtfti; | 1 | const __fixtfti = @import("fixtfti.zig").__fixtfti; |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/special/compiler_rt/fixuint.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const is_test = @import("builtin").is_test; | 1 | const is_test = @import("builtin").is_test; |
| 7 | const Log2Int = @import("std").math.Log2Int; | 2 | const Log2Int = @import("std").math.Log2Int; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunsdfdi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunsdfdi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunsdfdi = @import("fixunsdfdi.zig").__fixunsdfdi; | 1 | const __fixunsdfdi = @import("fixunsdfdi.zig").__fixunsdfdi; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunsdfsi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunsdfsi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunsdfsi = @import("fixunsdfsi.zig").__fixunsdfsi; | 1 | const __fixunsdfsi = @import("fixunsdfsi.zig").__fixunsdfsi; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunsdfti.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunsdfti_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunsdfti = @import("fixunsdfti.zig").__fixunsdfti; | 1 | const __fixunsdfti = @import("fixunsdfti.zig").__fixunsdfti; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunssfdi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunssfdi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunssfdi = @import("fixunssfdi.zig").__fixunssfdi; | 1 | const __fixunssfdi = @import("fixunssfdi.zig").__fixunssfdi; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunssfsi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunssfsi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunssfsi = @import("fixunssfsi.zig").__fixunssfsi; | 1 | const __fixunssfsi = @import("fixunssfsi.zig").__fixunssfsi; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunssfti.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunssfti_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunssfti = @import("fixunssfti.zig").__fixunssfti; | 1 | const __fixunssfti = @import("fixunssfti.zig").__fixunssfti; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunstfdi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunstfdi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunstfdi = @import("fixunstfdi.zig").__fixunstfdi; | 1 | const __fixunstfdi = @import("fixunstfdi.zig").__fixunstfdi; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunstfsi.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunstfsi_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunstfsi = @import("fixunstfsi.zig").__fixunstfsi; | 1 | const __fixunstfsi = @import("fixunstfsi.zig").__fixunstfsi; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/fixunstfti.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const fixuint = @import("fixuint.zig").fixuint; | 1 | const fixuint = @import("fixuint.zig").fixuint; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/fixunstfti_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __fixunstfti = @import("fixunstfti.zig").__fixunstfti; | 1 | const __fixunstfti = @import("fixunstfti.zig").__fixunstfti; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floatXisf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/special/compiler_rt/floatdidf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | 3 |
lib/std/special/compiler_rt/floatdidf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatdidf = @import("floatdidf.zig").__floatdidf; | 1 | const __floatdidf = @import("floatdidf.zig").__floatdidf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floatdisf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatdisf = @import("floatXisf.zig").__floatdisf; | 1 | const __floatdisf = @import("floatXisf.zig").__floatdisf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floatditf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/special/compiler_rt/floatditf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatditf = @import("floatditf.zig").__floatditf; | 1 | const __floatditf = @import("floatditf.zig").__floatditf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floatsiXf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/special/compiler_rt/floattidf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/special/compiler_rt/floattidf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floattidf = @import("floattidf.zig").__floattidf; | 1 | const __floattidf = @import("floattidf.zig").__floattidf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floattisf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floattisf = @import("floatXisf.zig").__floattisf; | 1 | const __floattisf = @import("floatXisf.zig").__floattisf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floattitf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/special/compiler_rt/floattitf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floattitf = @import("floattitf.zig").__floattitf; | 1 | const __floattitf = @import("floattitf.zig").__floattitf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floatundidf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | 3 |
lib/std/special/compiler_rt/floatundidf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatundidf = @import("floatundidf.zig").__floatundidf; | 1 | const __floatundidf = @import("floatundidf.zig").__floatundidf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floatundisf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/special/compiler_rt/floatunditf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/special/compiler_rt/floatunditf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatunditf = @import("floatunditf.zig").__floatunditf; | 1 | const __floatunditf = @import("floatunditf.zig").__floatunditf; |
| 7 | 2 | ||
| 8 | fn test__floatunditf(a: u64, expected_hi: u64, expected_lo: u64) !void { | 3 | fn test__floatunditf(a: u64, expected_hi: u64, expected_lo: u64) !void { |
lib/std/special/compiler_rt/floatunsidf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/special/compiler_rt/floatunsisf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/special/compiler_rt/floatunsitf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/special/compiler_rt/floatunsitf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatunsitf = @import("floatunsitf.zig").__floatunsitf; | 1 | const __floatunsitf = @import("floatunsitf.zig").__floatunsitf; |
| 7 | 2 | ||
| 8 | fn test__floatunsitf(a: u32, expected_hi: u64, expected_lo: u64) !void { | 3 | fn test__floatunsitf(a: u32, expected_hi: u64, expected_lo: u64) !void { |
lib/std/special/compiler_rt/floatuntidf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/special/compiler_rt/floatuntidf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatuntidf = @import("floatuntidf.zig").__floatuntidf; | 1 | const __floatuntidf = @import("floatuntidf.zig").__floatuntidf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floatuntisf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/special/compiler_rt/floatuntisf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatuntisf = @import("floatuntisf.zig").__floatuntisf; | 1 | const __floatuntisf = @import("floatuntisf.zig").__floatuntisf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/floatuntitf.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const std = @import("std"); | 3 | const std = @import("std"); |
lib/std/special/compiler_rt/floatuntitf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __floatuntitf = @import("floatuntitf.zig").__floatuntitf; | 1 | const __floatuntitf = @import("floatuntitf.zig").__floatuntitf; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/int.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Builtin functions that operate on integer types | 1 | // Builtin functions that operate on integer types |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const testing = @import("std").testing; | 3 | const testing = @import("std").testing; |
lib/std/special/compiler_rt/lshrdi3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __lshrdi3 = @import("shift.zig").__lshrdi3; | 1 | const __lshrdi3 = @import("shift.zig").__lshrdi3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/lshrti3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __lshrti3 = @import("shift.zig").__lshrti3; | 1 | const __lshrti3 = @import("shift.zig").__lshrti3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/modti3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/lib/builtins/modti3.c | 3 | // https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/lib/builtins/modti3.c |
lib/std/special/compiler_rt/modti3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __modti3 = @import("modti3.zig").__modti3; | 1 | const __modti3 = @import("modti3.zig").__modti3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/mulXf3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/lib/builtins/fp_mul_impl.inc | 3 | // 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,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Ported from: | 1 | // Ported from: |
| 7 | // | 2 | // |
| 8 | // https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/test/builtins/Unit/multf3_test.c | 3 | // 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,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const is_test = std.builtin.is_test; | 2 | const is_test = std.builtin.is_test; |
| 8 | const native_endian = std.Target.current.cpu.arch.endian(); | 3 | const native_endian = std.Target.current.cpu.arch.endian(); |
lib/std/special/compiler_rt/muldi3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __muldi3 = @import("muldi3.zig").__muldi3; | 1 | const __muldi3 = @import("muldi3.zig").__muldi3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/mulodi4.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const compiler_rt = @import("../compiler_rt.zig"); | 2 | const compiler_rt = @import("../compiler_rt.zig"); |
| 8 | const maxInt = std.math.maxInt; | 3 | const maxInt = std.math.maxInt; |
lib/std/special/compiler_rt/mulodi4_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __mulodi4 = @import("mulodi4.zig").__mulodi4; | 1 | const __mulodi4 = @import("mulodi4.zig").__mulodi4; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/muloti4.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const compiler_rt = @import("../compiler_rt.zig"); | 2 | const compiler_rt = @import("../compiler_rt.zig"); |
| 8 | 3 |
lib/std/special/compiler_rt/muloti4_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __muloti4 = @import("muloti4.zig").__muloti4; | 1 | const __muloti4 = @import("muloti4.zig").__muloti4; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/multi3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const compiler_rt = @import("../compiler_rt.zig"); | 1 | const compiler_rt = @import("../compiler_rt.zig"); |
| 7 | const std = @import("std"); | 2 | const std = @import("std"); |
| 8 | const is_test = std.builtin.is_test; | 3 | const is_test = std.builtin.is_test; |
lib/std/special/compiler_rt/multi3_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __multi3 = @import("multi3.zig").__multi3; | 1 | const __multi3 = @import("multi3.zig").__multi3; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/negXf2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | 2 | ||
| 8 | pub fn __negsf2(a: f32) callconv(.C) f32 { | 3 | pub fn __negsf2(a: f32) callconv(.C) f32 { |
lib/std/special/compiler_rt/popcountdi2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const compiler_rt = @import("../compiler_rt.zig"); | 2 | const compiler_rt = @import("../compiler_rt.zig"); |
| 8 | 3 |
lib/std/special/compiler_rt/popcountdi2_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __popcountdi2 = @import("popcountdi2.zig").__popcountdi2; | 1 | const __popcountdi2 = @import("popcountdi2.zig").__popcountdi2; |
| 7 | const testing = @import("std").testing; | 2 | const testing = @import("std").testing; |
| 8 | 3 |
lib/std/special/compiler_rt/shift.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const Log2Int = std.math.Log2Int; | 2 | const Log2Int = std.math.Log2Int; |
| 8 | const native_endian = std.Target.current.cpu.arch.endian(); | 3 | const native_endian = std.Target.current.cpu.arch.endian(); |
lib/std/special/compiler_rt/sparc.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2020 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // | 1 | // |
| 7 | // SPARC uses a different naming scheme for its support routines so we map it here to the x86 name. | 2 | // SPARC uses a different naming scheme for its support routines so we map it here to the x86 name. |
| 8 | 3 |
lib/std/special/compiler_rt/stack_probe.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const native_arch = @import("std").Target.current.cpu.arch; | 1 | const native_arch = @import("std").Target.current.cpu.arch; |
| 7 | 2 | ||
| 8 | // Zig's own stack-probe routine (available only on x86 and x86_64) | 3 | // Zig's own stack-probe routine (available only on x86 and x86_64) |
lib/std/special/compiler_rt/truncXfYf2.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | 2 | ||
| 8 | pub fn __truncsfhf2(a: f32) callconv(.C) u16 { | 3 | pub fn __truncsfhf2(a: f32) callconv(.C) u16 { |
lib/std/special/compiler_rt/truncXfYf2_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const __truncsfhf2 = @import("truncXfYf2.zig").__truncsfhf2; | 1 | const __truncsfhf2 = @import("truncXfYf2.zig").__truncsfhf2; |
| 7 | 2 | ||
| 8 | fn test__truncsfhf2(a: u32, expected: u16) !void { | 3 | fn test__truncsfhf2(a: u32, expected: u16) !void { |
lib/std/special/compiler_rt/udivmod.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const is_test = builtin.is_test; | 2 | const is_test = builtin.is_test; |
| 8 | const native_endian = @import("std").Target.current.cpu.arch.endian(); | 3 | const native_endian = @import("std").Target.current.cpu.arch.endian(); |
lib/std/special/compiler_rt/udivmoddi4_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Disable formatting to avoid unnecessary source repository bloat. | 1 | // Disable formatting to avoid unnecessary source repository bloat. |
| 7 | // zig fmt: off | 2 | // zig fmt: off |
| 8 | const __udivmoddi4 = @import("int.zig").__udivmoddi4; | 3 | const __udivmoddi4 = @import("int.zig").__udivmoddi4; |
lib/std/special/compiler_rt/udivmodti4.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const udivmod = @import("udivmod.zig").udivmod; | 1 | const udivmod = @import("udivmod.zig").udivmod; |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const compiler_rt = @import("../compiler_rt.zig"); | 3 | const compiler_rt = @import("../compiler_rt.zig"); |
lib/std/special/compiler_rt/udivmodti4_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // Disable formatting to avoid unnecessary source repository bloat. | 1 | // Disable formatting to avoid unnecessary source repository bloat. |
| 7 | // zig fmt: off | 2 | // zig fmt: off |
| 8 | const __udivmodti4 = @import("udivmodti4.zig").__udivmodti4; | 3 | const __udivmodti4 = @import("udivmodti4.zig").__udivmodti4; |
lib/std/special/compiler_rt/udivti3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const udivmodti4 = @import("udivmodti4.zig"); | 1 | const udivmodti4 = @import("udivmodti4.zig"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/special/compiler_rt/umodti3.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const udivmodti4 = @import("udivmodti4.zig"); | 1 | const udivmodti4 = @import("udivmodti4.zig"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | const compiler_rt = @import("../compiler_rt.zig"); | 3 | const compiler_rt = @import("../compiler_rt.zig"); |
lib/std/special/ssp.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // | 1 | // |
| 7 | // Small Zig reimplementation of gcc's libssp. | 2 | // Small Zig reimplementation of gcc's libssp. |
| 8 | // | 3 | // |
lib/std/special/test_runner.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const io = std.io; | 2 | const io = std.io; |
| 8 | const builtin = @import("builtin"); | 3 | const builtin = @import("builtin"); |
lib/std/start.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | // This file is included in the compilation unit when exporting an executable. | 1 | // This file is included in the compilation unit when exporting an executable. |
| 7 | 2 | ||
| 8 | const root = @import("root"); | 3 | const root = @import("root"); |
lib/std/start_windows_tls.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 8 | 3 |
lib/std/std.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | pub const ArrayHashMap = array_hash_map.ArrayHashMap; | 1 | pub const ArrayHashMap = array_hash_map.ArrayHashMap; |
| 7 | pub const ArrayHashMapUnmanaged = array_hash_map.ArrayHashMapUnmanaged; | 2 | pub const ArrayHashMapUnmanaged = array_hash_map.ArrayHashMapUnmanaged; |
| 8 | pub const ArrayList = @import("array_list.zig").ArrayList; | 3 | pub const ArrayList = @import("array_list.zig").ArrayList; |
lib/std/target.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const builtin = std.builtin; | 3 | const builtin = std.builtin; |
lib/std/testing.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | 2 | ||
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/testing/failing_allocator.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | 3 |
lib/std/time.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/time/epoch.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | //! Epoch reference times in terms of their difference from | 1 | //! Epoch reference times in terms of their difference from |
| 7 | //! UTC 1970-01-01 in seconds. | 2 | //! UTC 1970-01-01 in seconds. |
| 8 | 3 |
lib/std/unicode.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("./std.zig"); | 1 | const std = @import("./std.zig"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const assert = std.debug.assert; | 3 | const assert = std.debug.assert; |
lib/std/unicode/throughput_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const builtin = std.builtin; | 2 | const builtin = std.builtin; |
| 8 | const time = std.time; | 3 | const time = std.time; |
lib/std/valgrind.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const builtin = @import("builtin"); | 1 | const builtin = @import("builtin"); |
| 7 | const std = @import("std.zig"); | 2 | const std = @import("std.zig"); |
| 8 | const math = std.math; | 3 | const math = std.math; |
lib/std/valgrind/callgrind.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const valgrind = std.valgrind; | 2 | const valgrind = std.valgrind; |
| 8 | 3 |
lib/std/valgrind/memcheck.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const testing = std.testing; | 2 | const testing = std.testing; |
| 8 | const valgrind = std.valgrind; | 3 | const valgrind = std.valgrind; |
lib/std/wasm.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const testing = @import("std.zig").testing; | 1 | const testing = @import("std.zig").testing; |
| 7 | 2 | ||
| 8 | // TODO: Add support for multi-byte ops (e.g. table operations) | 3 | // TODO: Add support for multi-byte ops (e.g. table operations) |
lib/std/x.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 8 | 2 | ||
| 9 | pub const os = struct { | 3 | pub const os = struct { |
lib/std/x/net/ip.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 8 | 2 | ||
| 9 | const fmt = std.fmt; | 3 | const fmt = std.fmt; |
lib/std/x/net/tcp.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 8 | 2 | ||
| 9 | const io = std.io; | 3 | const io = std.io; |
lib/std/x/os/net.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 8 | 2 | ||
| 9 | const os = std.os; | 3 | const os = std.os; |
lib/std/x/os/socket.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 8 | const net = @import("net.zig"); | 2 | const net = @import("net.zig"); |
| 9 | 3 |
lib/std/x/os/socket_posix.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 8 | 2 | ||
| 9 | const os = std.os; | 3 | const os = std.os; |
lib/std/x/os/socket_windows.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 8 | const net = @import("net.zig"); | 2 | const net = @import("net.zig"); |
| 9 | 3 |
lib/std/zig.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std.zig"); | 1 | const std = @import("std.zig"); |
| 7 | const tokenizer = @import("zig/tokenizer.zig"); | 2 | const tokenizer = @import("zig/tokenizer.zig"); |
| 8 | const fmt = @import("zig/fmt.zig"); | 3 | const fmt = @import("zig/fmt.zig"); |
lib/std/zig/ast.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const testing = std.testing; | 3 | const testing = std.testing; |
lib/std/zig/c_builtins.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | 2 | ||
| 9 | pub inline fn __builtin_bswap16(val: u16) u16 { | 3 | pub inline fn __builtin_bswap16(val: u16) u16 { |
lib/std/zig/c_translation.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | const std = @import("std"); | 1 | const std = @import("std"); |
| 8 | const testing = std.testing; | 2 | const testing = std.testing; |
| 9 | const math = std.math; | 3 | const math = std.math; |
lib/std/zig/cross_target.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const Target = std.Target; | 3 | const Target = std.Target; |
lib/std/zig/parse.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const Allocator = std.mem.Allocator; | 3 | const Allocator = std.mem.Allocator; |
lib/std/zig/parser_test.zig-6| ... | @@ -1,9 +1,3 @@ | ... | @@ -1,9 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | |||
| 7 | test "zig fmt: preserves clobbers in inline asm with stray comma" { | 1 | test "zig fmt: preserves clobbers in inline asm with stray comma" { |
| 8 | try testTransform( | 2 | try testTransform( |
| 9 | \\fn foo() void { | 3 | \\fn foo() void { |
lib/std/zig/perf_test.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const warn = std.debug.warn; | 3 | const warn = std.debug.warn; |
lib/std/zig/render.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/zig/string_literal.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | 3 |
lib/std/zig/system.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const elf = std.elf; | 2 | const elf = std.elf; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/zig/system/darwin.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | const Allocator = mem.Allocator; | 3 | const Allocator = mem.Allocator; |
lib/std/zig/system/darwin/macos.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const assert = std.debug.assert; | 2 | const assert = std.debug.assert; |
| 8 | const mem = std.mem; | 3 | const mem = std.mem; |
lib/std/zig/system/windows.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2020 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | 2 | ||
| 8 | pub const WindowsVersion = std.Target.Os.WindowsVersion; | 3 | pub const WindowsVersion = std.Target.Os.WindowsVersion; |
lib/std/zig/system/x86.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("std"); | 1 | const std = @import("std"); |
| 7 | const Target = std.Target; | 2 | const Target = std.Target; |
| 8 | const CrossTarget = std.zig.CrossTarget; | 3 | const CrossTarget = std.zig.CrossTarget; |
lib/std/zig/tokenizer.zig-5| ... | @@ -1,8 +1,3 @@ | ... | @@ -1,8 +1,3 @@ |
| 1 | // SPDX-License-Identifier: MIT | ||
| 2 | // Copyright (c) 2015-2021 Zig Contributors | ||
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. | ||
| 4 | // The MIT license requires this copyright notice to be included in all copies | ||
| 5 | // and substantial portions of the software. | ||
| 6 | const std = @import("../std.zig"); | 1 | const std = @import("../std.zig"); |
| 7 | const mem = std.mem; | 2 | const mem = std.mem; |
| 8 | 3 |
tools/update-license-headers.zig created+47| ... | @@ -0,0 +1,47 @@ | ||
| 1 | const std = @import("std"); | ||
| 2 | |||
| 3 | /// This script replaces a matching license header from .zig source files in a directory tree | ||
| 4 | /// with the `new_header` below. | ||
| 5 | const new_header = ""; | ||
| 6 | |||
| 7 | pub fn main() !void { | ||
| 8 | var progress = std.Progress{}; | ||
| 9 | const root_node = try progress.start("", 0); | ||
| 10 | defer root_node.end(); | ||
| 11 | |||
| 12 | var arena_allocator = std.heap.ArenaAllocator.init(std.heap.page_allocator); | ||
| 13 | const arena = &arena_allocator.allocator; | ||
| 14 | |||
| 15 | const args = try std.process.argsAlloc(arena); | ||
| 16 | const path_to_walk = args[1]; | ||
| 17 | const dir = try std.fs.cwd().openDir(path_to_walk, .{ .iterate = true }); | ||
| 18 | |||
| 19 | var walker = try dir.walk(arena); | ||
| 20 | defer walker.deinit(); | ||
| 21 | |||
| 22 | var buffer: [500]u8 = undefined; | ||
| 23 | const expected_header = buffer[0..try std.io.getStdIn().readAll(&buffer)]; | ||
| 24 | |||
| 25 | while (try walker.next()) |entry| { | ||
| 26 | if (!std.mem.endsWith(u8, entry.basename, ".zig")) | ||
| 27 | continue; | ||
| 28 | |||
| 29 | var node = root_node.start(entry.basename, 0); | ||
| 30 | node.activate(); | ||
| 31 | defer node.end(); | ||
| 32 | |||
| 33 | const source = try dir.readFileAlloc(arena, entry.path, 20 * 1024 * 1024); | ||
| 34 | if (!std.mem.startsWith(u8, source, expected_header)) { | ||
| 35 | std.debug.print("no match: {s}\n", .{entry.path}); | ||
| 36 | continue; | ||
| 37 | } | ||
| 38 | |||
| 39 | const truncated_source = source[expected_header.len..]; | ||
| 40 | |||
| 41 | const new_source = try arena.alloc(u8, truncated_source.len + new_header.len); | ||
| 42 | std.mem.copy(u8, new_source, new_header); | ||
| 43 | std.mem.copy(u8, new_source[new_header.len..], truncated_source); | ||
| 44 | |||
| 45 | try dir.writeFile(entry.path, new_source); | ||
| 46 | } | ||
| 47 | } | ||