File tree Expand file tree Collapse file tree 9 files changed +23
-31
lines changed Expand file tree Collapse file tree 9 files changed +23
-31
lines changed Original file line number Diff line number Diff line change 5
5
// and substantial portions of the software.
6
6
// zig run benchmark.zig --release-fast --override-lib-dir ..
7
7
8
- const builtin = @import ("builtin " );
9
- const std = @import ( " std" ) ;
8
+ const std = @import ("../std.zig " );
9
+ const builtin = std . builtin ;
10
10
const mem = std .mem ;
11
11
const time = std .time ;
12
12
const Timer = time .Timer ;
Original file line number Diff line number Diff line change 3
3
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4
4
// The MIT license requires this copyright notice to be included in all copies
5
5
// and substantial portions of the software.
6
- const mem = @import ("../mem .zig" );
7
- const builtin = @import ( "builtin" ) ;
8
- const debug = @import ( "../debug.zig" ) ;
9
- const math = @import ( "../math.zig" ) ;
6
+ const std = @import ("../std .zig" );
7
+ const mem = std . mem ;
8
+ const math = std . math ;
9
+ const debug = std . debug ;
10
10
const htest = @import ("test.zig" );
11
11
12
12
const RoundParam = struct {
Original file line number Diff line number Diff line change 7
7
8
8
const std = @import ("../std.zig" );
9
9
const mem = std .mem ;
10
- const endian = std .endian ;
11
10
const assert = std .debug .assert ;
12
11
const testing = std .testing ;
13
- const builtin = @import ("builtin" );
14
12
const maxInt = std .math .maxInt ;
15
13
const Poly1305 = std .crypto .onetimeauth .Poly1305 ;
16
14
Original file line number Diff line number Diff line change 3
3
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4
4
// The MIT license requires this copyright notice to be included in all copies
5
5
// and substantial portions of the software.
6
- const mem = @import ("../mem.zig" );
7
- const math = @import ("../math.zig" );
8
- const endian = @import ("../endian.zig" );
9
- const builtin = @import ("builtin" );
10
- const debug = @import ("../debug.zig" );
11
- const fmt = @import ("../fmt.zig" );
6
+ const std = @import ("../std.zig" );
7
+ const mem = std .mem ;
8
+ const math = std .math ;
9
+ const debug = std .debug ;
12
10
13
11
const RoundParam = struct {
14
12
a : usize ,
Original file line number Diff line number Diff line change 3
3
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4
4
// The MIT license requires this copyright notice to be included in all copies
5
5
// and substantial portions of the software.
6
- const std = @import ("std" );
6
+ const std = @import ("../ std.zig " );
7
7
const mem = std .mem ;
8
8
9
9
pub const Poly1305 = struct {
Original file line number Diff line number Diff line change 3
3
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4
4
// The MIT license requires this copyright notice to be included in all copies
5
5
// and substantial portions of the software.
6
- const mem = @import ("../mem.zig" );
7
- const math = @import ("../math.zig" );
8
- const endian = @import ("../endian.zig" );
9
- const debug = @import ("../debug.zig" );
10
- const builtin = @import ("builtin" );
6
+ const std = @import ("../std.zig" );
7
+ const mem = std .mem ;
8
+ const math = std .math ;
9
+ const debug = std .debug ;
11
10
12
11
const RoundParam = struct {
13
12
a : usize ,
Original file line number Diff line number Diff line change 3
3
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4
4
// The MIT license requires this copyright notice to be included in all copies
5
5
// and substantial portions of the software.
6
- const mem = @import ("../mem.zig" );
7
- const math = @import ("../math.zig" );
8
- const endian = @import ("../endian.zig" );
9
- const debug = @import ("../debug.zig" );
10
- const builtin = @import ("builtin" );
6
+ const std = @import ("../std.zig" );
7
+ const mem = std .mem ;
8
+ const math = std .math ;
9
+ const debug = std .debug ;
11
10
const htest = @import ("test.zig" );
12
11
13
12
/////////////////////
Original file line number Diff line number Diff line change 3
3
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
4
4
// The MIT license requires this copyright notice to be included in all copies
5
5
// and substantial portions of the software.
6
- const mem = @import ("../mem.zig" );
7
- const math = @import ("../math.zig" );
8
- const endian = @import ("../endian.zig" );
9
- const debug = @import ("../debug.zig" );
10
- const builtin = @import ("builtin" );
6
+ const std = @import ("../std.zig" );
7
+ const mem = std .mem ;
8
+ const math = std .math ;
9
+ const debug = std .debug ;
11
10
const htest = @import ("test.zig" );
12
11
13
12
pub const Sha3_224 = Keccak (224 , 0x06 );
Original file line number Diff line number Diff line change 5
5
// and substantial portions of the software.
6
6
const std = @import ("../std.zig" );
7
7
const testing = std .testing ;
8
- const mem = std .mem ;
9
8
const fmt = std .fmt ;
10
9
11
10
// Hash using the specified hasher `H` asserting `expected == H(input)`.
You can’t perform that action at this time.
0 commit comments