This file contains 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
execve("/usr/bin/ninja", ["ninja"], [/* 14 vars */]) = 0 | |
brk(NULL) = 0x2313000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=19916, ...}) = 0 | |
mmap(NULL, 19916, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f341a887000 | |
close(3) = 0 | |
open("/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\270\10\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0755, st_size=11449024, ...}) = 0 |
This file contains 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
public class BitStuff { | |
/** | |
* Rotates a long. | |
* | |
* @param data The long to be rotated. | |
* @param amount The amount to rotate the byte by, if greater than 0, rotate right, if less than 0, rotate left. | |
* @param dataLength The length of the data. If 0, assumes long length (65 bits). | |
* @return The rotated byte. | |
*/ | |
// TODO: optimise? |
This file contains 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
-- GUILIB INDEV by Skye Macdonald | |
-- CC0 Licence | |
-- For debug purposes | |
local serialization = require("serialization") | |
local component = require("component") | |
local colour = require("colors") | |
local gpu = component.gpu |