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
#include<stdio.h> | |
int main(int argc, char *argv[]) { | |
printf("Start reading...\n"); | |
FILE *fp = fopen(argv[1], "r"); | |
int res = 0, buff = 0, ffs = 0, pos = 0; | |
while (fread(&buff, sizeof(int), 1, fp) == 1) { | |
ffs = __builtin_ffs(buff); |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
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
{ | |
"name": "nickel715/empty", | |
"description": "", | |
"license": "MIT", | |
"authors": [ | |
{ "name": "Nicolas Hohm" } | |
], | |
"autoload": { | |
"files": ["empty.php"] | |
} |
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
%macro assertEquals(expected, actual, message); | |
%if &expected ne &actual %then %do; | |
%put ERROR: Failed asserting that &actual is equal to &expected - &message; | |
%end; | |
%mend; | |
* Asserts that the value returned by the query in actual is equals to the expectation; | |
%macro assertSqlEquals(expected, query, message); | |
proc sql noprint; | |
&query; |
OlderNewer