Commit 7e75e1075e
Changed files (10)
std
test
stage1
behavior
std/event/loop.zig
@@ -627,7 +627,6 @@ pub const Loop = struct {
}
}
-
/// call finishOneEvent when done
pub fn beginOneEvent(self: *Loop) void {
_ = @atomicRmw(usize, &self.pending_event_count, AtomicRmwOp.Add, 1, AtomicOrder.SeqCst);
std/os/windows/bits.zig
@@ -209,7 +209,7 @@ pub const FILE_INFORMATION_CLASS = extern enum {
FileLinkInformationExBypassAccessCheck,
FileStorageReserveIdInformation,
FileCaseSensitiveInformationForceAccessCheck,
- FileMaximumInformation
+ FileMaximumInformation,
};
pub const OVERLAPPED = extern struct {
@@ -731,4 +731,4 @@ pub const UNICODE_STRING = extern struct {
Length: USHORT,
MaximumLength: USHORT,
Buffer: [*]WCHAR,
-};
\ No newline at end of file
+};
std/os/windows/ntdll.zig
@@ -1,7 +1,13 @@
usingnamespace @import("bits.zig");
pub extern "NtDll" stdcallcc fn RtlCaptureStackBackTrace(FramesToSkip: DWORD, FramesToCapture: DWORD, BackTrace: **c_void, BackTraceHash: ?*DWORD) WORD;
-pub extern "NtDll" stdcallcc fn NtQueryInformationFile(FileHandle: HANDLE, IoStatusBlock: *IO_STATUS_BLOCK, FileInformation: *c_void, Length: ULONG, FileInformationClass: FILE_INFORMATION_CLASS,) NTSTATUS;
+pub extern "NtDll" stdcallcc fn NtQueryInformationFile(
+ FileHandle: HANDLE,
+ IoStatusBlock: *IO_STATUS_BLOCK,
+ FileInformation: *c_void,
+ Length: ULONG,
+ FileInformationClass: FILE_INFORMATION_CLASS,
+) NTSTATUS;
pub extern "NtDll" stdcallcc fn NtCreateFile(
FileHandle: *HANDLE,
DesiredAccess: ACCESS_MASK,
@@ -15,4 +21,4 @@ pub extern "NtDll" stdcallcc fn NtCreateFile(
EaBuffer: *c_void,
EaLength: ULONG,
) NTSTATUS;
-pub extern "NtDll" stdcallcc fn NtClose(Handle: HANDLE) NTSTATUS;
\ No newline at end of file
+pub extern "NtDll" stdcallcc fn NtClose(Handle: HANDLE) NTSTATUS;
std/os/windows/status.zig
@@ -1,5 +1,5 @@
-/// The operation completed successfully.
+/// The operation completed successfully.
pub const SUCCESS = 0x00000000;
/// The data was too large to fit into the specified buffer.
-pub const BUFFER_OVERFLOW = 0x80000005;
\ No newline at end of file
+pub const BUFFER_OVERFLOW = 0x80000005;
std/os/darwin.zig
@@ -5,4 +5,4 @@ pub const is_the_target = switch (builtin.os) {
else => false,
};
pub usingnamespace std.c;
-pub usingnamespace @import("bits.zig");
\ No newline at end of file
+pub usingnamespace @import("bits.zig");
std/os/freebsd.zig
@@ -2,4 +2,4 @@ const std = @import("../std.zig");
const builtin = @import("builtin");
pub const is_the_target = builtin.os == .freebsd;
pub usingnamespace std.c;
-pub usingnamespace @import("bits.zig");
\ No newline at end of file
+pub usingnamespace @import("bits.zig");
std/os/windows.zig
@@ -875,7 +875,6 @@ pub fn unexpectedError(err: DWORD) std.os.UnexpectedError {
return error.Unexpected;
}
-
/// Call this when you made a windows NtDll call
/// and you get an unexpected status.
pub fn unexpectedStatus(status: NTSTATUS) std.os.UnexpectedError {
std/hash.zig
@@ -20,7 +20,6 @@ pub const SipHash128 = siphash.SipHash128;
pub const murmur = @import("hash/murmur.zig");
pub const Murmur2_32 = murmur.Murmur2_32;
-
pub const Murmur2_64 = murmur.Murmur2_64;
pub const Murmur3_32 = murmur.Murmur3_32;
std/rb.zig
@@ -549,7 +549,6 @@ test "rb" {
}
}
-
test "inserting and looking up" {
var tree: Tree = undefined;
tree.init(testCompare);
test/stage1/behavior/muladd.zig
@@ -31,4 +31,4 @@ fn testMulAdd() void {
// var c: f128 = 6.25;
// expect(@mulAdd(f128, a, b, c) == 20);
//}
-}
\ No newline at end of file
+}