path stringlengths 13 167 | func_def stringlengths 54 3.79k | func_head stringlengths 7 435 | func_head_types stringlengths 7 477 | fname stringlengths 1 44 | signature listlengths 2 43 | asm dict | synth_deps stringclasses 52
values | real_deps stringlengths 5 561 | synth_io_pairs dict | real_io_pairs dict | synth_exe_wrapper stringclasses 191
values | real_exe_wrapper stringlengths 1.23k 5.22k | ref stringclasses 85
values | synth_iospec stringclasses 1
value | real_iospec stringlengths 264 1.6k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Shapeways/puppetarium/modules/profiles/files/cron/cronjobber.c | int
prefix_of(char *special, char *s)
{
for (; *special != '\0'; ++special)
if (*special != *s++)
return 0;
return (*s == '=' || *s == '\0');
} | int prefix_of(char *special, char *s) | int prefix_of(char *special, char *s) | prefix_of | [
"int",
"char *",
"char *"
] | {
"code": [
".globl prefix_of\n.type prefix_of, @function\nprefix_of:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tmovq\t%rsi, -16(%rbp)\n\tjmp\t.L2\n.L5:\n\tmovq\t-8(%rbp), %rax\n\tmov... | null | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
#include <errno.h>
#include <stdarg.h>
#include <fcntl.h>
#include <time.h>
#include <signal.h>
#include <dirent.h>
#include <pwd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"rkpdpvgyshuebbedxz\"... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_35014pti0y.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["special", "s"], "liveout": ["special", "s"], "returnvarname": ["returnv"], "execcmd": "", "funname": "prefix_of", "funargs": ["special", "s"], "typemap": {"special": "string", "s": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_35014pti0y.c"], "classmap": {}, "range": {},... |
neosam/s3d/src/compiler.c | char *skipSpaces(char *pc)
{
while((*pc == ' ' || *pc == '\n' || *pc == '\t' || *pc == '\r') &&
*pc != '\0')
pc++;
return pc;
} | char * skipSpaces(char *pc) | char *skipSpaces(char *pc) | skipSpaces | [
"char *",
"char *"
] | {
"code": [
".globl skipSpaces\n.type skipSpaces, @function\nskipSpaces:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tjmp\t.L2\n.L5:\n\taddq\t$1, -8(%rbp)\n.L2:\n\tmovq\t-8(%rbp), %rax\... | null | #include <stdio.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"\""
],
"... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_50r9scjlyd.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["pc"], "liveout": ["pc"], "returnvarname": ["returnv"], "execcmd": "", "funname": "skipSpaces", "funargs": ["pc"], "typemap": {"pc": "string", "returnv": "string"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_50r9scjlyd.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
119/aircam-openwrt/build_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/gcc-linaro-4.5-2011.02-0/gcc/testsuite/gcc.dg/tree-ssa/pr15349.c | int
foo (int a, int b)
{
int t;
if (b)
{
if (a)
t = 3;
else
t = 5;
a = 0;
}
else
t = 7;
return t;
} | int foo(inta, intb) | int foo (int a, int b) | foo | [
"int",
"int",
"int"
] | {
"code": [
".globl foo\n.type foo, @function\nfoo:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t%esi, -24(%rbp)\n\tcmpl\t$0, -24(%rbp)\n\tje\t.L2\n\tcmpl\t$0, -20(%rbp)\n\tje\t.... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"6",
"80"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_30cbh7opu6.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | ar9344 | null | {"livein": ["a", "b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "foo", "funargs": ["a", "b"], "typemap": {"a": "int32", "b": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_30cbh7opu6.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
grev-uv/hpg-methyl/containers/cprops/util.c | int xtoi(char *p)
{
int curr;
int res = 0;
while (*p)
{
curr = ((*p) >= '0' && (*p) <= '9' ? (*p) - '0' : (*p) >= 'A' && (*p) <= 'F' ? (*p) - 'A' + 10 : (*p) >= 'a' && (*p) <= 'f' ? (*p) - 'a' + 10 : -1);
if (curr == -1) break;
res = res * 0x10 + curr;
p++;
}
return res;
} | int xtoi(char *p) | int xtoi(char *p) | xtoi | [
"int",
"char *"
] | {
"code": [
".globl xtoi\n.type xtoi, @function\nxtoi:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t$0, -8(%rbp)\n\tjmp\t.L2\n.L11:\n\tmovq\t-24(%rbp), %rax\n\tmovzbl\t(%rax), %e... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"blnyowntfwxpqul\""
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_366iymz6nn.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | develop | null | {"livein": ["p"], "liveout": ["p"], "returnvarname": ["returnv"], "execcmd": "", "funname": "xtoi", "funargs": ["p"], "typemap": {"p": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_366iymz6nn.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
jpmrno/ITBA-PI/TP07/Encripta.c | int retPosVector(char letra, char alfabeto[]) {
int i;
for( i = 0; alfabeto[i]; i++) {
if(alfabeto[i] == letra) {
return i;
}
}
} | int retPosVector(charletra, char *alfabeto) | int retPosVector(char letra, char alfabeto[]) | retPosVector | [
"int",
"char",
"char *"
] | {
"code": [
".globl retPosVector\n.type retPosVector, @function\nretPosVector:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovq\t%rsi, -32(%rbp)\n\tmovb\t%al, -20(%rbp)\n\tmovl\t$0, -4(%rb... | null | #include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <ctype.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"106",
"\"ptaqh... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_42xwvm1t5e.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["letra", "alfabeto"], "liveout": ["alfabeto"], "returnvarname": ["returnv"], "execcmd": "", "funname": "retPosVector", "funargs": ["letra", "alfabeto"], "typemap": {"letra": "int8", "alfabeto": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_42xwvm1t5e.c"], "classmap": {}, ... |
patholden/linux/drivers/CgosLib/Cgos.c | unsigned int CgosStrLen(const char *s)
{
const char *ss=s;
if (!s) return 0;
while (*s++);
return s-ss-1;
} | unsigned int CgosStrLen(const char *s) | unsigned int CgosStrLen(const char *s) | CgosStrLen | [
"unsigned int",
"const char *"
] | {
"code": [
".globl CgosStrLen\n.type CgosStrLen, @function\nCgosStrLen:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t-24(%rbp), %rax\n\tmovq\t%rax, -8(%rbp)\n\tcmpq\t$0, -24(%rb... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"zyhvcma\""
],
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_36p06yur55.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["s"], "liveout": ["s"], "returnvarname": ["returnv"], "execcmd": "", "funname": "CgosStrLen", "funargs": ["s"], "typemap": {"s": "string", "returnv": "uint32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_36p06yur55.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
Cnidarias/al-go-rithms/cryptography/atbash_cipher/c/atbash_cipher.c | char cipher (char c){
if(c >= 65 && c<= 90){
c = c - 65;
c = 90 - c;
}else if( c >= 97 && c<= 122){
c = c-97;
c = 122 - c;
}
return c;
} | char cipher(charc) | char cipher (char c) | cipher | [
"char",
"char"
] | {
"code": [
".globl cipher\n.type cipher, @function\ncipher:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tcmpb\t$64, -4(%rbp)\n\tjle\t.L2\n\tcmpb\t$90, -4(%rbp)\n\tjg... | null | #include <stdio.h>
#include <string.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"124"
],
"v... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_42ecrm7t2u.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "cipher", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int8"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_42ecrm7t2u.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
paxromana96/LispCompiler/src/syntax.c | char * getTokenTypeName(int type){
switch(type){
case 1:
return "<LParen>";
case 2:
return "<RParen>";
case 3:
return "<Number>";
case 8:
return "<ID>";
case 6:
return "<Plus>";
case 7:
return "<Minus>";
case -2:
return "<EOF>";
case -1:
return "<Error!>";
default:
return "... | char * getTokenTypeName(inttype) | char * getTokenTypeName(int type) | getTokenTypeName | [
"char *",
"int"
] | {
"code": [
".globl getTokenTypeName\n.type getTokenTypeName, @function\ngetTokenTypeName:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t-4(%rbp), %eax\n\taddl\t$2, %eax\n\tcmpl\t$... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"13"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_64leyo_aie.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["type"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "getTokenTypeName", "funargs": ["type"], "typemap": {"type": "int32", "returnv": "string"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_64leyo_aie.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
kanner/KnR_solutions/Chapter3/3-03/expand.c | int checkrange(char c1, char c2)
{
if (('a' <= c1 && c1 <= 'z') && (c1 <= c2 && c2 <= 'z'))
return 1;
if (('A' <= c1 && c1 <= 'Z') && (c1 <= c2 && c2 <= 'Z'))
return 1;
if (('0' <= c1 && c1 <= '9') && (c1 <= c2 && c2 <= '9'))
return 1;
return 0;
} | int checkrange(charc1, charc2) | int checkrange(char c1, char c2) | checkrange | [
"int",
"char",
"char"
] | {
"code": [
".globl checkrange\n.type checkrange, @function\ncheckrange:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %edx\n\tmovl\t%esi, %eax\n\tmovb\t%dl, -4(%rbp)\n\tmovb\t%al, -8(%rbp)\n\tcmpb\... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"4",
"5"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_384w2203gi.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c1", "c2"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "checkrange", "funargs": ["c1", "c2"], "typemap": {"c1": "int8", "c2": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_384w2203gi.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals":... |
mspenceree/Versa-Filter/firmware/recover.c | int valid_serial(char *carray)
{
int i, code, num[10], sumo=0, sume=0, sumss=0;
for(i=0;i<10;i++){
code = carray[i];
num[i] = code - 0x30;
if((code<0x30)||(code>0x39)){
return 0;
}
}
sumo = num[0]+num[2]+num[4];
sumo = sumo - (sumo/10)*10;
sume = num[1]+num[3]+num[5];
sume = sume - (sume/10)*10;
sumss =... | int valid_serial(char *carray) | int valid_serial(char *carray) | valid_serial | [
"int",
"char *"
] | {
"code": [
".globl valid_serial\n.type valid_serial, @function\nvalid_serial:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$96, %rsp\n\tmovq\t%rdi, -88(%rbp)\n\tmovq\t%fs:40, %rax\n\tmovq\t%rax, -8(%rbp... | null | #include <stdlib.h> /* Include standard library header */
#include <math.h> /* Include math library header */
#include <string.h> /* Include string function header */
#include <ctype.h> /* Include character function header */
#include <limits.h> /* define LONG_MIN and LONG_MAX */
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"uvrujj\""
],
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_44tyhg3423.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["carray"], "liveout": ["carray"], "returnvarname": ["returnv"], "execcmd": "", "funname": "valid_serial", "funargs": ["carray"], "typemap": {"carray": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_44tyhg3423.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": [... |
NEWPLAN/books/osask/omake/tolsrc/go_0023s/go_lib/strcmp.c | int GO_strcmp (char *d, char *s)
{
while ('\0' != *d) {
if (*d != *s)
return *d - *s;
d++;
s++;
}
return *d - *s;
} | int GO_strcmp(char *d, char *s) | int GO_strcmp (char *d, char *s) | GO_strcmp | [
"int",
"char *",
"char *"
] | {
"code": [
".globl GO_strcmp\n.type GO_strcmp, @function\nGO_strcmp:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tmovq\t%rsi, -16(%rbp)\n\tjmp\t.L2\n.L5:\n\tmovq\t-8(%rbp), %rax\n\tmov... | null | #include <stddef.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"rcabex\"",
"... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_51fz277x0t.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["d", "s"], "liveout": ["d", "s"], "returnvarname": ["returnv"], "execcmd": "", "funname": "GO_strcmp", "funargs": ["d", "s"], "typemap": {"d": "string", "s": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_51fz277x0t.c"], "classmap": {}, "range": {}, "needs_cast": {}, "glob... |
gdarko/CProgrammingExercises/zbirka_2/datoteki/zad_383.c | int isspec(char c)
{
return (((c >= '!') && (c <= '/')) || (c >= ':' && c <= '@') || ((c >= '[') && (c <= '`')) || ((c >= '{') && (c <= 'DEL')));
} | int isspec(charc) | int isspec(char c) | isspec | [
"int",
"char"
] | {
"code": [
".globl isspec\n.type isspec, @function\nisspec:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tcmpb\t$32, -4(%rbp)\n\tjle\t.L2\n\tcmpb\t$47, -4(%rbp)\n\tjl... | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"69"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_35bvkd2_kn.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "isspec", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_35bvkd2_kn.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
joa-quim/GMT5SAR/preproc/S1A_preproc/lib/xml.c | int cat_nums(char *str_out, char *str){
int i=0,j=0;
while(str[i]!='\0'){
if(str[i] >= '0' && str[i] <= '9'){
str_out[j++] = str[i];
}
i++;
}
str_out[j] = '\0';
return(j);
} | int cat_nums(char *str_out, char *str) | int cat_nums(char *str_out, char *str) | cat_nums | [
"int",
"char *",
"char *"
] | {
"code": [
".globl cat_nums\n.type cat_nums, @function\ncat_nums:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t$0, -8(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tjmp... | null | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <math.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"igbdxnvcqjzqy\"",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_59v8yufbak.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str_out", "str"], "liveout": ["str_out", "str"], "returnvarname": ["returnv"], "execcmd": "", "funname": "cat_nums", "funargs": ["str_out", "str"], "typemap": {"str_out": "string", "str": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_59v8yufbak.c"], "classmap": {}, "rang... |
shehan492/C_programs/pdslab/day1/cs1803-day1-prog1.c | int countVowels(char *str)
{
int i,count=0;
for(i=0;str[i]!='\0';++i)
if('a' == str[i] ||
'e' == str[i] ||
'i' == str[i] ||
'o' == str[i] ||
'u' == str[i] ||
'A' == str[i] ||
'E' == str[i] ||
'I' == str[i] ||
'O' == str[i] ||
'U' == str[i] )
count++;
return count;
} | int countVowels(char *str) | int countVowels(char *str) | countVowels | [
"int",
"char *"
] | {
"code": [
".globl countVowels\n.type countVowels, @function\ncountVowels:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tmovl\t$0, -8(%rbp)\n\tjmp\t.L2\n.L5:\n\tm... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"zxwcljdbsyizzobsjazq... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_61heo1kpe_.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str"], "liveout": ["str"], "returnvarname": ["returnv"], "execcmd": "", "funname": "countVowels", "funargs": ["str"], "typemap": {"str": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_61heo1kpe_.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
IAmAnubhavSaini/blog-posts/c/hcf_via_euclids_division_algorithm.c | int hcf_iterative(int a, int b){
int q, r;
if(a > 0 && b > 0){
if(a < b)
return hcf_iterative(b, a);
q = a / b;
r = a % b;
while(r != 0 && r != 1){
a = b;
b = r;
q = a / b;
r = a % b;
}
if(r == 0)
return b;
else if(r == 1)
return 1;
}
return -1;
} | int hcf_iterative(inta, intb) | int hcf_iterative(int a, int b) | hcf_iterative | [
"int",
"int",
"int"
] | {
"code": [
".globl hcf_iterative\n.type hcf_iterative, @function\nhcf_iterative:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$32, %rsp\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t%esi, -24(%rbp)\n\tcmpl\t$0, -20... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"23",
"55"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_45dbgpeq0i.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["a", "b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "hcf_iterative", "funargs": ["a", "b"], "typemap": {"a": "int32", "b": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_45dbgpeq0i.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": ... |
michalis-/rcu/valtree/v3.19/fake_sched.h | unsigned long int_sqrt(unsigned long x)
{
unsigned long b, m, y = 0;
if (x <= 1)
return x;
m = 1UL << ((sizeof(long) * 8) - 2);
while (m != 0) {
b = y + m;
y >>= 1;
if (x >= b) {
x -= b;
... | unsigned long int_sqrt(unsigned longx) | unsigned long int_sqrt(unsigned long x) | int_sqrt | [
"unsigned long",
"unsigned long"
] | {
"code": [
".globl int_sqrt\n.type int_sqrt, @function\nint_sqrt:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -40(%rbp)\n\tmovq\t$0, -16(%rbp)\n\tcmpq\t$1, -40(%rbp)\n\tja\t.L2\n\tmovq\t-40(%rbp)... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"21"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_54il_hk1o2.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["x"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "int_sqrt", "funargs": ["x"], "typemap": {"x": "uint64", "returnv": "uint64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_54il_hk1o2.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
NutshellySima/cpp/SYSU/matrix-C/Calculate the day.c | int leapyear(int year) {
if (year % 400 == 0)
return 1;
else if (year % 4 == 0 && year % 100 != 0)
return 1;
else
return 0;
} | int leapyear(intyear) | int leapyear(int year) | leapyear | [
"int",
"int"
] | {
"code": [
".globl leapyear\n.type leapyear, @function\nleapyear:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t-4(%rbp), %edx\n\tmovslq\t%edx, %rax\n\timulq\t$1374389535, %rax, %... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"9"
],
"var... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_61od0zydej.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["year"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "leapyear", "funargs": ["year"], "typemap": {"year": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_61od0zydej.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
n-t-roff/DWB3.3/text/troff/n4.c | int quant(int n, int m)
{
int i, neg;
neg = 0;
if (n < 0) {
neg++;
n = -n;
}
i = n / m;
if (n - m * i > m / 2)
i += 1;
i *= m;
if (neg)
i = -i;
return(i);
} | int quant(intn, intm) | int quant(int n, int m) | quant | [
"int",
"int",
"int"
] | {
"code": [
".globl quant\n.type quant, @function\nquant:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t%esi, -24(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tcmpl\t$0, -20(%rbp)\n\tjns\t.L2\n\... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"115",
"15"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_339ai5d10y.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["n", "m"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "quant", "funargs": ["n", "m"], "typemap": {"n": "int32", "m": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_339ai5d10y.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
yigezhe/algorithm-summary/math/gcd/gcd_idea2_way2.c | int gcd(int a,int b) {
int r;
if(a<0) {
a=-a;
}
if(b<0) {
b=-b;
}
if(b>a) {
int tmp=a;
a=b;
b=tmp;
}
# 36 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/yigezhe/algorithm-summary/refs/heads/master/math/gcd/... | int gcd(inta, intb) | int gcd(int a,int b) | gcd | [
"int",
"int",
"int"
] | {
"code": [
".globl gcd\n.type gcd, @function\ngcd:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t%esi, -24(%rbp)\n\tcmpl\t$0, -20(%rbp)\n\tjns\t.L2\n\tnegl\t-20(%rbp)\n.L2:\n\tcm... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"104",
"99"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_59gy4uj0wf.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["a", "b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "gcd", "funargs": ["a", "b"], "typemap": {"a": "int32", "b": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_59gy4uj0wf.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
dlna/DeveloperToolsForUPnP/Samples/EmbeddedSamples/Micro Av Server/MicroMediaServer.c | char MungeHexDigit(char* one_hexdigit)
{
char r = -1;
char c = *one_hexdigit;
if (c >= '0' && c <= '9')
{
r = c - '0';
}
else if (c >= 'A' && c <= 'F')
{
r = c - 'A' + 10;
}
else if (c >= 'a' && c <= 'F')
{
r = c - 'a' + 10;
}
return r;
} | char MungeHexDigit(char *one_hexdigit) | char MungeHexDigit(char* one_hexdigit) | MungeHexDigit | [
"char",
"char *"
] | {
"code": [
".globl MungeHexDigit\n.type MungeHexDigit, @function\nMungeHexDigit:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovb\t$-1, -2(%rbp)\n\tmovq\t-24(%rbp), %rax\n\tmovzbl\t(... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"qfvfw\""
],
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_58e681x_mf.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["one_hexdigit"], "liveout": ["one_hexdigit"], "returnvarname": ["returnv"], "execcmd": "", "funname": "MungeHexDigit", "funargs": ["one_hexdigit"], "typemap": {"one_hexdigit": "string", "returnv": "int8"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_58e681x_mf.c"], "classmap": {}, "range": {}, "needs... |
ningwei1993/beginnerOfC/5.c | int function(int x, int y)
{
switch (y) {
case 2:
if ((x % 4 == 0 && x % 100 != 0) || x % 400 == 0) {
return 29;
} else {
return 28;
}
case 4:
case 6:
case 9:
case 11:
return 30;
default:
return 31;
}
} | int function(intx, inty) | int function(int x, int y) | function | [
"int",
"int",
"int"
] | {
"code": [
".globl function\n.type function, @function\nfunction:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t%esi, -8(%rbp)\n\tcmpl\t$11, -8(%rbp)\n\tja\t.L2\n\tmovl\t-8(%rbp),... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"88",
"56"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_3011v4bfnu.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["x", "y"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "function", "funargs": ["x", "y"], "typemap": {"x": "int32", "y": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_3011v4bfnu.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
Desartes/VUT/1.projekt/proj1.c | int isnum(char *c) {
int i = 0;
while( *(c + i) != '\0' ) {
if ( !(*(c + i) >= 48 && *(c + i) <= 57) )
break;
else
i++;
}
if ( *(c + i) == '\0' )
return 1;
else
return 0;
} | int isnum(char *c) | int isnum(char *c) | isnum | [
"int",
"char *"
] | {
"code": [
".globl isnum\n.type isnum, @function\nisnum:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tjmp\t.L2\n.L4:\n\tmovl\t-4(%rbp), %eax\n\tmovslq\t%eax, %rd... | null | #include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <limits.h>
#include <ctype.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"pqzmjlrel\""
]... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_328rtgu9nb.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c"], "liveout": ["c"], "returnvarname": ["returnv"], "execcmd": "", "funname": "isnum", "funargs": ["c"], "typemap": {"c": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_328rtgu9nb.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
tykowale/learningC/ProgrammingInC/chapter10/ex4.c | int my_str_cmp (const char s1[], const char s2[])
{
int i = 0;
int are_equal = 0;
while ( s1[i] == s2[i] && s1[i] != '\0' && s2[i] != '\0' ) {
++i;
}
if ( s1[i] == '\0' && s2[i] == '\0' ) {
are_equal = 1;
}
return are_equal;
} | int my_str_cmp(const char *s1, const char *s2) | int my_str_cmp (const char s1[], const char s2[]) | my_str_cmp | [
"int",
"const char *",
"const char *"
] | {
"code": [
".globl my_str_cmp\n.type my_str_cmp, @function\nmy_str_cmp:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t$0, -8(%rbp)\n\tmovl\t$0, -4(%rbp)\... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"atg\"",
"\"e... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_5600ori7sc.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["s1", "s2"], "liveout": ["s1", "s2"], "returnvarname": ["returnv"], "execcmd": "", "funname": "my_str_cmp", "funargs": ["s1", "s2"], "typemap": {"s1": "string", "s2": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_5600ori7sc.c"], "classmap": {}, "range": {}, "needs_cast": ... |
andres-erbsen/baseconvert/opt/shortcuts.c | int magic(int a, int b) {
if (a < 2 || b < 2) return 0;
int r;
while (1) {
if (b > a) {
r = a;
a = b;
b = r;
}
r = a%b;
a /= b;
if (r) return 0;
else if (a == 1) return b;
}
} | int magic(inta, intb) | int magic(int a, int b) | magic | [
"int",
"int",
"int"
] | {
"code": [
".globl magic\n.type magic, @function\nmagic:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t%esi, -24(%rbp)\n\tcmpl\t$1, -20(%rbp)\n\tjle\t.L2\n\tcmpl\t$1, -24(%rbp)\n... | null | #include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <limits.h>
#include <assert.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"76",
"68"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_45cw4dgww8.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["a", "b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "magic", "funargs": ["a", "b"], "typemap": {"a": "int32", "b": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_45cw4dgww8.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
AmyBSOD/ToME-SX/src/init1.c | int color_char_to_attr(char c)
{
switch (c)
{
case 'd':
return (0);
case 'w':
return (1);
case 's':
return (2);
case 'o':
return (3);
case 'r':
return (4);
case 'g':
return (5);
case 'b':
return (6);
case 'u':
return (7);
case 'D':
return (8);
case 'W':
return (9);
case 'v':
return (... | int color_char_to_attr(charc) | int color_char_to_attr(char c) | color_char_to_attr | [
"int",
"char"
] | {
"code": [
".globl color_char_to_attr\n.type color_char_to_attr, @function\ncolor_char_to_attr:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tmovsbl\t-4(%rbp), %eax\n... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"71"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_45_vzv9n_6.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "color_char_to_attr", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_45_vzv9n_6.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
juliustch/ProbEmbed/LME/code/GridTable.c | int same_coordinate(int* coor1, int* coor2, int d)
{
int i;
for(i = 0; i < d; i++)
if(coor1[i] != coor2[i])
return 0;
return 1;
} | int same_coordinate(int *coor1, int *coor2, intd) | int same_coordinate(int* coor1, int* coor2, int d) | same_coordinate | [
"int",
"int *",
"int *",
"int"
] | {
"code": [
".globl same_coordinate\n.type same_coordinate, @function\nsame_coordinate:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t%edx, -36(%rbp)\n\tm... | null | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[80, 93, 126, 78, 110,... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_45k9zug3ig.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["coor1", "coor2", "d"], "liveout": ["coor1", "coor2"], "returnvarname": ["returnv"], "execcmd": "", "funname": "same_coordinate", "funargs": ["coor1", "coor2", "d"], "typemap": {"coor1": "array(int32#32)", "coor2": "array(int32#32)", "d": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2... |
elsys/po-homework/A/03/03/task1.c | int month(int *n)
{int month;
int flag=0;
month=n[2]*10+n[3];
if( (month<12) ||(month>=21 &&month<=32)||(month>=41 && month<=53))
{flag=1;}
return flag;
} | int month(int *n) | int month(int *n) | month | [
"int",
"int *"
] | {
"code": [
".globl month\n.type month, @function\nmonth:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t$0, -8(%rbp)\n\tmovq\t-24(%rbp), %rax\n\taddq\t$8, %rax\n\tmovl\t(%rax), %e... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[115, 9, 121, 11, 106,... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_433nr95nko.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["n"], "liveout": ["n"], "returnvarname": ["returnv"], "execcmd": "", "funname": "month", "funargs": ["n"], "typemap": {"n": "array(int32#32)", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_433nr95nko.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
trealla-lang/trealla/src/utf8.c | int readc_utf8(int fd, int *res)
{
unsigned int n = 0;
int expect = 1;
while (expect--) {
unsigned char ch;
int len;
if ((len = read(fd, &ch, 1)) == 0) {
*res = EOF;
return 1;
}
if (len == -1)
return 0;
if ((ch & 0b11111... | int readc_utf8(intfd, int *res) | int readc_utf8(int fd, int *res) | readc_utf8 | [
"int",
"int",
"int *"
] | {
"code": [
".globl readc_utf8\n.type readc_utf8, @function\nreadc_utf8:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$48, %rsp\n\tmovl\t%edi, -36(%rbp)\n\tmovq\t%rsi, -48(%rbp)\n\tmovq\t%fs:40, %rax\n\t... | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... | #include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"26",
"[52, 17,... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_63x97dmpot.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["fd", "res"], "liveout": ["res", "EOF"], "returnvarname": ["returnv"], "execcmd": "", "funname": "readc_utf8", "funargs": ["fd", "res"], "typemap": {"fd": "int32", "res": "array(int32#32)", "returnv": "int32", "EOF": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_63x97dmpot.c"], "classmap": {}... |
trealla-lang/trealla/src/utf8.c | int put_len_utf8(int _ch)
{
unsigned int ch = (unsigned int)_ch;
int len = 0;
if (ch <= 0x7F)
len = 1;
else if (ch <= 0x07FF)
len = 2;
else if (ch <= 0xFFFF)
len = 3;
else if (ch <= 0x01FFFFF)
len = 4;
else if (ch <= 0x03FFFFFF)
len = 5;
else if (... | int put_len_utf8(int_ch) | int put_len_utf8(int _ch) | put_len_utf8 | [
"int",
"int"
] | {
"code": [
".globl put_len_utf8\n.type put_len_utf8, @function\nput_len_utf8:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t-20(%rbp), %eax\n\tmovl\t%eax, -4(%rbp)\n\tmovl\t$0, -... | null | #include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"113"
],
"v... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_634hecziwb.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["_ch"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "put_len_utf8", "funargs": ["_ch"], "typemap": {"_ch": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_634hecziwb.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
bardibardi/cheap_random/examples2/cr.c | int cr_has_byte_in_string(char byte, char *arg) {
int c;
c = -1;
while (0 != c) {
c = (int)*arg++;
if ((char)c == byte) {
return 1;
}
}
return 0;
} | int cr_has_byte_in_string(charbyte, char *arg) | int cr_has_byte_in_string(char byte, char *arg) | cr_has_byte_in_string | [
"int",
"char",
"char *"
] | {
"code": [
".globl cr_has_byte_in_string\n.type cr_has_byte_in_string, @function\ncr_has_byte_in_string:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovq\t%rsi, -32(%rbp)\n\tmovb\t%al, -2... | null | #include <stdio.h>
#include <stdlib.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"49",
"\"gvh\""... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_55jkfguvgz.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["byte", "arg"], "liveout": ["arg"], "returnvarname": ["returnv"], "execcmd": "", "funname": "cr_has_byte_in_string", "funargs": ["byte", "arg"], "typemap": {"byte": "int8", "arg": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_55jkfguvgz.c"], "classmap": {}, "range": {}, "... |
yumeyao/zopfli_cgbi/src/zopfli/util.c | int ZopfliGetDistExtraBits(int dist) {
if (dist < 5) return 0;
else if (dist < 9) return 1;
else if (dist < 17) return 2;
else if (dist < 33) return 3;
else if (dist < 65) return 4;
else if (dist < 129) return 5;
else if (dist < 257) return 6;
else if (dist < 513) return 7;
else if (dist < 1025) retur... | int ZopfliGetDistExtraBits(intdist) | int ZopfliGetDistExtraBits(int dist) | ZopfliGetDistExtraBits | [
"int",
"int"
] | {
"code": [
".globl ZopfliGetDistExtraBits\n.type ZopfliGetDistExtraBits, @function\nZopfliGetDistExtraBits:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tcmpl\t$4, -4(%rbp)\n\tjg\t.L2\n... | null | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"31"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_370gltfdlb.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["dist"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "ZopfliGetDistExtraBits", "funargs": ["dist"], "typemap": {"dist": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_370gltfdlb.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
FabianKnapp/nexmon/master/utilities/wireshark/wsutil/g711.c | int
alaw2linear(
unsigned char a_val)
{
int t;
int seg;
a_val ^= 0x55;
t = (a_val & (0xf)) << 4;
seg = ((unsigned)a_val & (0x70)) >> (4);
switch (seg) {
case 0:
t += 8;
break;
case 1:
t += 0x108;
break;
default:
t +=... | int alaw2linear(unsigned chara_val) | int alaw2linear( unsigned char a_val) | alaw2linear | [
"int",
"unsigned char"
] | {
"code": [
".globl alaw2linear\n.type alaw2linear, @function\nalaw2linear:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -20(%rbp)\n\txorb\t$85, -20(%rbp)\n\tmovzbl\t-20(%rbp), %... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"117"
],
"v... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_43r1siffso.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | fork | null | {"livein": ["a_val"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "alaw2linear", "funargs": ["a_val"], "typemap": {"a_val": "uint8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_43r1siffso.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
JonSteinn/Kattis-Solutions/src/Datum/C/datum.c | int months_to_days(int n)
{
switch(n)
{
case 1:
return 0;
case 2:
return 31;
case 3:
return 59;
case 4:
return 90;
case 5:
return 120;
case 6:
return 151;
case 7:
return 18... | int months_to_days(intn) | int months_to_days(int n) | months_to_days | [
"int",
"int"
] | {
"code": [
".globl months_to_days\n.type months_to_days, @function\nmonths_to_days:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tcmpl\t$11, -4(%rbp)\n\tja\t.L2\n\tmovl\t-4(%rbp), %eax\... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"20"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_649ohixd9y.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["n"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "months_to_days", "funargs": ["n"], "typemap": {"n": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_649ohixd9y.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
ayyucedemirbas/Minix-Source-Code/common/dist/zlib/contrib/untgz/untgz.c | int getoct (char *p,int width)
{
int result = 0;
char c;
while (width--)
{
c = *p++;
if (c == 0)
break;
if (c == ' ')
continue;
if (c < '0' || c > '7')
return -1;
result = result * 8 + (c - '0');
}
return result;
} | int getoct(char *p, intwidth) | int getoct (char *p,int width) | getoct | [
"int",
"char *",
"int"
] | {
"code": [
".globl getoct\n.type getoct, @function\ngetoct:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tjmp\t.L2\n.L9:\n\tmovq\t-24(%rb... | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
# 1 | {
"dummy_funcs": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"dummy_funcs_seed": [
0,
0,
0,
0,
... | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"sxi\"",
"11"... | extern "C" {
#include "/run/user/1000/pytmpfile_jordiws_3577735k5vlq10v.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
u... | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_408dxjc241.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["p", "width"], "liveout": ["p"], "returnvarname": ["returnv"], "execcmd": "", "funname": "getoct", "funargs": ["p", "width"], "typemap": {"p": "string", "width": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_408dxjc241.c"], "classmap": {}, "range": {}, "needs_cast": {}, "g... |
OpenNurbsFit/OpenNurbsFit/TomGine/ply.c | int equal_strings(char *s1, char *s2)
{
while (*s1 && *s2)
if (*s1++ != *s2++)
return (0);
if (*s1 != *s2)
return (0);
else
return (1);
} | int equal_strings(char *s1, char *s2) | int equal_strings(char *s1, char *s2) | equal_strings | [
"int",
"char *",
"char *"
] | {
"code": [
".globl equal_strings\n.type equal_strings, @function\nequal_strings:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tmovq\t%rsi, -16(%rbp)\n\tjmp\t.L2\n.L5:\n\tmovq\t-8(%rbp),... | null | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"enstohphsltvzxzqsdlx... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_52i98symri.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["s1", "s2"], "liveout": ["s1", "s2"], "returnvarname": ["returnv"], "execcmd": "", "funname": "equal_strings", "funargs": ["s1", "s2"], "typemap": {"s1": "string", "s2": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_52i98symri.c"], "classmap": {}, "range": {}, "needs_cast... |
parklab/NGSCheckMate/ngscheckmate_fastq-source/stringhash2.c | int base2int(char b){
switch(b){
case 'A':
return(0);
case 'C':
return(1);
case 'G':
return(2);
case 'T':
return(3);
default:
return(4);
}
} | int base2int(charb) | int base2int(char b) | base2int | [
"int",
"char"
] | {
"code": [
".globl base2int\n.type base2int, @function\nbase2int:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tmovsbl\t-4(%rbp), %eax\n\tcmpl\t$84, %eax\n\tje\t.L2\n... | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"111"
],
"v... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_38n_mya6hj.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "base2int", "funargs": ["b"], "typemap": {"b": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_38n_mya6hj.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
elominp/BSQ/src/my_get_el.c | int my_get_el(char c, char *base)
{
int lp;
lp = 0;
while (base[lp] != '\0')
{
if (c == base[lp])
return (lp);
++lp;
}
return (-1);
} | int my_get_el(charc, char *base) | int my_get_el(char c, char *base) | my_get_el | [
"int",
"char",
"char *"
] | {
"code": [
".globl my_get_el\n.type my_get_el, @function\nmy_get_el:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovq\t%rsi, -32(%rbp)\n\tmovb\t%al, -20(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tjmp... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"25",
"\"wdftgz... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_55sm73txj0.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c", "base"], "liveout": ["base"], "returnvarname": ["returnv"], "execcmd": "", "funname": "my_get_el", "funargs": ["c", "base"], "typemap": {"c": "int8", "base": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_55sm73txj0.c"], "classmap": {}, "range": {}, "needs_cast": {}, ... |
nicaraguabinary/lib-tlali-openstreetmap/src/tests/tests-main.c | double TLAString_toDouble(const char* string){
const char sign= (*string);
double value = 0;
if(sign=='-' || sign=='+') string++;
while((*string)!='\0' && (*string)!='.'){
value = (value * 10.0f) + ((*string) - 48.0f);
string++;
}
if((*string)=='.'){
float factorDivisor = 10.0f;
string++;
while((*stri... | double TLAString_toDouble(const char *string) | double TLAString_toDouble(const char* string) | TLAString_toDouble | [
"double",
"const char *"
] | {
"code": [
".globl TLAString_toDouble\n.type TLAString_toDouble, @function\nTLAString_toDouble:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t-24(%rbp), %rax\n\tmovzbl\t(%rax), %... | null | #include <stdio.h> //FILE*
#include <time.h> //clock_t, clock()
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"\""
],
"... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_56v1kwm80m.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["string"], "liveout": ["string"], "returnvarname": ["returnv"], "execcmd": "", "funname": "TLAString_toDouble", "funargs": ["string"], "typemap": {"string": "string", "returnv": "float64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_56v1kwm80m.c"], "classmap": {}, "range": {}, "needs_cast": {}, "glo... |
MaestracciDamien/Dora/metaheuristiques.c | int isInTable(int nombre, int * tab, int nb)
{
int i=0;
int retour =0;
while (i < nb && !retour)
{
if(tab[i] == nombre) retour=1;
i++;
}
return retour;
} | int isInTable(intnombre, int *tab, intnb) | int isInTable(int nombre, int * tab, int nb) | isInTable | [
"int",
"int",
"int *",
"int"
] | {
"code": [
".globl isInTable\n.type isInTable, @function\nisInTable:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t%edx, -24(%rbp)\n\tmovl\t$0, -8(%rbp)\... | null | #include <time.h>
#include <stdlib.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"10",
"[50, 107... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_31j5mre3b5.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["nombre", "tab", "nb"], "liveout": ["tab"], "returnvarname": ["returnv"], "execcmd": "", "funname": "isInTable", "funargs": ["nombre", "tab", "nb"], "typemap": {"nombre": "int32", "tab": "array(int32#32)", "nb": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_31j5mre3b5.c"],... |
MigNov/libminCrypt/src/byteops.c | int apply_binary_operation_on_byte(int tbit, int kbit, int operation)
{
if (operation == 0x00) {
return ((tbit == '1') || (kbit == '1')) ? '1' : '0';
}
else
if (operation == 0x01) {
return ((tbit == '1') && (kbit == '1')) ? '1' : '0';
}
else
if (operation == 0x02) {
return (((tbit == '0') && (kbit == '1'))... | int apply_binary_operation_on_byte(inttbit, intkbit, intoperation) | int apply_binary_operation_on_byte(int tbit, int kbit, int operation) | apply_binary_operation_on_byte | [
"int",
"int",
"int",
"int"
] | {
"code": [
".globl apply_binary_operation_on_byte\n.type apply_binary_operation_on_byte, @function\napply_binary_operation_on_byte:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t%... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"35",
"1",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_49jxcr3cd_.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["tbit", "kbit", "operation"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "apply_binary_operation_on_byte", "funargs": ["tbit", "kbit", "operation"], "typemap": {"tbit": "int32", "kbit": "int32", "operation": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c... |
philsmd/sharpfin/src/libreciva/src/lcd/lcd_devel.c | char lcd_hwchr(char *str, int pos)
{
int i ;
unsigned long int c=0 ;
if (str==NULL) return '\0' ;
for (i=0; str[i]!='\0' && i<pos; ) {
if ((str[i]&'\x80')==0) i++ ;
else {
i++ ;
while ((str[i]&'\xC0')=='\x80') i++ ;
}
}
if ((str[i]&'\x80')==0) return str[i] ;
if ((str[i]&'\xE0')=='\xC0') {
c|=(... | char lcd_hwchr(char *str, intpos) | char lcd_hwchr(char *str, int pos) | lcd_hwchr | [
"char",
"char *",
"int"
] | {
"code": [
".globl lcd_hwchr\n.type lcd_hwchr, @function\nlcd_hwchr:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tmovq\t$0, -8(%rbp)\n\tcmpq\t$0, -24(%rbp)\n\... | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... | #include <errno.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <stdio.h>
#include <ncurses.h>
# 1 | {
"dummy_funcs": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"dummy_funcs_seed": [
0,
0,
0,
0,
... | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"zssxuolrfgidgvhxvgbk... | extern "C" {
#include "/run/user/1000/pytmpfile_jordiws_3577740ez0441_7.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
u... | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_58q4jhtmf8.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str", "pos"], "liveout": ["str"], "returnvarname": ["returnv"], "execcmd": "", "funname": "lcd_hwchr", "funargs": ["str", "pos"], "typemap": {"str": "string", "pos": "int32", "returnv": "int8"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_58q4jhtmf8.c"], "classmap": {}, "range": {}, "needs_cast": {}... |
pmq20/ruby-compiler/ruby/ext/socket/constdefs.c | int
rsock_ip_level_to_int(const char *str, long len, int *valp)
{
switch (len) {
case 2:
# 5182 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/pmq20/ruby-compiler/refs/heads/master/ruby/ext/socket/constdefs.c"
return -1;
case 3:
# 5221 "/scratch/repos... | int rsock_ip_level_to_int(const char *str, longlen, int *valp) | int rsock_ip_level_to_int(const char *str, long len, int *valp) | rsock_ip_level_to_int | [
"int",
"const char *",
"long",
"int *"
] | {
"code": [
".globl rsock_ip_level_to_int\n.type rsock_ip_level_to_int, @function\nrsock_ip_level_to_int:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tmovq\t%rsi, -16(%rbp)\n\tmovq\t%rd... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"tsmlrfgmuuums\"",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_37ztfm68xj.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str", "len", "valp"], "liveout": ["str", "valp"], "returnvarname": ["returnv"], "execcmd": "", "funname": "rsock_ip_level_to_int", "funargs": ["str", "len", "valp"], "typemap": {"str": "string", "len": "int64", "valp": "array(int32#32)", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c402620... |
ruipimenta/newOseaClassifier/qrsfilt.c | int deriv1(int x, int init)
{
static int derBuff[2], derI = 0 ;
int y ;
if(init != 0)
{
for(derI = 0; derI < 2; ++derI)
derBuff[derI] = 0 ;
derI = 0 ;
return(0) ;
}
y = x - derBuff[derI] ;
derBuff[derI] = x ;
if(++derI == 2)
derI = 0 ;
return(y) ;
} | int deriv1(intx, intinit) | int deriv1(int x, int init) | deriv1 | [
"int",
"int",
"int"
] | {
"code": [
".globl deriv1\n.type deriv1, @function\nderiv1:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t%esi, -24(%rbp)\n\tcmpl\t$0, -24(%rbp)\n\tje\t.L2\n\tmovl\t$0, derI.3552... | null | #include <math.h>
#include <stdlib.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"71",
"5"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_63g3ccv9od.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["x", "init"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "deriv1", "funargs": ["x", "init"], "typemap": {"x": "int32", "init": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_63g3ccv9od.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals"... |
hiseba/project_euler/problems/014.c | int collatz(long int n){
int iter = 0;
while(1){
if(n%2==0) {n/=2; iter++;}
else{
if(n==1) return iter;
else {n=3*n+1; iter++;}
}}
} | int collatz(longn) | int collatz(long int n) | collatz | [
"int",
"long"
] | {
"code": [
".globl collatz\n.type collatz, @function\ncollatz:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t$0, -4(%rbp)\n.L6:\n\tmovq\t-24(%rbp), %rax\n\tandl\t$1, %eax\n\ttest... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"68"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_29v2ftoshj.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["n"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "collatz", "funargs": ["n"], "typemap": {"n": "int64", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_29v2ftoshj.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
rulan87/devclab.bc/bc/2/arrayAbs.c | void arrayAbs(int array[], int size) {
for ( int i = 0; i < size; i++ ) {
if ( array[i] < 0 ) {
array[i] *= -1;
}
}
} | void arrayAbs(int *array, intsize) | void arrayAbs(int array[], int size) | arrayAbs | [
"void",
"int *",
"int"
] | {
"code": [
".globl arrayAbs\n.type arrayAbs, @function\narrayAbs:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tjmp\t.L2\n.L4:\n\tmovl\t-... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[21, 24, 44, 51, 11, 2... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_619loz8t23.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["array", "size"], "liveout": ["array"], "returnvarname": [], "execcmd": "", "funname": "arrayAbs", "funargs": ["array", "size"], "typemap": {"array": "array(int32#32)", "size": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_619loz8t23.c"], "classmap": {}, "range": {}, "needs_cast": {}, "global... |
TuringClass2016SCNU/Algorithms/multiply_and_power/c/recursive.c | int multiply(int a, int b){
if (b == 0)
return 0;
if (b == 1)
return a;
if (b % 2 == 0)
return 2 * multiply(a, b/2);
else
return 2 * multiply(a, b/2) + a;
} | int multiply(inta, intb) | int multiply(int a, int b) | multiply | [
"int",
"int",
"int"
] | {
"code": [
".globl multiply\n.type multiply, @function\nmultiply:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$16, %rsp\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t%esi, -8(%rbp)\n\tcmpl\t$0, -8(%rbp)\n\tjne\t.L2... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"89",
"67"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_54ao9i5frq.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["a", "b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "multiply", "funargs": ["a", "b"], "typemap": {"a": "int32", "b": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_54ao9i5frq.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
mtirado/eslib/eslib_string.c | int eslib_string_is_sane(char *buf, const unsigned int len)
{
unsigned int idx;
if (len == 0)
return -1;
for (idx = 0; idx < len; ++idx)
{
char c = buf[idx];
if (c < 32 || c >= 127) {
if (!( c == ' ' || c == '\n' || c == '\t' )) {
return 0;
}
}
}
return 1;
} | int eslib_string_is_sane(char *buf, const unsigned intlen) | int eslib_string_is_sane(char *buf, const unsigned int len) | eslib_string_is_sane | [
"int",
"char *",
"const unsigned int"
] | {
"code": [
".globl eslib_string_is_sane\n.type eslib_string_is_sane, @function\neslib_string_is_sane:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tcmpl\t$0, -... | null | #include <errno.h>
#include <stddef.h>
#include <limits.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"czv\"",
"368... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_55rc90uos8.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["buf", "len"], "liveout": ["buf"], "returnvarname": ["returnv"], "execcmd": "", "funname": "eslib_string_is_sane", "funargs": ["buf", "len"], "typemap": {"buf": "string", "len": "uint32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_55rc90uos8.c"], "classmap": {}, "range": {}, "ne... |
Enchak/c-programming-homework/B/02/17/02_BiggestOf3Numbers.c | float biggest(float a, float b, float c)
{
if(a > b && a > c)
{
return a;
}
if(b > a && b > c)
{
return b;
}
return c;
} | float biggest(floata, floatb, floatc) | float biggest(float a, float b, float c) | biggest | [
"float",
"float",
"float",
"float"
] | {
"code": [
".globl biggest\n.type biggest, @function\nbiggest:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovss\t%xmm0, -4(%rbp)\n\tmovss\t%xmm1, -8(%rbp)\n\tmovss\t%xmm2, -12(%rbp)\n\tmovss\t-4(%rbp), %xmm... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"42.0302380499",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_55fs_wjn8n.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["a", "b", "c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "biggest", "funargs": ["a", "b", "c"], "typemap": {"a": "float32", "b": "float32", "c": "float32", "returnv": "float32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_55fs_wjn8n.c"], "classmap": {}, "range": {}, "ne... |
ieugen/ipc/scaner.c | int isoperator (char c)
{
return ( c==','|| c=='|' || c=='6'|| c=='^' || c=='='|| c== '!'|| c=='<'
|| c== '>' || c== '+' || c== '-' || c=='%' || c=='/'
|| c=='*' || c== '~' || c=='(' || c==')' || c=='[' || c== ']'
|| c=='.' || ';' || c=='\'' || c=='"');
} | int isoperator(charc) | int isoperator (char c) | isoperator | [
"int",
"char"
] | {
"code": [
".globl isoperator\n.type isoperator, @function\nisoperator:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tmovl\t$1, %eax\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, ... | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"39"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_50sgdt_l9n.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "isoperator", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_50sgdt_l9n.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
lecram/zap/src/zcpl_expr.c | char *
escape_char(char e)
{
switch (e) {
case 'a':
return "\a";
case 'b':
return "\b";
case 't':
return "\t";
case 'n':
return "\n";
case 'v':
return "\v";
case 'f':
return "\f";
case 'r'... | char * escape_char(chare) | char * escape_char(char e) | escape_char | [
"char *",
"char"
] | {
"code": [
".globl escape_char\n.type escape_char, @function\nescape_char:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tmovsbl\t-4(%rbp), %eax\n\tcmpl\t$118, %eax\n\... | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"121"
],
"v... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_57kezb1res.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["e"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "escape_char", "funargs": ["e"], "typemap": {"e": "int8", "returnv": "string"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_57kezb1res.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
jjancheta/C_Programming_Fall_2015/assignment3.c | char symbolToDraw(char condition, float avgTemp){
char symbolFunction5;
if (condition == 's')
symbolFunction5 = '@';
else if (condition == 'c')
symbolFunction5 = '~';
else if (condition == 'p' && avgTemp <= 0)
symbolFunction5 = '*';
else
symbolFunction5 = ';';
... | char symbolToDraw(charcondition, floatavgTemp) | char symbolToDraw(char condition, float avgTemp) | symbolToDraw | [
"char",
"char",
"float"
] | {
"code": [
".globl symbolToDraw\n.type symbolToDraw, @function\nsymbolToDraw:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovss\t%xmm0, -24(%rbp)\n\tmovb\t%al, -20(%rbp)\n\tcmpb\t$115, -2... | null | #include <stdio.h>
#include <string.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"117",
"98.5058... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_48ehuj172c.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["condition", "avgTemp"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "symbolToDraw", "funargs": ["condition", "avgTemp"], "typemap": {"condition": "int8", "avgTemp": "float32", "returnv": "int8"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_48ehuj172c.c"], "classmap": {}, "... |
dietschreit/TeLaPo/src/observables.c | int int_distance2 (int (*atom1_ptr), int (*atom2_ptr)) {
return ((atom1_ptr[0]-atom2_ptr[0])*(atom1_ptr[0]-atom2_ptr[0]) +
(atom1_ptr[1]-atom2_ptr[1])*(atom1_ptr[1]-atom2_ptr[1]) +
(atom1_ptr[2]-atom2_ptr[2])*(atom1_ptr[2]-atom2_ptr[2]));
} | int int_distance2(intatom1_ptr) | int int_distance2 (int (*atom1_ptr), int (*atom2_ptr)) | int_distance2 | [
"int",
"int"
] | {
"code": [
".globl int_distance2\n.type int_distance2, @function\nint_distance2:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tmovq\t%rsi, -16(%rbp)\n\tmovq\t-8(%rbp), %rax\n\tmovl\t(%r... | null | #include <stdlib.h>
#include <math.h> /* for math stuff like cos, log, etc. */
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[120, 5, 7, 27, 41, 12... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_33l70802dc.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["atom1_ptr", "atom2_ptr"], "liveout": ["atom1_ptr", "atom2_ptr"], "returnvarname": ["returnv"], "execcmd": "", "funname": "int_distance2", "funargs": ["atom1_ptr", "atom2_ptr"], "typemap": {"atom1_ptr": "array(int32#32)", "atom2_ptr": "array(int32#32)", "returnv": "int32"}, "required_includes": ["/tmp/pytmp... |
MU-Software/hs_c/1115/resident_id_checker.c | int isvalid_id(const char *input_str) {
char tmp_charset[15] = { 0 };
int total = 0, magic_array[] = { 2, 3, 4, 5, 6, 7, 0, 8, 9, 2, 3, 4, 5 };
for (int i = 0; i<13; i++) if (input_str[i] >= 0) {
tmp_charset[i] = input_str[i]*magic_array[i];
total += tmp_charset[i];
}
if (11 - (total % 11) == input_str[13]) re... | int isvalid_id(const char *input_str) | int isvalid_id(const char *input_str) | isvalid_id | [
"int",
"const char *"
] | {
"code": [
".globl isvalid_id\n.type isvalid_id, @function\nisvalid_id:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$112, %rsp\n\tmovq\t%rdi, -104(%rbp)\n\tmovq\t%fs:40, %rax\n\tmovq\t%rax, -8(%rbp)\n\... | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"kebfqitwim\""
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_30i03lkx1v.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["input_str"], "liveout": ["input_str"], "returnvarname": ["returnv"], "execcmd": "", "funname": "isvalid_id", "funargs": ["input_str"], "typemap": {"input_str": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_30i03lkx1v.c"], "classmap": {}, "range": {}, "needs_cast": {}, "g... |
bjornbytes/lovr/src/lib/noise1234/noise1234.c | float grad2( int hash, float x, float y ) {
int h = hash & 7;
float u = h<4 ? x : y;
float v = h<4 ? y : x;
return ((h&1)? -u : u) + ((h&2)? -2.0*v : 2.0*v);
} | float grad2(inthash, floatx, floaty) | float grad2( int hash, float x, float y ) | grad2 | [
"float",
"int",
"float",
"float"
] | {
"code": [
".globl grad2\n.type grad2, @function\ngrad2:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovss\t%xmm0, -24(%rbp)\n\tmovss\t%xmm1, -28(%rbp)\n\tmovl\t-20(%rbp), %eax\n\tan... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"94",
"98.27764... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_41hgro8_u0.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["hash", "x", "y"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "grad2", "funargs": ["hash", "x", "y"], "typemap": {"hash": "int32", "x": "float32", "y": "float32", "returnv": "float32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_41hgro8_u0.c"], "classmap": {}, "range": {}... |
Benjins/GBADev/pureAsm/asm.c | int ParseInt(const char* str, int len) {
const char* cursor = str;
int val = 0;
int sign = 1;
int isHex = 0;
if (*cursor == '-') {
cursor++;
sign = -1;
}
else if (*cursor == '0' && cursor[1] == 'x') {
cursor += 2;
isHex = 1;
}
const int base = (isHex ? 16 : 10);
while (*cursor && (cursor - str) < le... | int ParseInt(const char *str, intlen) | int ParseInt(const char* str, int len) | ParseInt | [
"int",
"const char *",
"int"
] | {
"code": [
".globl ParseInt\n.type ParseInt, @function\nParseInt:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -40(%rbp)\n\tmovl\t%esi, -44(%rbp)\n\tmovq\t-40(%rbp), %rax\n\tmovq\t%rax, -8(%rbp)\n... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"k\"",
"69"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_586r6ywq3e.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str", "len"], "liveout": ["str"], "returnvarname": ["returnv"], "execcmd": "", "funname": "ParseInt", "funargs": ["str", "len"], "typemap": {"str": "string", "len": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_586r6ywq3e.c"], "classmap": {}, "range": {}, "needs_cast": {}... |
jbush001/NyuziProcessor/tests/whole-program/meteor-contest-noverilator.c | int triple_is_okay(char row1, char row2, char row3, int even) {
if(even) {
return ((row1 == 0x03) && (row2 == 0x0B) && ((row3 & 0x1C) == 0x0C)) ||
((row1 == 0x01) && (row2 == 0x05) && (row3 == 0x06)) ||
((row1 == 0x19) && (row2 == 0x11)) ||
((row1 == 0x15) && (row2 == 0... | int triple_is_okay(charrow1, charrow2, charrow3, inteven) | int triple_is_okay(char row1, char row2, char row3, int even) | triple_is_okay | [
"int",
"char",
"char",
"char",
"int"
] | {
"code": [
".globl triple_is_okay\n.type triple_is_okay, @function\ntriple_is_okay:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edx, %eax\n\tmovl\t%ecx, -16(%rbp)\n\tmovl\t%edi, %edx\n\tmovb\t%dl, -4(... | null | #include <stdlib.h>
#include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"107",
"6",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_60dkcgbzcb.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["row1", "row2", "row3", "even"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "triple_is_okay", "funargs": ["row1", "row2", "row3", "even"], "typemap": {"row1": "int8", "row2": "int8", "row3": "int8", "even": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c4... |
urmyfaith/roadofios/diary/solveoutlines/stage_test_week1/1418-1419-1420/06.c | int is_contain_star_or_sharp(const char *str)
{
int flag =0;
char *p = (char *)str;
while(*p != '\0')
{
if(*p=='*' || *p =='#')
{
flag = 1;
break;
}
p++;
}
return flag;
} | int is_contain_star_or_sharp(const char *str) | int is_contain_star_or_sharp(const char *str) | is_contain_star_or_sharp | [
"int",
"const char *"
] | {
"code": [
".globl is_contain_star_or_sharp\n.type is_contain_star_or_sharp, @function\nis_contain_star_or_sharp:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t$0, -12(%rbp)\n\tm... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"\""
],
"... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_63c_oiov39.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str"], "liveout": ["str"], "returnvarname": ["returnv"], "execcmd": "", "funname": "is_contain_star_or_sharp", "funargs": ["str"], "typemap": {"str": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_63c_oiov39.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": [... |
JonSteinn/Kattis-Solutions/src/Bits/C/main.c | int start_div(int n)
{
if (n > 999999999) return 1000000000;
if (n > 99999999) return 100000000;
if (n > 9999999) return 10000000;
if (n > 999999) return 1000000;
if (n > 99999) return 100000;
if (n > 9999) return 10000;
if (n > 999) return 1000;
if (n > 99) return 100;
if (n > 9) re... | int start_div(intn) | int start_div(int n) | start_div | [
"int",
"int"
] | {
"code": [
".globl start_div\n.type start_div, @function\nstart_div:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tcmpl\t$999999999, -4(%rbp)\n\tjle\t.L2\n\tmovl\t$1000000000, %eax\n\tj... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"28"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_64946u8nkw.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["n"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "start_div", "funargs": ["n"], "typemap": {"n": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_64946u8nkw.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
netguy204/cmsc313_examples/midterm_code/count.c | int char_count(char* haystack, char needle) {
int count = 0;
for(char* str = haystack; *str != '\0'; str++) {
if(*str == needle) {
count++;
}
}
return count;
} | int char_count(char *haystack, charneedle) | int char_count(char* haystack, char needle) | char_count | [
"int",
"char *",
"char"
] | {
"code": [
".globl char_count\n.type char_count, @function\nchar_count:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, %eax\n\tmovb\t%al, -28(%rbp)\n\tmovl\t$0, -12(%rbp)\n\... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"\"",
"123"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_626p3cqvb1.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["haystack", "needle"], "liveout": ["haystack"], "returnvarname": ["returnv"], "execcmd": "", "funname": "char_count", "funargs": ["haystack", "needle"], "typemap": {"haystack": "string", "needle": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_626p3cqvb1.c"], "classmap": {},... |
abh/ezmlm-idx/case_starts.c | int case_starts(const char *s,const char *t)
{
unsigned char x;
unsigned char y;
for (;;) {
x = *s++ - 'A';
if (x <= 'Z' - 'A') x += 'a'; else x += 'A';
y = *t++ - 'A';
if (y <= 'Z' - 'A') y += 'a'; else y += 'A';
if (!y) return 1;
if (x != y) return 0;
}
} | int case_starts(const char *s, const char *t) | int case_starts(const char *s,const char *t) | case_starts | [
"int",
"const char *",
"const char *"
] | {
"code": [
".globl case_starts\n.type case_starts, @function\ncase_starts:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n.L9:\n\tmovq\t-24(%rbp), %rax\n\tleaq\t1... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"tqivlmhptacnsifikwfz... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_645qpr0bvd.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["s", "t"], "liveout": ["s", "t"], "returnvarname": ["returnv"], "execcmd": "", "funname": "case_starts", "funargs": ["s", "t"], "typemap": {"s": "string", "t": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_645qpr0bvd.c"], "classmap": {}, "range": {}, "needs_cast": {}, "gl... |
baldepro/Ruzzle/Mot.c | int _poids_caractere(char c)
{
int poids;
switch(c)
{
case 'a': case 'e': case 'i': case 'l': case 'n': case 'o': case 'r': case 's': case 't': case 'u':
poids = 1;
break;
case 'd': case 'g': case 'm': poids = 2;break;
case 'b': case 'c': case 'p': poids = 3;b... | int _poids_caractere(charc) | int _poids_caractere(char c) | _poids_caractere | [
"int",
"char"
] | {
"code": [
".globl _poids_caractere\n.type _poids_caractere, @function\n_poids_caractere:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -20(%rbp)\n\tmovsbl\t-20(%rbp), %eax\n\tsu... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"117"
],
"v... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_64gbr7c3ei.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "_poids_caractere", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_64gbr7c3ei.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
stnava/ANTs/Temporary/topological_numbers.h | int associatedConnectivity(int connectivity)
{
switch(connectivity)
{
case 1:
return 2;
break;
case 2:
return 1;
break;
case 3:
return 4;
break;
case 4:
return 3;
break;
default:
return 2;
break;
}
return 0;
} | int associatedConnectivity(intconnectivity) | int associatedConnectivity(int connectivity) | associatedConnectivity | [
"int",
"int"
] | {
"code": [
".globl associatedConnectivity\n.type associatedConnectivity, @function\nassociatedConnectivity:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tcmpl\t$4, -4(%rbp)\n\tje\t.L2\n... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"38"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_32ryyux7y7.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["connectivity"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "associatedConnectivity", "funargs": ["connectivity"], "typemap": {"connectivity": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_32ryyux7y7.c"], "classmap": {}, "range": {}, "needs_cast... |
jbush001/NyuziProcessor/tests/whole-program/meteor-contest-noverilator.c | char first_empty_cell(char *cell, char minimum) {
char first_empty = minimum;
while(first_empty == cell[0] || first_empty == cell[1] ||
first_empty == cell[2] || first_empty == cell[3] ||
first_empty == cell[4])
first_empty++;
return first_empty;
} | char first_empty_cell(char *cell, charminimum) | char first_empty_cell(char *cell, char minimum) | first_empty_cell | [
"char",
"char *",
"char"
] | {
"code": [
".globl first_empty_cell\n.type first_empty_cell, @function\nfirst_empty_cell:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, %eax\n\tmovb\t%al, -28(%rbp)\n\tmovz... | null | #include <stdlib.h>
#include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"kdfarfnaaskenhtcbokl... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_60pw9e7no8.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["cell", "minimum"], "liveout": ["cell"], "returnvarname": ["returnv"], "execcmd": "", "funname": "first_empty_cell", "funargs": ["cell", "minimum"], "typemap": {"cell": "string", "minimum": "int8", "returnv": "int8"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_60pw9e7no8.c"], "classmap": {}, "range"... |
meko-algo/algorithms/search/binary_search.c | int _binary_search(int nums[], int l, int r, int x)
{
if (r >= l)
{
int mid = (l + r) / 2;
if (nums[mid] == x)
return mid;
else if (nums[mid] > x)
return _binary_search(nums, l, mid - 1, x);
else
return _binary_search(nums, mid + 1, r, x);
}
return -1;
} | int _binary_search(int *nums, intl, intr, intx) | int _binary_search(int nums[], int l, int r, int x) | _binary_search | [
"int",
"int *",
"int",
"int",
"int"
] | {
"code": [
".globl _binary_search\n.type _binary_search, @function\n_binary_search:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$48, %rsp\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tmovl\t%edx... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[32, 124, 101, 126, 90... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_46145ele3d.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["nums", "l", "r", "x"], "liveout": ["nums"], "returnvarname": ["returnv"], "execcmd": "", "funname": "_binary_search", "funargs": ["nums", "l", "r", "x"], "typemap": {"nums": "array(int32#32)", "l": "int32", "r": "int32", "x": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_... |
elsys/po-homework/G/04/03/task1.c | int name_t(char * help,char *bb,char *ab,char * fp,char*pb)
{
int i= 6;
int b;
if(help[i]== 57 && help[i+1]== 51&& help[i+2]== 51 && help[i+3]== 51 &&help[i+4]== 52 &&help[i+5]== 54 && help[i+6] == '-')
{
return b= 1 ;
}
if(help[i]== 53 &&help[i+1]== 53 && help[i+2]== 53 && help[i+3]=... | int name_t(char *help, char *bb, char *ab, char *fp, char *pb) | int name_t(char * help,char *bb,char *ab,char * fp,char*pb) | name_t | [
"int",
"char *",
"char *",
"char *",
"char *",
"char *"
] | {
"code": [
".globl name_t\n.type name_t, @function\nname_t:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovq\t%rdx, -40(%rbp)\n\tmovq\t%rcx, -48(%rbp)\n\tmov... | null | #include <stdio.h>
#include <stdlib.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"evlwqvloqvoyiekpdpuh... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_43i7pcnxba.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["help", "bb", "ab", "fp", "pb"], "liveout": ["help", "bb", "ab", "fp", "pb"], "returnvarname": ["returnv"], "execcmd": "", "funname": "name_t", "funargs": ["help", "bb", "ab", "fp", "pb"], "typemap": {"help": "string", "bb": "string", "ab": "string", "fp": "string", "pb": "string", "returnv": "int32"}, "req... |
damageless/linux-kernel-ican-tab/drivers/video/hdmi/chips/sii9022/SIIVideoModeTable.c | unsigned char ConvertVIC_To_VM_Index(unsigned char VIC, unsigned char _3D_Struct)
{
unsigned char ConvertedVIC;
const unsigned char VIC2Index[] = {
0, 0, 1, 1, 2, 3, 4, 4, 5, 5,
7, 7, 8, 8, 10, 10, 11, 12, 12, 13,
14,... | unsigned char ConvertVIC_To_VM_Index(unsigned charVIC, unsigned char_3D_Struct) | unsigned char ConvertVIC_To_VM_Index(unsigned char VIC, unsigned char _3D_Struct) | ConvertVIC_To_VM_Index | [
"unsigned char",
"unsigned char",
"unsigned char"
] | {
"code": [
".globl ConvertVIC_To_VM_Index\n.type ConvertVIC_To_VM_Index, @function\nConvertVIC_To_VM_Index:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$112, %rsp\n\tmovl\t%edi, %edx\n\tmovl\t%esi, %ea... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"873",
"330"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_38t4x_aavl.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["VIC", "_3D_Struct"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "ConvertVIC_To_VM_Index", "funargs": ["VIC", "_3D_Struct"], "typemap": {"VIC": "uint8", "_3D_Struct": "uint8", "returnv": "uint8"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_38t4x_aavl.c"], "classmap": {}, ... |
luciferfran/codigos-luciferfran/C/Ejemplos C-C++/Cap12/busquedaBin2.c | int busquedaBin1(double m[], int n, double v)
{
int mitad, inf = 0, sup = n - 1;
if (n == 0) return -1;
do
{
mitad = (inf + sup) / 2;
if (v > m[mitad])
inf = mitad + 1;
else
sup = mitad - 1;
}
while( m[mitad] != v && inf <= sup);
if (m[mitad] == v)
return mitad;
else
... | int busquedaBin1(double *m, intn, doublev) | int busquedaBin1(double m[], int n, double v) | busquedaBin1 | [
"int",
"double *",
"int",
"double"
] | {
"code": [
".globl busquedaBin1\n.type busquedaBin1, @function\nbusquedaBin1:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tmovsd\t%xmm0, -40(%rbp)\n\tmovl\t$0... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[87.4516113129, 79.120... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_5129c_0090.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["m", "n", "v"], "liveout": ["m"], "returnvarname": ["returnv"], "execcmd": "", "funname": "busquedaBin1", "funargs": ["m", "n", "v"], "typemap": {"m": "array(float64#32)", "n": "int32", "v": "float64", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_5129c_0090.c"], "classmap": {}, "r... |
ningwei1993/beginnerOfC/2.c | int function(int x)
{
if (x % 400 == 0) {
return 29;
} else if (x % 100 == 0) {
return 28;
} else if (x % 4 == 0) {
return 29;
} else {
return 28;
}
} | int function(intx) | int function(int x) | function | [
"int",
"int"
] | {
"code": [
".globl function\n.type function, @function\nfunction:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t-4(%rbp), %edx\n\tmovslq\t%edx, %rax\n\timulq\t$1374389535, %rax, %... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"22"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_30rt1qv0bi.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["x"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "function", "funargs": ["x"], "typemap": {"x": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_30rt1qv0bi.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
elominp/BSQ/src/my_square_root.c | int my_square_root(int nb)
{
int i;
i = 2;
if (nb <= 0)
return (0);
else if (nb == 1)
return (1);
else
while (1 == 1)
{
if ((i * i) == nb)
return (i);
else if (i >= nb)
return (0);
else
++i;
}
} | int my_square_root(intnb) | int my_square_root(int nb) | my_square_root | [
"int",
"int"
] | {
"code": [
".globl my_square_root\n.type my_square_root, @function\nmy_square_root:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t$2, -4(%rbp)\n\tcmpl\t$0, -20(%rbp)\n\tjg\t.L2\n... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"85"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_55vw0ohoe9.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["nb"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "my_square_root", "funargs": ["nb"], "typemap": {"nb": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_55vw0ohoe9.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
nsierra-/nsh/libft/ft_sisnum.c | int ft_sisnum(const char *str)
{
if (!str)
return (0);
while (*str != '\0')
{
if (*str >= '0' && *str <= '9')
++str;
else
return (0);
}
return (1);
} | int ft_sisnum(const char *str) | int ft_sisnum(const char *str) | ft_sisnum | [
"int",
"const char *"
] | {
"code": [
".globl ft_sisnum\n.type ft_sisnum, @function\nft_sisnum:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tcmpq\t$0, -8(%rbp)\n\tjne\t.L4\n\tmovl\t$0, %eax\n\tjmp\t.L3\n.L6:\n\t... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"csknlexu\""
],... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_38qo7vlnp9.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str"], "liveout": ["str"], "returnvarname": ["returnv"], "execcmd": "", "funname": "ft_sisnum", "funargs": ["str"], "typemap": {"str": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_38qo7vlnp9.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
BartokW/sagetv/native/ax/TSnative/ConstData.c | char* DVBGenreCode( unsigned char code )
{
char *p="";
switch ( code ) {
case 0x00: p="";break;
case 0x10: p="Movie/drama"; break;
case 0x11: p="Detective/thriller"; break;
case 0x12: p="Adventure/western/war"; break;
case 0x13: p="Sci-Fi/fantasy/horror"; break;
case 0x14: p="Comedy"; break;
case 0x15: p... | char * DVBGenreCode(unsigned charcode) | char* DVBGenreCode( unsigned char code ) | DVBGenreCode | [
"char *",
"unsigned char"
] | {
"code": [
".globl DVBGenreCode\n.type DVBGenreCode, @function\nDVBGenreCode:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -20(%rbp)\n\tleaq\t.LC0(%rip), %rax\n\tmovq\t%rax, -8(... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"694"
],
"v... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_41d6qk6c5o.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["code"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "DVBGenreCode", "funargs": ["code"], "typemap": {"code": "uint8", "returnv": "string"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_41d6qk6c5o.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
MobileCloudNetworking/icnaas/apps/HttpProxy/ProxyUtil.c | extern int
IsAlpha(char c) {
if (c >= 'A' && c <= 'Z') return c;
if (c >= 'a' && c <= 'Z') return c - ('a'-'A');
return 0;
} | int IsAlpha(charc) | extern int IsAlpha(char c) | IsAlpha | [
"int",
"char"
] | {
"code": [
".globl IsAlpha\n.type IsAlpha, @function\nIsAlpha:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tcmpb\t$64, -4(%rbp)\n\tjle\t.L2\n\tcmpb\t$90, -4(%rbp)\n\... | null | #include <sys/time.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <time.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"114"
],
"v... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_53kd2l_qbv.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | forkvm | null | {"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "IsAlpha", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_53kd2l_qbv.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
alomax/NonLinLoc/www_beta/src/GridLib.c | double InterpCubeLagrange(double xdiff, double ydiff, double zdiff,
double vval000, double vval001, double vval010, double vval011,
double vval100, double vval101, double vval110, double vval111) {
double value;
double oneMinusXdiff;
double oneMinusYdiff;
double oneMinusZdiff;
oneM... | double InterpCubeLagrange(doublexdiff, doubleydiff, doublezdiff, doublevval000, doublevval001, doublevval010, doublevval011, doublevval100, doublevval101, doublevval110, doublevval111) | double InterpCubeLagrange(double xdiff, double ydiff, double zdiff, double vval000, double vval001, double vval010, double vval011, double vval100, double vval101, double vval110, double vval111) | InterpCubeLagrange | [
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double"
] | {
"code": [
".globl InterpCubeLagrange\n.type InterpCubeLagrange, @function\nInterpCubeLagrange:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovsd\t%xmm0, -40(%rbp)\n\tmovsd\t%xmm1, -48(%rbp)\n\tmovsd\t%xmm2,... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"37.0912151159",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_484u0iswji.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["xdiff", "ydiff", "zdiff", "vval000", "vval001", "vval010", "vval011", "vval100", "vval101", "vval110", "vval111"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "InterpCubeLagrange", "funargs": ["xdiff", "ydiff", "zdiff", "vval000", "vval001", "vval010", "vval011", "vval100", "vval... |
robobenklein/gpg-pqcrypt/HyMES/precomp.c | int is_leaf(int m, int t) {
static int leaf[6] = {7, 5, 4, 4, 3, 3};
if (m < 6)
return (t <= 32);
else if (m > 16)
return (t <= 1);
else if (m > 11)
return (t <= 2);
else
return (leaf[m - 6] >= t);
} | int is_leaf(intm, intt) | int is_leaf(int m, int t) | is_leaf | [
"int",
"int",
"int"
] | {
"code": [
".globl is_leaf\n.type is_leaf, @function\nis_leaf:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t%esi, -8(%rbp)\n\tcmpl\t$5, -4(%rbp)\n\tjg\t.L2\n\tcmpl\t$32, -8(%rbp)... | null | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"108",
"112"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_61gd2yxi00.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["m", "t"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "is_leaf", "funargs": ["m", "t"], "typemap": {"m": "int32", "t": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_61gd2yxi00.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
nolink/algorithm/Leetcode/N165CompareVersion.c | int compareVersion(char* version1, char* version2) {
int value1=0;
int value2=0;
while(1){
value1=0;
value2=0;
while((*version1) != '\0' && (*version1) != '.'){
value1 = (value1 * 10) + (*version1) - '0';
version1++;
}
while((*version2) != '... | int compareVersion(char *version1, char *version2) | int compareVersion(char* version1, char* version2) | compareVersion | [
"int",
"char *",
"char *"
] | {
"code": [
".globl compareVersion\n.type compareVersion, @function\ncompareVersion:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t$0, -8(%rbp)\n\tmovl\t$... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"eyvrypiuphulcnrwsymz... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_6181wmsekn.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["version1", "version2"], "liveout": ["version1", "version2"], "returnvarname": ["returnv"], "execcmd": "", "funname": "compareVersion", "funargs": ["version1", "version2"], "typemap": {"version1": "string", "version2": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_6181wms... |
Garbaz/netlib/netlib.h | int tsend(int targetfd, char* bytes, int bytes_size)
{
int bytes_sent = 0;
do
{
bytes_sent = send(targetfd, bytes, bytes_size, 0);
if(bytes_sent == -1) return -1;
}while(bytes_sent < bytes_size);
return 0;
} | int tsend(inttargetfd, char *bytes, intbytes_size) | int tsend(int targetfd, char* bytes, int bytes_size) | tsend | [
"int",
"int",
"char *",
"int"
] | {
"code": [
".globl tsend\n.type tsend, @function\ntsend:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$32, %rsp\n\tmovl\t%edi, -20(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t%edx, -24(%rbp)\n\tmovl\t$0, -4... | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... | #include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <unistd.h>
#include <netdb.h>
#include <string.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"109",
"\"ufuty... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_41op87np_4.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["targetfd", "bytes", "bytes_size"], "liveout": ["bytes"], "returnvarname": ["returnv"], "execcmd": "", "funname": "tsend", "funargs": ["targetfd", "bytes", "bytes_size"], "typemap": {"targetfd": "int32", "bytes": "string", "bytes_size": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0... |
turboscrew/rpi_stub/util.c | int util_hex_to_nib(char ch)
{
int val;
switch (ch)
{
case 'a':
case 'A':
val = 10;
break;
case 'b':
case 'B':
val = 11;
break;
case 'c':
case 'C':
val = 12;
break;
case 'd':
case 'D':
val = 13;
break;
case 'e':
case 'E':
val = 14;
break;
case 'f':
case 'F':
val = 15;
break;
defa... | int util_hex_to_nib(charch) | int util_hex_to_nib(char ch) | util_hex_to_nib | [
"int",
"char"
] | {
"code": [
".globl util_hex_to_nib\n.type util_hex_to_nib, @function\nutil_hex_to_nib:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -20(%rbp)\n\tmovsbl\t-20(%rbp), %eax\n\tsubl\... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"49"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_58rx4r0yik.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["ch"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "util_hex_to_nib", "funargs": ["ch"], "typemap": {"ch": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_58rx4r0yik.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
jde-maga/lem-in/libft/src/ft_multi_strchr.c | int ft_multi_strchr(char *s, char *src)
{
char *bufs;
bufs = s;
while (*src)
{
while (*s)
{
if (*s == *src)
return (1);
s++;
}
s = bufs;
src++;
}
return (0);
} | int ft_multi_strchr(char *s, char *src) | int ft_multi_strchr(char *s, char *src) | ft_multi_strchr | [
"int",
"char *",
"char *"
] | {
"code": [
".globl ft_multi_strchr\n.type ft_multi_strchr, @function\nft_multi_strchr:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovq\t-24(%rbp), %rax\n\tm... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"qufqmlzpg\"",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_43omhysg_f.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["s", "src"], "liveout": ["s", "src"], "returnvarname": ["returnv"], "execcmd": "", "funname": "ft_multi_strchr", "funargs": ["s", "src"], "typemap": {"s": "string", "src": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_43omhysg_f.c"], "classmap": {}, "range": {}, "needs_ca... |
wasabiz/xv6/usr/2048.c | int c2dir(char c){
switch(c){
case 'w': case 'k': case 'A':
return 0;
case 's': case 'j': case 'B':
return 1;
case 'd': case 'l': case 'C':
return 2;
case 'a': case 'h': case 'D':
return 3;
default:
return -1;
}
} | int c2dir(charc) | int c2dir(char c) | c2dir | [
"int",
"char"
] | {
"code": [
".globl c2dir\n.type c2dir, @function\nc2dir:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tmovsbl\t-4(%rbp), %eax\n\tsubl\t$65, %eax\n\tcmpl\t$54, %eax\n\... | null | #include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <termios.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"37"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_44uw75ipz7.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "c2dir", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_44uw75ipz7.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
imruf84/tmsolver/projects/solver/src/utils.c | long nCr(long n, long r)
{
if (n < r) return 0;
if (r > n/2)
return nCr(n, n-r);
long out = 1;
for(long k = 1; k <= r; ++k)
{
out *= n-k+1;
out /= k;
}
return out;
} | long nCr(longn, longr) | long nCr(long n, long r) | nCr | [
"long",
"long",
"long"
] | {
"code": [
".globl nCr\n.type nCr, @function\nnCr:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$32, %rsp\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovq\t-24(%rbp), %rax\n\tcmpq\t-32(%rbp), %... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"34",
"22"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_35euivn451.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["n", "r"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "nCr", "funargs": ["n", "r"], "typemap": {"n": "int64", "r": "int64", "returnv": "int64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_35euivn451.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
pmq20/ruby-compiler/ruby/ext/socket/constdefs.c | int
rsock_family_to_int(const char *str, long len, int *valp)
{
switch (len) {
case 2:
return -1;
case 3:
# 4517 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/pmq20/ruby-compiler/refs/heads/master/ruby/ext/socket/constdefs.c"
return -1;
... | int rsock_family_to_int(const char *str, longlen, int *valp) | int rsock_family_to_int(const char *str, long len, int *valp) | rsock_family_to_int | [
"int",
"const char *",
"long",
"int *"
] | {
"code": [
".globl rsock_family_to_int\n.type rsock_family_to_int, @function\nrsock_family_to_int:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tmovq\t%rsi, -16(%rbp)\n\tmovq\t%rdx, -24... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"tsmlrfgmuuums\"",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_37wp8r3444.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str", "len", "valp"], "liveout": ["str", "valp"], "returnvarname": ["returnv"], "execcmd": "", "funname": "rsock_family_to_int", "funargs": ["str", "len", "valp"], "typemap": {"str": "string", "len": "int64", "valp": "array(int32#32)", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005... |
AndreasHassing/microc-to-webassembly/micro-wac/test/plc/ex17.c | int seq(int i) {
int count;
count = 0;
while (i != 1) {
count = count + 1;
if (i % 2 == 0)
i = i / 2;
else
i = i * 3 + 1;
}
return count;
} | int seq(inti) | int seq(int i) | seq | [
"int",
"int"
] | {
"code": [
".globl seq\n.type seq, @function\nseq:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tjmp\t.L2\n.L4:\n\taddl\t$1, -4(%rbp)\n\tmovl\t-20(%rbp), %eax\n\t... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"51"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_55h466e2u9.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["i"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "seq", "funargs": ["i"], "typemap": {"i": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_55h466e2u9.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
scs/uclinux/user/dagrab/dagrab.c | int nulls(char *buffer, int bufsize)
{
int i;
char c = buffer[bufsize - 1];
for (i = 16 * 4; i > 0; i--)
if (buffer[bufsize - i] != c)
return 0;
# 202 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/scs/uclinux/refs/heads/master/user/dagrab/dagrab.c"
return 1;
} | int nulls(char *buffer, intbufsize) | int nulls(char *buffer, int bufsize) | nulls | [
"int",
"char *",
"int"
] | {
"code": [
".globl nulls\n.type nulls, @function\nnulls:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tmovl\t-28(%rbp), %eax\n\tcltq\n\tleaq\t-1(%rax), %rdx\n\... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"domnvqmez\"",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_346hwtgqp8.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["buffer", "bufsize"], "liveout": ["buffer"], "returnvarname": ["returnv"], "execcmd": "", "funname": "nulls", "funargs": ["buffer", "bufsize"], "typemap": {"buffer": "string", "bufsize": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_346hwtgqp8.c"], "classmap": {}, "range":... |
ProgDan/maratona/URI/Ad-Hoc/2600 - Tustin e Seu Dado Novo.c | int VerifSomaLados (int *dados){
int bolean=0;
if(dados[0]+dados[5]!=7)
bolean=1;
else if(dados[1]+dados[3]!=7)
bolean=1;
else if(dados[2]+dados[4]!=7)
bolean=1;
return bolean;
} | int VerifSomaLados(int *dados) | int VerifSomaLados (int *dados) | VerifSomaLados | [
"int",
"int *"
] | {
"code": [
".globl VerifSomaLados\n.type VerifSomaLados, @function\nVerifSomaLados:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tmovq\t-24(%rbp), %rax\n\tmovl\t(... | null | #include <stdio.h>
#include <stdlib.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[12, 103, 73, 65, 93, ... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_50kgg28oyj.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["dados"], "liveout": ["dados"], "returnvarname": ["returnv"], "execcmd": "", "funname": "VerifSomaLados", "funargs": ["dados"], "typemap": {"dados": "array(int32#32)", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_50kgg28oyj.c"], "classmap": {}, "range": {}, "needs_cast": {}, "glob... |
AvinashPatil/3d0c/src/bits/bitmagic.c | int next_pow_2(int n) {
if(n&(n-1) == 0) {
return n;
}
int p = 1;
while(p<n) {
p = p << 1;
}
return p;
} | int next_pow_2(intn) | int next_pow_2(int n) | next_pow_2 | [
"int",
"int"
] | {
"code": [
".globl next_pow_2\n.type next_pow_2, @function\nnext_pow_2:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tcmpl\t$1, -20(%rbp)\n\tsete\t%al\n\tmovzbl\t%al, %eax\n\tandl\t-20... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"20"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_61y8hinf2k.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["n"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "next_pow_2", "funargs": ["n"], "typemap": {"n": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_61y8hinf2k.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
Mugurell/Learning/C/Gookin_CAIO/book 4 - Advanced/cmplib.c | int c_sensitive(char *a, char *b)
{
int x;
for(x=0; a[x] != '\0' && b[x] != '\0'; x++)
{
if(a[x] > b[x])
return 1;
else if(a[x] < b[x])
return -1;
}
return 0;
} | int c_sensitive(char *a, char *b) | int c_sensitive(char *a, char *b) | c_sensitive | [
"int",
"char *",
"char *"
] | {
"code": [
".globl c_sensitive\n.type c_sensitive, @function\nc_sensitive:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tjmp\t.L2\n.L7:\n... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"iykduh\"",
"... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_57lpldixze.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["a", "b"], "liveout": ["a", "b"], "returnvarname": ["returnv"], "execcmd": "", "funname": "c_sensitive", "funargs": ["a", "b"], "typemap": {"a": "string", "b": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_57lpldixze.c"], "classmap": {}, "range": {}, "needs_cast": {}, "gl... |
slass100/cissy/src/cissy.c | bool isBinChar(char c) {
switch(c) {
case 1 ... 8:
case 11:
case 12:
case 14 ... 26:
case 28 ... 31:
case 127:
return true;
}
return false;
} | int isBinChar(charc) | bool isBinChar(char c) | isBinChar | [
"int",
"char"
] | {
"code": [
".globl isBinChar\n.type isBinChar, @function\nisBinChar:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tmovsbl\t-4(%rbp), %eax\n\tcmpl\t$31, %eax\n\tjg\t.L... | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include <stdbool.h>
#include <limits.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"26"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_5707tf7u4q.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "isBinChar", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "bool"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_5707tf7u4q.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
dlna/DeveloperToolsForUPnP/Tools/DeviceBuilder/FileStore/ILibParsers.c | int ILibIsDelimiter (const char* buffer, int offset, int buffersize, const char* Delimiter, int DelimiterLength)
{
int i=0;
int RetVal = 1;
if (DelimiterLength>buffersize)
{
return(0);
}
for(i=0;i<DelimiterLength;++i)
{
if (buffer[offset+i]!=Delimiter[i])
{
RetVal = 0;
break;
}
}
retur... | int ILibIsDelimiter(const char *buffer, intoffset, intbuffersize, const char *Delimiter, intDelimiterLength) | int ILibIsDelimiter (const char* buffer, int offset, int buffersize, const char* Delimiter, int DelimiterLength) | ILibIsDelimiter | [
"int",
"const char *",
"int",
"int",
"const char *",
"int"
] | {
"code": [
".globl ILibIsDelimiter\n.type ILibIsDelimiter, @function\nILibIsDelimiter:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tmovl\t%edx, -32(%rbp)\n\tm... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"ynedwalgcrc\"",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_52dz041a21.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["buffer", "offset", "buffersize", "Delimiter", "DelimiterLength"], "liveout": ["buffer", "Delimiter"], "returnvarname": ["returnv"], "execcmd": "", "funname": "ILibIsDelimiter", "funargs": ["buffer", "offset", "buffersize", "Delimiter", "DelimiterLength"], "typemap": {"buffer": "string", "offset": "int32", ... |
cmkaul/pycles/Csrc/kinematics.h | double interp_weno7(double phim3, double phim2, double phim1, double phi, double phip1, double phip2, double phip3){
const double p0 = (-1.0/4.0)*phim3 + (13.0/12.0) * phim2 + (-23.0/12.0) * phim1 + (25.0/12.0)*phi;
const double p1 = (1.0/12.0)*phim2 + (-5.0/12.0)*phim1 + (13.0/12.0)*phi + (1.0/4.0)*phip1;
... | double interp_weno7(doublephim3, doublephim2, doublephim1, doublephi, doublephip1, doublephip2, doublephip3) | double interp_weno7(double phim3, double phim2, double phim1, double phi, double phip1, double phip2, double phip3) | interp_weno7 | [
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double"
] | {
"code": [
".globl interp_weno7\n.type interp_weno7, @function\ninterp_weno7:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$80, %rsp\n\tmovsd\t%xmm0, -152(%rbp)\n\tmovsd\t%xmm1, -160(%rbp)\n\tmovsd\t%xm... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"1.50872508277",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_53ty8ngpob.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["phim3", "phim2", "phim1", "phi", "phip1", "phip2", "phip3"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "interp_weno7", "funargs": ["phim3", "phim2", "phim1", "phi", "phip1", "phip2", "phip3"], "typemap": {"phim3": "float64", "phim2": "float64", "phim1": "float64", "phi": "float... |
akshayp/college-projects/c++/icon-matcher/p1-4.c | int compare(int array1[], int array2[],int col)
{
int result=1;
int c;
for(c=0; c<col; c++)
{
if(array1[c]!=array2[c])
{
result=0;
return result;
}
}
return result;
} | int compare(int *array1, int *array2, intcol) | int compare(int array1[], int array2[],int col) | compare | [
"int",
"int *",
"int *",
"int"
] | {
"code": [
".globl compare\n.type compare, @function\ncompare:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t%edx, -36(%rbp)\n\tmovl\t$1, -4(%rbp)\n\tmov... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[84, 5, 100, 0, 103, 4... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_55tz2imgs1.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["array1", "array2", "col"], "liveout": ["array1", "array2"], "returnvarname": ["returnv"], "execcmd": "", "funname": "compare", "funargs": ["array1", "array2", "col"], "typemap": {"array1": "array(int32#32)", "array2": "array(int32#32)", "col": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmp... |
ptomato/gnome-inform7/src/inweb/Tangled/inweb.c | int Characters__combine_accent(int accent, int letter) {
switch(accent) {
case 0x0300:
switch(letter) {
case 'a': return 0xE0; case 'e': return 0xE8; case 'i': return 0xEC;
case 'o': return 0xF2; case 'u': return 0xF9;
case 'A': return 0xC0; case 'E': return 0xC8; case 'I': return 0xCC;
case 'O': ... | int Characters__combine_accent(intaccent, intletter) | int Characters__combine_accent(int accent, int letter) | Characters__combine_accent | [
"int",
"int",
"int"
] | {
"code": [
".globl Characters__combine_accent\n.type Characters__combine_accent, @function\nCharacters__combine_accent:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t%esi, -8(%rbp... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"89",
"25"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_47vm4ueaj9.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["accent", "letter"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "Characters__combine_accent", "funargs": ["accent", "letter"], "typemap": {"accent": "int32", "letter": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_47vm4ueaj9.c"], "classmap": {},... |
Enchak/c-programming-homework/A/02/17/02_biggest_of_three.c | float get_biggest_of_three(float a, float b, float c)
{
if ((a > b) && (a > c))
{
return a;
}
else if ((b > a) && (b > c))
{
return b;
}
else
{
return c;
}
} | float get_biggest_of_three(floata, floatb, floatc) | float get_biggest_of_three(float a, float b, float c) | get_biggest_of_three | [
"float",
"float",
"float",
"float"
] | {
"code": [
".globl get_biggest_of_three\n.type get_biggest_of_three, @function\nget_biggest_of_three:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovss\t%xmm0, -4(%rbp)\n\tmovss\t%xmm1, -8(%rbp)\n\tmovss\t%x... | null | #include <stdio.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"78.5419161647",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_557tua9d29.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["a", "b", "c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "get_biggest_of_three", "funargs": ["a", "b", "c"], "typemap": {"a": "float32", "b": "float32", "c": "float32", "returnv": "float32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_557tua9d29.c"], "classmap": {}, "ra... |
hanlin-he/UTD/leetcode/c/003.c | int lengthOfLongestSubstring(char* s) {
int max = 0;
int hashtable[127] = {0};
int i = 0;
int j = 0;
while (s[j] != '\0') {
if (hashtable[s[j]] >= i + 1)
i = hashtable[s[j]];
hashtable[s[j]] = j + 1;
max = max < j - i + 1 ? j - i + 1: max;
j++;
}
r... | int lengthOfLongestSubstring(char *s) | int lengthOfLongestSubstring(char* s) | lengthOfLongestSubstring | [
"int",
"char *"
] | {
"code": [
".globl lengthOfLongestSubstring\n.type lengthOfLongestSubstring, @function\nlengthOfLongestSubstring:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$560, %rsp\n\tmovq\t%rdi, -552(%rbp)\n\tmov... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"aqmwskncsrzhntyygbai... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_64v5p3swkz.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["s"], "liveout": ["s"], "returnvarname": ["returnv"], "execcmd": "", "funname": "lengthOfLongestSubstring", "funargs": ["s"], "typemap": {"s": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_64v5p3swkz.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
88888yl/unix/ipc/logger.c | char *logger_get_level_name(int level)
{
switch( level ) {
case 0:
return "NOTICE";
case 1:
return "WARNIN";
case 2:
return "DEBUGG";
case 3:
return "ERRORR";
case 4:
return "VERBOS";
default:
return "UNKNOW";
... | char * logger_get_level_name(intlevel) | char *logger_get_level_name(int level) | logger_get_level_name | [
"char *",
"int"
] | {
"code": [
".globl logger_get_level_name\n.type logger_get_level_name, @function\nlogger_get_level_name:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tcmpl\t$4, -4(%rbp)\n\tja\t.L2\n\tm... | null | #include <stdio.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
#include <stdlib.h>
#include <syslog.h>
#include <stdarg.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <... | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"38"
],
"va... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_512z4r11s0.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["level"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "logger_get_level_name", "funargs": ["level"], "typemap": {"level": "int32", "returnv": "string"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_512z4r11s0.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
TheArbiter/Computing1/doomsday.c | int dayOfWeek (int doomsday, int leapYear, int month, int day) {
int dayOfWeek = 0;
int dateOfDoomsday = 0;
if (month == 1 && leapYear == 1) {
dateOfDoomsday=4;
}else if (month == 1 && leapYear == 0) {
dateOfDoomsday=3;
}else if (month == 2 && leapYear == 1) {
dateOfDoomsday=29;
}else if (month == 2 && ... | int dayOfWeek(intdoomsday, intleapYear, intmonth, intday) | int dayOfWeek (int doomsday, int leapYear, int month, int day) | dayOfWeek | [
"int",
"int",
"int",
"int",
"int"
] | {
"code": [
".globl dayOfWeek\n.type dayOfWeek, @function\ndayOfWeek:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t%esi, -24(%rbp)\n\tmovl\t%edx, -28(%rbp)\n\tmovl\t%ecx, -32(%rb... | null | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"124",
"117",
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_34f9aidant.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["doomsday", "leapYear", "month", "day"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "dayOfWeek", "funargs": ["doomsday", "leapYear", "month", "day"], "typemap": {"doomsday": "int32", "leapYear": "int32", "month": "int32", "day": "int32", "returnv": "int32"}, "required_includes": ... |
dcdelia/tinyvm/examples/opt/opt-old.c | int f(long* v, long n, long c) {
for (long i=0; i<n; i++)
if (v[i]>n/c*i) return 0;
return 1;
} | int f(long *v, longn, longc) | int f(long* v, long n, long c) | f | [
"int",
"long *",
"long",
"long"
] | {
"code": [
".globl f\n.type f, @function\nf:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovq\t%rdx, -40(%rbp)\n\tmovq\t$0, -8(%rbp)\n\tjmp\t.L2\n.L5:\n\tmov... | null |
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[108, 84, 75, 106, 103... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_50hccwd33f.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["v", "n", "c"], "liveout": ["v"], "returnvarname": ["returnv"], "execcmd": "", "funname": "f", "funargs": ["v", "n", "c"], "typemap": {"v": "array(int64#32)", "n": "int64", "c": "int64", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_50hccwd33f.c"], "classmap": {}, "range": {}, "nee... |
Reuben-Thorpe/Code.Eval/code.eval/01-hard/poker_hands/poker.hands.c | int min(int num_seq[5]) {
int min = num_seq[0];
for (int i = 1; i < 5; i++) {
if (num_seq[i] < min) min = num_seq[i];
}
return(min);
} | int min(int *num_seq) | int min(int num_seq[5]) | min | [
"int",
"int *"
] | {
"code": [
".globl min\n.type min, @function\nmin:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t-24(%rbp), %rax\n\tmovl\t(%rax), %eax\n\tmovl\t%eax, -8(%rbp)\n\tmovl\t$1, -4(%rb... | null | #include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdbool.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"[98, 74, 81, 69, 14]"
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_648le8wtp0.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["num_seq"], "liveout": ["num_seq"], "returnvarname": ["returnv"], "execcmd": "", "funname": "min", "funargs": ["num_seq"], "typemap": {"num_seq": "array(int32#5)", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_648le8wtp0.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals"... |
timmontague/euler-solutions/112/bouncy-numbers.c | bool is_bouncy(int n) {
bool up = false, down = false;
int lasti = n % 10;
n = n/10;
while(n) {
int i = n % 10;
n = n/10;
if (i > lasti)
up = true;
if (i < lasti)
down = true;
if (up && down)
return true;
lasti = i;
}
return false;
} | int is_bouncy(intn) | bool is_bouncy(int n) | is_bouncy | [
"int",
"int"
] | {
"code": [
".globl is_bouncy\n.type is_bouncy, @function\nis_bouncy:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t$0, -16(%rbp)\n\tmovl\t$0, -12(%rbp)\n\tmovl\t-20(%rbp), %edx\n... | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... | #include <stdio.h>
#include <stdbool.h>
# 1 | {
"dummy_funcs": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"dummy_funcs_seed": [
0,
0,
0,
0,
... | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"73"
],
"va... | extern "C" {
#include "/run/user/1000/pytmpfile_jordiws_3577744nsdvyb89.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
u... | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_35n69tvolt.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["n"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "is_bouncy", "funargs": ["n"], "typemap": {"n": "int32", "returnv": "bool"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_35n69tvolt.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
moiji-mobile/diag-parser/bit_func.c | int basic_sanitize(char *str)
{
if (!str)
return -1;
while (*str) {
switch (*str) {
case '\\':
case '\'':
case '`':
case '"':
case '%':
*str = ' ';
}
str++;
}
return 0;
} | int basic_sanitize(char *str) | int basic_sanitize(char *str) | basic_sanitize | [
"int",
"char *"
] | {
"code": [
".globl basic_sanitize\n.type basic_sanitize, @function\nbasic_sanitize:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tcmpq\t$0, -8(%rbp)\n\tjne\t.L4\n\tmovl\t$-1, %eax\n\tjm... | null | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"qcmgqribemia\""
... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_31r42enwas.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["str"], "liveout": ["str"], "returnvarname": ["returnv"], "execcmd": "", "funname": "basic_sanitize", "funargs": ["str"], "typemap": {"str": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_31r42enwas.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []} |
nicaraguabinary/lib-tlali-openstreetmap/src/tests/tests-main.c | float TLAString_toFloat(const char* string){
const char sign= (*string);
float value = 0;
if(sign=='-' || sign=='+') string++;
while((*string)!='\0' && (*string)!='.'){
value = (value * 10.0f) + ((*string) - 48.0f);
string++;
}
if((*string)=='.'){
float factorDivisor = 10.0f;
string++;
while((*string)... | float TLAString_toFloat(const char *string) | float TLAString_toFloat(const char* string) | TLAString_toFloat | [
"float",
"const char *"
] | {
"code": [
".globl TLAString_toFloat\n.type TLAString_toFloat, @function\nTLAString_toFloat:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t-24(%rbp), %rax\n\tmovzbl\t(%rax), %eax... | null | #include <stdio.h> //FILE*
#include <time.h> //clock_t, clock()
# 1 | null | {
"dummy_funcs": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"dummy_funcs_seed": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"input": [
{
"value": [
"\"\""
],
"... | null | extern "C" {
#include "/tmp/pytmpfile_2d0c40262005_56ov4y8877.c"
}
#include <vector>
#include <nlohmann/json.hpp>
#include <fstream>
#include <iomanip>
#include <clib/synthesizer.h>
#include <time.h>
#include <math.h>
#include <iostream>
char* output_file;
char* pre_accel_dump_file; // optional dump file.
using json ... | master | null | {"livein": ["string"], "liveout": ["string"], "returnvarname": ["returnv"], "execcmd": "", "funname": "TLAString_toFloat", "funargs": ["string"], "typemap": {"string": "string", "returnv": "float32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_56ov4y8877.c"], "classmap": {}, "range": {}, "needs_cast": {}, "glob... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.