This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
const Cpu = std.Target.Cpu; | |
const Query = std.Target.Query; | |
pub fn main() !void { | |
var debug_allocator: std.heap.DebugAllocator(.{}) = .{}; | |
defer _ = debug_allocator.deinit(); | |
const gpa = debug_allocator.allocator(); | |
var args = try std.process.argsWithAllocator(gpa); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio, et feugiat tellus facilisis sed. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. | |
Suspendisse in justo eu magna luctus suscipit. Sed lectus. Integer euismod lacus luctus magna. Quisque cursus, metus vitae pharetra auctor, sem massa mattis sem, at interdum magna augu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: 806 | |
import: 927 | |
function: 3996 | |
table: 5 | |
memory: 4 | |
global: 9 | |
export: 19 | |
element: 51 | |
code: 2742519 | |
data: 421551 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
pub fn build(b: *std.Build) void { | |
const github_dep = b.dependency("github", .{}); | |
const exe = b.addExecutable(.{ | |
.name = "name", | |
}); | |
exe.root_module.addIncludePath(github_dep.path("include")); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
const assert = std.debug.assert; | |
const expect = std.testing.expect; | |
pub fn main() !void { | |
var args = std.process.args(); | |
_ = args.next().?; | |
if (args.next()) |_| { | |
// child process |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
pub fn build(b: *std.Build) void { | |
const optimize = b.standardOptimizeOption(.{}); | |
const target = b.standardTargetOptions(.{}); | |
const shape_use_32bit_indices = b.option(bool, "shape_use_32bit_indices", "Enable par shapes 32-bit indices") orelse true; | |
const shared = b.option(bool, "shared", "Build as shared library") orelse false; | |
const zmesh_options = b.addOptions(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ATSAMD51J19A.zig b/ATSAMD51J19A.zig | |
index c8646ea..e9079a4 100644 | |
--- a/ATSAMD51J19A.zig | |
+++ b/ATSAMD51J19A.zig | |
@@ -625,14 +625,14 @@ pub const types = struct { | |
}), | |
reserved12: [1]u8, | |
/// Scaler n | |
- SCALER: mmio.Mmio(packed struct(u8) { | |
+ SCALER: [2]mmio.Mmio(packed struct(u8) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -222,7 +239,7 @@ srl_Open: | |
compare_hl_zero ; check if device is null | |
ld a,SRL_ERROR_INVALID_DEVICE | |
jq z,.exit | |
- ld (xsrl_device.dev),hl | |
+ lea hl,xsrl_device.dev | |
ld hl,(iy+12) ; hl = size | |
ld de,128 ; check if buffer is large enough |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/srldrvce/srldrvce.asm b/src/srldrvce/srldrvce.asm | |
index 48c9dd13..c81577cd 100644 | |
--- a/src/srldrvce/srldrvce.asm | |
+++ b/src/srldrvce/srldrvce.asm | |
@@ -36,6 +36,15 @@ end macro | |
; memory structures | |
;------------------------------------------------------------------------------- | |
macro struct? name*, parameters& | |
+ local anon | |
+ anon = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
river: /lib64/libxkbcommon.so.0: no version information available (required by /lib64/libwlroots.so.11) | |
info: initializing server | |
info(wlroots): [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory | |
info(wlroots): [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping | |
info(wlroots): [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind' | |
info(wlroots): [backend/session/session.c:109] Successfully loaded libseat session | |
info(wlroots): [backend/backend.c:220] Found 1 GPUs | |
info(wlroots): [backend/drm/backend.c:200] Initializing DRM backend for /dev/dri/card0 (nvidia-drm) | |
debug(wlroots): [backend/drm/drm.c:88] Using atomic DRM interface | |
debug(wlroots): [backend/drm/drm.c:101] ADDFB2 modifiers supported |
NewerOlder