id int64 0 79.7k | docstring_tokens listlengths 4 145 | code_tokens listlengths 5 27.3k | fun_name stringlengths 1 108 | repo stringclasses 778
values | partition stringclasses 3
values | opt_level stringclasses 15
values |
|---|---|---|---|---|---|---|
78,636 | [
"Run",
"the",
"given",
"brainfuck",
"string"
] | [
"'int",
"run_string",
"(",
"char",
"*",
"code",
")",
"{",
"BrainfuckState",
"*",
"state",
"=",
"brainfuck_state",
"()",
";",
"BrainfuckExecutionContext",
"*",
"context",
"=",
"brainfuck_context",
"(",
"BRAINFUCK_TAPE_SIZE",
")",
";",
"BrainfuckInstruction",
"*",
"... | run_string | fabianishere/brainfuck | valid | Os |
78,637 | [
"Run",
"the",
"given",
"brainfuck",
"file"
] | [
"'int",
"run_file",
"(",
"FILE",
"*",
"file",
")",
"{",
"BrainfuckState",
"*",
"state",
"=",
"brainfuck_state",
"()",
";",
"BrainfuckExecutionContext",
"*",
"context",
"=",
"brainfuck_context",
"(",
"BRAINFUCK_TAPE_SIZE",
")",
";",
"if",
"(",
"file",
"==",
"NU... | run_file | fabianishere/brainfuck | valid | Os |
78,638 | [
"API",
"function",
"manipulating",
"'table_flags'"
] | [
"'unsigned",
"int",
"ENGINE_get_table_flags",
"(",
"void",
")",
"{",
"return",
"table_flags",
";",
"}'"
] | ENGINE_get_table_flags | rbsec/sslscan | valid | O3 |
78,643 | [
"a",
"simple",
"log",
"function,",
"works",
"similar",
"to",
"printf"
] | [
"'void",
"glog",
"(",
"const",
"char",
"*",
"format",
",",
"...",
")",
"{",
"va_list",
"args",
";",
"//",
"argument",
"list",
"static",
"FILE",
"*",
"logfile",
"=",
"NULL",
";",
"//",
"file",
"pointer",
"to",
"the",
"logfile",
"char",
"*",
"fformat",
... | glog | mogria/msnake | valid | Os |
78,668 | [
"32point",
"inverse",
"transform",
"(32",
"rows)"
] | [
"'static",
"void",
"InvTransform32_SSE2",
"(",
"EB_S16",
"*",
"src",
",",
"EB_U32",
"src_stride",
",",
"EB_S16",
"*",
"dst",
",",
"EB_U32",
"dst_stride",
",",
"EB_U32",
"shift",
")",
"{",
"EB_U32",
"i",
";",
"__m128i",
"s0",
"=",
"_mm_cvtsi32_si128",
"(",
... | InvTransform32_SSE2 | OpenVisualCloud/SVT-HEVC | valid | Og |
78,669 | [
"transpose",
"16x16",
"block",
"of",
"data"
] | [
"'static",
"void",
"Transpose16",
"(",
"EB_S16",
"*",
"src",
",",
"EB_U32",
"src_stride",
",",
"EB_S16",
"*",
"dst",
",",
"EB_U32",
"dst_stride",
")",
"{",
"int",
"i",
",",
"<type",
"ref=\"prev\"/>",
"j",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<"... | Transpose16 | OpenVisualCloud/SVT-HEVC | valid | Og |
78,696 | [
"Add",
"BB",
"to",
"cluster",
"C"
] | [
"'static",
"void",
"add_bb_to_cluster",
"(",
"bb_cluster",
"*",
"c",
",",
"basic_block",
"bb",
")",
"{",
"edge",
"e",
";",
"edge_iterator",
"ei",
";",
"bitmap_set_bit",
"(",
"c",
"->",
"bbs",
",",
"bb",
"->",
"index",
")",
";",
"FOR_EACH_EDGE",
"(",
"e",... | add_bb_to_cluster | KevinOConnor/klipper | valid | Os |
78,697 | [
"Return",
"true",
"if",
"gimple",
"operands",
"T1",
"and",
"T2",
"have",
"the",
"same",
"value"
] | [
"'static",
"bool",
"gimple_operand_equal_value_p",
"(",
"tree",
"t1",
",",
"tree",
"t2",
")",
"{",
"if",
"(",
"t1",
"==",
"t2",
")",
"return",
"true",
";",
"if",
"(",
"t1",
"==",
"NULL_TREE",
"||",
"t2",
"==",
"NULL_TREE",
")",
"return",
"false",
";",
... | gimple_operand_equal_value_p | KevinOConnor/klipper | valid | Os |
78,698 | [
"Adds",
"SAME",
"to",
"worklist"
] | [
"'static",
"void",
"add_to_worklist",
"(",
"same_succ",
"*",
"same",
")",
"{",
"if",
"(",
"same",
"->",
"in_worklist",
")",
"return",
";",
"if",
"(",
"bitmap_count_bits",
"(",
"same",
"->",
"bbs",
")",
"<",
"2",
")",
"return",
";",
"same",
"->",
"in_wo... | add_to_worklist | KevinOConnor/klipper | valid | Os |
78,699 | [
"Alloc",
"and",
"init",
"a",
"new",
"SAME_SUCC"
] | [
"'same_succ",
"*",
"same_succ_alloc",
"(",
"void",
")",
"{",
"same_succ",
"*",
"same",
"=",
"XNEW",
"(",
"struct",
"same_succ",
")",
";",
"same",
"->",
"bbs",
"=",
"BITMAP_ALLOC",
"(",
"NULL",
")",
";",
"same",
"->",
"succs",
"=",
"BITMAP_ALLOC",
"(",
... | same_succ_alloc | KevinOConnor/klipper | valid | Os |
78,700 | [
"Let",
"GSI",
"skip",
"forwards",
"over",
"local",
"defs"
] | [
"'static",
"void",
"gsi_advance_fw_nondebug_nonlocal",
"(",
"gimple_stmt_iterator",
"*",
"gsi",
")",
"{",
"gimple",
"*",
"stmt",
";",
"while",
"(",
"true",
")",
"{",
"if",
"(",
"gsi_end_p",
"(",
"*",
"gsi",
")",
")",
"return",
";",
"stmt",
"=",
"gsi_stmt",... | gsi_advance_fw_nondebug_nonlocal | KevinOConnor/klipper | valid | Os |
78,701 | [
"Removes",
"BB",
"from",
"its",
"corresponding",
"same_succ"
] | [
"'static",
"void",
"same_succ_flush_bb",
"(",
"basic_block",
"bb",
")",
"{",
"same_succ",
"*",
"same",
"=",
"BB_SAME_SUCC",
"(",
"bb",
")",
";",
"if",
"(",
"!",
"same",
")",
"return",
";",
"BB_SAME_SUCC",
"(",
"bb",
")",
"=",
"NULL",
";",
"if",
"(",
... | same_succ_flush_bb | KevinOConnor/klipper | valid | Os |
78,702 | [
"Returns",
"the",
"vop",
"phi",
"of",
"BB,",
"if",
"any"
] | [
"'static",
"gphi",
"*",
"vop_phi",
"(",
"basic_block",
"bb",
")",
"{",
"gphi",
"*",
"stmt",
";",
"gphi_iterator",
"gsi",
";",
"for",
"(",
"gsi",
"=",
"gsi_start_phis",
"(",
"bb",
")",
";",
"!",
"gsi_end_p",
"(",
"gsi",
")",
";",
"gsi_next",
"(",
"&",... | vop_phi | KevinOConnor/klipper | valid | Os |
78,703 | [
"Update",
"C>rep_bb,",
"given",
"that",
"BB",
"is",
"added",
"to",
"the",
"cluster"
] | [
"'static",
"void",
"update_rep_bb",
"(",
"bb_cluster",
"*",
"c",
",",
"basic_block",
"bb",
")",
"{",
"/*",
"Initial.",
"*/",
"if",
"(",
"c",
"->",
"rep_bb",
"==",
"NULL",
")",
"{",
"c",
"->",
"rep_bb",
"=",
"bb",
";",
"return",
";",
"}",
"/*",
"Cur... | update_rep_bb | KevinOConnor/klipper | valid | Os |
78,704 | [
"Prints",
"E",
"to",
"FILE"
] | [
"'static",
"void",
"same_succ_print",
"(",
"FILE",
"*",
"file",
",",
"const",
"same_succ",
"*",
"e",
")",
"{",
"unsigned",
"int",
"i",
";",
"bitmap_print",
"(",
"file",
",",
"e",
"->",
"bbs",
",",
"\"bbs:\"",
",",
"\"\\\"",
")",
";",
"bitmap_print",
"(... | same_succ_print | KevinOConnor/klipper | valid | Os |
78,705 | [
"Runs",
"tail",
"merge",
"optimization"
] | [
"'unsigned",
"int",
"tail_merge_optimize",
"(",
"unsigned",
"int",
"todo",
")",
"{",
"int",
"nr_bbs_removed_total",
"=",
"0",
";",
"int",
"nr_bbs_removed",
";",
"bool",
"loop_entered",
"=",
"false",
";",
"int",
"iteration_nr",
"=",
"0",
";",
"int",
"max_iterat... | tail_merge_optimize | KevinOConnor/klipper | valid | Os |
78,706 | [
"Return",
"true",
"if",
"BB",
"has",
"nonvop",
"phis"
] | [
"'static",
"bool",
"bb_has_non_vop_phi",
"(",
"basic_block",
"bb",
")",
"{",
"gimple_seq",
"phis",
"=",
"phi_nodes",
"(",
"bb",
")",
";",
"gimple",
"*",
"phi",
";",
"if",
"(",
"phis",
"==",
"NULL",
")",
"return",
"false",
";",
"if",
"(",
"!",
"gimple_s... | bb_has_non_vop_phi | KevinOConnor/klipper | valid | Os |
78,727 | [
"Wrapper",
"around",
"simplify_gen_subreg",
"which",
"handles",
"CONCATN"
] | [
"\"static",
"rtx",
"simplify_gen_subreg_concatn",
"(",
"machine_mode",
"outermode",
",",
"rtx",
"op",
",",
"machine_mode",
"innermode",
",",
"unsigned",
"int",
"byte",
")",
"{",
"rtx",
"ret",
";",
"/*",
"We",
"have",
"to",
"handle",
"generating",
"a",
"SUBREG"... | simplify_gen_subreg_concatn | KevinOConnor/klipper | valid | Os |
78,728 | [
"Get",
"a",
"SUBREG",
"of",
"a",
"CONCATN"
] | [
"'static",
"rtx",
"simplify_subreg_concatn",
"(",
"machine_mode",
"outermode",
",",
"rtx",
"op",
",",
"poly_uint64",
"orig_byte",
")",
"{",
"unsigned",
"int",
"outer_size",
",",
"<type",
"ref=\"prev\"/>",
"outer_words",
",",
"<type",
"ref=\"prev\"/>",
"inner_size",
... | simplify_subreg_concatn | KevinOConnor/klipper | valid | Os |
78,729 | [
"Return",
"whether",
"X",
"can",
"be",
"decomposed",
"into",
"subwords"
] | [
"'static",
"bool",
"can_decompose_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"REG_P",
"(",
"x",
")",
")",
"{",
"unsigned",
"int",
"regno",
"=",
"REGNO",
"(",
"x",
")",
";",
"if",
"(",
"HARD_REGISTER_NUM_P",
"(",
"regno",
")",
")",
"{",
"unsigned",
"... | can_decompose_p | KevinOConnor/klipper | valid | Os |
78,730 | [
"Look",
"for",
"SUBREGs",
"in",
"LOC",
"which",
"need",
"to",
"be",
"decomposed"
] | [
"'static",
"bool",
"resolve_subreg_use",
"(",
"rtx",
"*",
"loc",
",",
"rtx",
"insn",
")",
"{",
"subrtx_ptr_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX_PTR",
"(",
"iter",
",",
"array",
",",
"loc",
",",
"NONCONST",
")",
"{",
"rtx",
"*",
"lo... | resolve_subreg_use | KevinOConnor/klipper | valid | Os |
78,781 | [
"Check",
"if",
"a",
"specific",
"string",
"is",
"numeric",
"(like",
"\"129544\")"
] | [
"\"int",
"OS_StrIsNum",
"(",
"const",
"char",
"*",
"str",
")",
"{",
"if",
"(",
"str",
"==",
"NULL",
")",
"{",
"return",
"(",
"FALSE",
")",
";",
"}",
"while",
"(",
"*",
"str",
"!=",
"'\\\\0'",
")",
"{",
"if",
"(",
"!",
"_IsD",
"(",
"*",
"str",
... | OS_StrIsNum | ossec/ossec-hids | valid | Oa |
78,782 | [
"Return",
"the",
"number",
"of",
"characters",
"that",
"both",
"strings",
"have",
"in",
"common"
] | [
"\"size_t",
"OS_StrHowClosedMatch",
"(",
"const",
"char",
"*",
"str1",
",",
"const",
"char",
"*",
"str2",
")",
"{",
"size_t",
"count",
"=",
"0",
";",
"/*",
"They",
"don't",
"match",
"if",
"any",
"of",
"them",
"is",
"null",
"*/",
"if",
"(",
"!",
"str1... | OS_StrHowClosedMatch | ossec/ossec-hids | valid | Oa |
78,783 | [
"Convert",
"Eventinfo",
"to",
"json"
] | [
"'char",
"*",
"Eventinfo_to_jsonstr",
"(",
"const",
"Eventinfo",
"*",
"lf",
")",
"{",
"cJSON",
"*",
"root",
";",
"cJSON",
"*",
"rule",
";",
"cJSON",
"*",
"file_diff",
";",
"char",
"*",
"out",
";",
"int",
"i",
";",
"extern",
"long",
"int",
"__crt_ftell"... | Eventinfo_to_jsonstr | ossec/ossec-hids | valid | Oa |
78,784 | [
"Convert",
"Archiveinfo",
"to",
"json"
] | [
"'char",
"*",
"Archiveinfo_to_jsonstr",
"(",
"const",
"Eventinfo",
"*",
"lf",
")",
"{",
"cJSON",
"*",
"root",
";",
"char",
"*",
"out",
";",
"int",
"i",
";",
"root",
"=",
"cJSON_CreateObject",
"()",
";",
"if",
"(",
"lf",
"->",
"program_name",
")",
"cJSO... | Archiveinfo_to_jsonstr | ossec/ossec-hids | valid | Oa |
78,825 | [
"Produce",
"a",
"warning",
"for",
"each",
"option",
"previously",
"buffered"
] | [
"'void",
"print_ignored_options",
"(",
"void",
")",
"{",
"while",
"(",
"!",
"ignored_options",
".",
"is_empty",
"()",
")",
"{",
"const",
"char",
"*",
"opt",
";",
"opt",
"=",
"ignored_options",
".",
"pop",
"()",
";",
"warning_at",
"(",
"UNKNOWN_LOCATION",
"... | print_ignored_options | KevinOConnor/klipper | valid | Os |
78,826 | [
"Initialize",
"global",
"optionsrelated",
"settings",
"at",
"startup"
] | [
"'void",
"init_options_once",
"(",
"void",
")",
"{",
"/*",
"Perform",
"language-specific",
"options",
"initialization.",
"*/",
"initial_lang_mask",
"=",
"lang_hooks",
".",
"option_lang_mask",
"()",
";",
"lang_hooks",
".",
"initialize_diagnostics",
"(",
"global_dc",
")... | init_options_once | KevinOConnor/klipper | valid | Os |
78,827 | [
"Return",
"a",
"malloced",
"slashseparated",
"list",
"of",
"languages",
"in",
"MASK"
] | [
"'char",
"*",
"write_langs",
"(",
"unsigned",
"int",
"mask",
")",
"{",
"unsigned",
"int",
"n",
"=",
"0",
",",
"<type",
"ref=\"prev\"/>",
"len",
"=",
"0",
";",
"const",
"char",
"*",
"lang_name",
";",
"char",
"*",
"result",
";",
"for",
"(",
"n",
"=",
... | write_langs | KevinOConnor/klipper | valid | Os |
78,895 | [
"Free",
"the",
"saved",
"stab",
"strings"
] | [
"'static",
"void",
"free_saved_stabs",
"(",
"void",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"SAVE_STABS_COUNT",
";",
"i",
"++",
")",
"{",
"if",
"(",
"saved_stabs",
"[",
"i",
"]",
".",
"string",
"!=",
"NULL",
")",
"{",... | free_saved_stabs | KevinOConnor/klipper | valid | Os |
78,896 | [
"Provide",
"context",
"for",
"an",
"error"
] | [
"'static",
"void",
"stab_context",
"(",
"void",
")",
"{",
"int",
"i",
";",
"fprintf",
"(",
"stderr",
",",
"_",
"(",
"\"Last",
"stabs",
"entries",
"before",
"error:\\\"",
")",
")",
";",
"fprintf",
"(",
"stderr",
",",
"\"n_type",
"n_desc",
"n_value",
"stri... | stab_context | KevinOConnor/klipper | valid | Os |
78,898 | [
"the",
"stable",
"insertion",
"sort"
] | [
"'void",
"ngx_queue_sort",
"(",
"ngx_queue_t",
"*",
"queue",
",",
"ngx_int_t",
"(",
"*",
"cmp",
")",
"(",
"const",
"ngx_queue_t",
"*",
",",
"const",
"ngx_queue_t",
"*",
")",
")",
"{",
"ngx_queue_t",
"*",
"q",
",",
"<type",
"ref=\"prev\">",
"*",
"prev",
"... | ngx_queue_sort | ZigzagAK/ngx_zookeeper_lua | valid | Oa |
78,922 | [
"Log",
"statistical",
"informantion",
"about",
"the",
"use",
"of",
"this",
"module"
] | [
"'void",
"_gcry_rndjent_dump_stats",
"(",
"void",
")",
"{",
"/*",
"In",
"theory",
"we",
"would",
"need",
"to",
"lock",
"the",
"stats",
"here.",
"However",
"this",
"*",
"function",
"is",
"usually",
"called",
"during",
"cleanup",
"and",
"then",
"we",
"_might_"... | _gcry_rndjent_dump_stats | LLNL/STAT | valid | O2 |
78,923 | [
"read",
"an",
"X",
"event"
] | [
"'void",
"ReadXServer",
"(",
"void",
")",
"{",
"static",
"XEvent",
"event",
";",
"int",
"keypress",
";",
"Item",
"*",
"item",
",",
"<type",
"ref=\"prev\">",
"*",
"old_item",
";",
"KeySym",
"ks",
";",
"char",
"*",
"sp",
",",
"<type",
"ref=\"prev\">",
"*",... | ReadXServer | fvwmorg/fvwm | valid | O1 |
78,941 | [
"Entry",
"point:",
"Take",
"whatever",
"voting",
"actions",
"are",
"pending",
"as",
"of",
"<b>now<",
"b>"
] | [
"'void",
"dirvote_act",
"(",
"const",
"or_options_t",
"*",
"options",
",",
"time_t",
"now",
")",
"{",
"if",
"(",
"!",
"authdir_mode_v3",
"(",
"options",
")",
")",
"return",
";",
"if",
"(",
"!",
"voting_schedule",
".",
"voting_starts",
")",
"{",
"char",
"... | dirvote_act | carsenk/denarius | valid | O2 |
78,942 | [
"Drop",
"all",
"currently",
"pending",
"votes,",
"consensus,",
"and",
"detached",
"signatures"
] | [
"'static",
"void",
"dirvote_clear_votes",
"(",
"int",
"all_votes",
")",
"{",
"if",
"(",
"!",
"previous_vote_list",
")",
"previous_vote_list",
"=",
"smartlist_new",
"()",
";",
"if",
"(",
"!",
"pending_vote_list",
")",
"pending_vote_list",
"=",
"smartlist_new",
"()"... | dirvote_clear_votes | carsenk/denarius | valid | O2 |
78,943 | [
"Using",
"the",
"time",
"<b>now<",
"b>,",
"return",
"the",
"next",
"voting",
"validafter",
"time"
] | [
"'time_t",
"get_next_valid_after_time",
"(",
"time_t",
"now",
")",
"{",
"time_t",
"next_valid_after_time",
";",
"const",
"or_options_t",
"*",
"options",
"=",
"get_options",
"()",
";",
"voting_schedule_t",
"*",
"new_voting_schedule",
"=",
"get_voting_schedule",
"(",
"o... | get_next_valid_after_time | carsenk/denarius | valid | O2 |
78,944 | [
"Release",
"all",
"static",
"storage",
"held",
"in",
"dirvote"
] | [
"'void",
"dirvote_free_all",
"(",
"void",
")",
"{",
"dirvote_clear_votes",
"(",
"1",
")",
";",
"/*",
"now",
"empty",
"as",
"a",
"result",
"of",
"dirvote_clear_votes().",
"*/",
"smartlist_free",
"(",
"pending_vote_list",
")",
";",
"pending_vote_list",
"=",
"NULL"... | dirvote_free_all | carsenk/denarius | valid | O2 |
78,945 | [
"Helper",
"for",
"sorting",
"OR",
"ports"
] | [
"'static",
"int",
"compare_orports_",
"(",
"const",
"void",
"*",
"*",
"_a",
",",
"const",
"void",
"*",
"*",
"_b",
")",
"{",
"const",
"tor_addr_port_t",
"*",
"a",
"=",
"*",
"_a",
",",
"<type",
"ref=\"prev\">",
"*",
"b",
"=",
"*",
"_b",
";",
"int",
"... | compare_orports_ | carsenk/denarius | valid | O2 |
78,946 | [
"Release",
"all",
"storage",
"held",
"in",
"<b>s<",
"b>"
] | [
"'void",
"ns_detached_signatures_free",
"(",
"ns_detached_signatures_t",
"*",
"s",
")",
"{",
"if",
"(",
"!",
"s",
")",
"return",
";",
"if",
"(",
"s",
"->",
"signatures",
")",
"{",
"STRMAP_FOREACH",
"(",
"s->signatures",
",",
"flavor",
",",
"smartlist_t",
"*"... | ns_detached_signatures_free | carsenk/denarius | valid | O2 |
78,960 | [
"Frees",
"CT",
"log",
"and",
"associated",
"structures"
] | [
"'void",
"CTLOG_free",
"(",
"CTLOG",
"*",
"log",
")",
"{",
"if",
"(",
"log",
"!=",
"NULL",
")",
"{",
"OPENSSL_free",
"(",
"log",
"->",
"name",
")",
";",
"EVP_PKEY_free",
"(",
"log",
"->",
"public_key",
")",
";",
"OPENSSL_free",
"(",
"log",
")",
";",
... | CTLOG_free | rbsec/sslscan | valid | O3 |
78,979 | [
"Inject",
"X",
"into",
"the",
"local",
"scope",
"just",
"before",
"the",
"function",
"parms"
] | [
"'tree",
"pushdecl_outermost_localscope",
"(",
"tree",
"x",
")",
"{",
"cp_binding_level",
"*",
"b",
"=",
"NULL",
";",
"bool",
"subtime",
"=",
"timevar_cond_start",
"(",
"TV_NAME_LOOKUP",
")",
";",
"/*",
"Find",
"the",
"scope",
"just",
"inside",
"the",
"functio... | pushdecl_outermost_localscope | KevinOConnor/klipper | valid | Os |
78,980 | [
"External",
"entry",
"points",
"for",
"do_{push_to",
"pop_from}_top_level"
] | [
"'void",
"push_to_top_level",
"(",
"void",
")",
"{",
"bool",
"subtime",
"=",
"timevar_cond_start",
"(",
"TV_NAME_LOOKUP",
")",
";",
"do_push_to_top_level",
"()",
";",
"timevar_cond_stop",
"(",
"TV_NAME_LOOKUP",
",",
"subtime",
")",
";",
"}'"
] | push_to_top_level | KevinOConnor/klipper | valid | Os |
78,981 | [
"Return",
"true",
"if",
"ID",
"has",
"not",
"already",
"been",
"marked"
] | [
"'static",
"inline",
"bool",
"store_binding_p",
"(",
"tree",
"id",
")",
"{",
"if",
"(",
"!",
"id",
"||",
"!",
"IDENTIFIER_BINDING",
"(",
"id",
")",
")",
"return",
"false",
";",
"if",
"(",
"IDENTIFIER_MARKED",
"(",
"id",
")",
")",
"return",
"false",
";"... | store_binding_p | KevinOConnor/klipper | valid | Os |
78,982 | [
"Diagnose",
"a",
"name",
"conflict",
"between",
"DECL",
"and",
"BVAL"
] | [
"'static",
"void",
"diagnose_name_conflict",
"(",
"tree",
"decl",
",",
"tree",
"bval",
")",
"{",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"==",
"TREE_CODE",
"(",
"bval",
")",
"&&",
"TREE_CODE",
"(",
"decl",
")",
"!=",
"NAMESPACE_DECL",
"&&",
"!",
"DECL_... | diagnose_name_conflict | KevinOConnor/klipper | valid | Os |
78,983 | [
"Do",
"a",
"pushlevel",
"for",
"class",
"declarations"
] | [
"'void",
"pushlevel_class",
"(",
"void",
")",
"{",
"class_binding_level",
"=",
"begin_scope",
"(",
"sk_class",
",",
"current_class_type",
")",
";",
"}'"
] | pushlevel_class | KevinOConnor/klipper | valid | Os |
78,984 | [
"Return",
"the",
"type",
"associated",
"with",
"ID"
] | [
"'static",
"tree",
"identifier_type_value_1",
"(",
"tree",
"id",
")",
"{",
"/*",
"There",
"is",
"no",
"type",
"with",
"that",
"name,",
"anywhere.",
"*/",
"if",
"(",
"REAL_IDENTIFIER_TYPE_VALUE",
"(",
"id",
")",
"==",
"NULL_TREE",
")",
"return",
"NULL_TREE",
... | identifier_type_value_1 | KevinOConnor/klipper | valid | Os |
78,985 | [
"Pushes",
"X",
"into",
"the",
"global",
"namespace"
] | [
"'tree",
"pushdecl_top_level",
"(",
"tree",
"x",
",",
"bool",
"is_friend",
")",
"{",
"bool",
"subtime",
"=",
"timevar_cond_start",
"(",
"TV_NAME_LOOKUP",
")",
";",
"do_push_to_top_level",
"()",
";",
"x",
"=",
"pushdecl_namespace_level",
"(",
"x",
",",
"is_friend... | pushdecl_top_level | KevinOConnor/klipper | valid | Os |
78,986 | [
"Temporarily",
"set",
"the",
"namespace",
"for",
"the",
"current",
"declaration"
] | [
"'void",
"push_decl_namespace",
"(",
"tree",
"decl",
")",
"{",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"!=",
"NAMESPACE_DECL",
")",
"decl",
"=",
"decl_namespace_context",
"(",
"decl",
")",
";",
"vec_safe_push",
"(",
"decl_namespace_list",
",",
"ORIGINAL_NAMESP... | push_decl_namespace | KevinOConnor/klipper | valid | Os |
78,987 | [
"Return",
"true",
"if",
"we",
"are",
"in",
"the",
"global",
"binding",
"level"
] | [
"'bool",
"global_bindings_p",
"(",
"void",
")",
"{",
"return",
"global_scope_p",
"(",
"current_binding_level",
")",
";",
"}'"
] | global_bindings_p | KevinOConnor/klipper | valid | Os |
78,988 | [
"Process",
"a",
"functionscope",
"usingdirective"
] | [
"'void",
"finish_local_using_directive",
"(",
"tree",
"target",
",",
"tree",
"attribs",
")",
"{",
"gcc_checking_assert",
"(",
"local_bindings_p",
"()",
")",
";",
"if",
"(",
"target",
"==",
"error_mark_node",
")",
"return",
";",
"if",
"(",
"attribs",
")",
"warn... | finish_local_using_directive | KevinOConnor/klipper | valid | Os |
78,989 | [
"External",
"entry",
"points",
"for",
"do_{push,pop}_nested_namespace"
] | [
"'void",
"push_nested_namespace",
"(",
"tree",
"ns",
")",
"{",
"bool",
"subtime",
"=",
"timevar_cond_start",
"(",
"TV_NAME_LOOKUP",
")",
";",
"do_push_nested_namespace",
"(",
"ns",
")",
";",
"timevar_cond_stop",
"(",
"TV_NAME_LOOKUP",
",",
"subtime",
")",
";",
"... | push_nested_namespace | KevinOConnor/klipper | valid | Os |
78,990 | [
"True",
"if",
"the",
"current",
"level",
"needs",
"to",
"have",
"a",
"BLOCK",
"made"
] | [
"'bool",
"kept_level_p",
"(",
"void",
")",
"{",
"return",
"(",
"current_binding_level",
"->",
"blocks",
"!=",
"NULL_TREE",
"||",
"current_binding_level",
"->",
"keep",
"||",
"current_binding_level",
"->",
"kind",
"==",
"sk_cleanup",
"||",
"current_binding_level",
"-... | kept_level_p | KevinOConnor/klipper | valid | Os |
78,991 | [
"Insert",
"lately",
"defined",
"enum",
"ENUMTYPE",
"into",
"KLASS",
"for",
"the",
"sorted",
"case"
] | [
"'void",
"insert_late_enum_def_bindings",
"(",
"tree",
"klass",
",",
"tree",
"enumtype",
")",
"{",
"int",
"n_fields",
";",
"vec",
"<argument_list",
"type=\"generic\">",
"<",
"tree",
",",
"va_gc",
">",
"*",
"member_vec",
"=",
"CLASSTYPE_MEMBER_VEC",
"(",
"klass",
... | insert_late_enum_def_bindings | KevinOConnor/klipper | valid | Os |
78,992 | [
"Add",
"DECL",
"to",
"the",
"list",
"of",
"things",
"declared",
"in",
"B"
] | [
"\"static",
"void",
"add_decl_to_level",
"(",
"cp_binding_level",
"*",
"b",
",",
"tree",
"decl",
")",
"{",
"gcc_assert",
"(",
"b",
"->",
"kind",
"!=",
"sk_class",
")",
";",
"/*",
"Make",
"sure",
"we",
"don't",
"create",
"a",
"circular",
"list.",
"xref_tag"... | add_decl_to_level | KevinOConnor/klipper | valid | Os |
78,993 | [
"Enter",
"the",
"namespaces",
"from",
"current_namerspace",
"to",
"NS"
] | [
"'static",
"int",
"push_inline_namespaces",
"(",
"tree",
"ns",
")",
"{",
"int",
"count",
"=",
"0",
";",
"if",
"(",
"ns",
"!=",
"current_namespace",
")",
"{",
"gcc_assert",
"(",
"ns",
"!=",
"global_namespace",
")",
";",
"count",
"+=",
"push_inline_namespaces"... | push_inline_namespaces | KevinOConnor/klipper | valid | Os |
78,994 | [
"(GC)allocate",
"a",
"binding",
"object",
"with",
"VALUE",
"and",
"TYPE",
"member",
"initialized"
] | [
"'static",
"cxx_binding",
"*",
"cxx_binding_make",
"(",
"tree",
"value",
",",
"tree",
"type",
")",
"{",
"cxx_binding",
"*",
"binding",
";",
"if",
"(",
"free_bindings",
")",
"{",
"binding",
"=",
"free_bindings",
";",
"free_bindings",
"=",
"binding",
"->",
"pr... | cxx_binding_make | KevinOConnor/klipper | valid | Os |
78,995 | [
"Process",
"a",
"namespacescope",
"using",
"directive"
] | [
"'void",
"finish_namespace_using_directive",
"(",
"tree",
"target",
",",
"tree",
"attribs",
")",
"{",
"gcc_checking_assert",
"(",
"namespace_bindings_p",
"()",
")",
";",
"if",
"(",
"target",
"==",
"error_mark_node",
")",
"return",
";",
"add_using_namespace",
"(",
... | finish_namespace_using_directive | KevinOConnor/klipper | valid | Os |
78,996 | [
"Make",
"the",
"declaration",
"of",
"X",
"appear",
"in",
"CLASS",
"scope"
] | [
"'bool",
"pushdecl_class_level",
"(",
"tree",
"x",
")",
"{",
"bool",
"is_valid",
"=",
"true",
";",
"bool",
"subtime",
";",
"/*",
"Do",
"nothing",
"if",
"we\\'re",
"adding",
"to",
"an",
"outer",
"lambda",
"closure",
"type,",
"outer_binding",
"will",
"add",
... | pushdecl_class_level | KevinOConnor/klipper | valid | Os |
78,997 | [
"Insert",
"SCOPE",
"as",
"the",
"innermost",
"binding",
"level"
] | [
"'void",
"push_binding_level",
"(",
"cp_binding_level",
"*",
"scope",
")",
"{",
"/*",
"Add",
"it",
"to",
"the",
"front",
"of",
"currently",
"active",
"scopes",
"stack.",
"*/",
"scope",
"->",
"level_chain",
"=",
"current_binding_level",
";",
"current_binding_level"... | push_binding_level | KevinOConnor/klipper | valid | Os |
78,998 | [
"True",
"if",
"the",
"innermost",
"nonclass",
"scope",
"is",
"a",
"block",
"scope"
] | [
"'bool",
"local_bindings_p",
"(",
"void",
")",
"{",
"cp_binding_level",
"*",
"b",
"=",
"innermost_nonclass_level",
"()",
";",
"return",
"b",
"->",
"kind",
"<",
"sk_function_parms",
"||",
"b",
"->",
"kind",
"==",
"sk_omp",
";",
"}'"
] | local_bindings_p | KevinOConnor/klipper | valid | Os |
78,999 | [
"Process",
"a",
"usingdeclaration",
"appearing",
"in",
"namespace",
"scope"
] | [
"'void",
"finish_namespace_using_decl",
"(",
"tree",
"decl",
",",
"tree",
"scope",
",",
"tree",
"name",
")",
"{",
"tree",
"orig_decl",
"=",
"decl",
";",
"gcc_checking_assert",
"(",
"current_binding_level",
"->",
"kind",
"==",
"sk_namespace",
"&&",
"!",
"processi... | finish_namespace_using_decl | KevinOConnor/klipper | valid | Os |
79,000 | [
"Return",
"how",
"many",
"function",
"prototypes",
"we",
"are",
"currently",
"nested",
"inside"
] | [
"'int",
"function_parm_depth",
"(",
"void",
")",
"{",
"int",
"level",
"=",
"0",
";",
"cp_binding_level",
"*",
"b",
";",
"for",
"(",
"b",
"=",
"current_binding_level",
";",
"b",
"->",
"kind",
"==",
"sk_function_parms",
";",
"b",
"=",
"b",
"->",
"level_cha... | function_parm_depth | KevinOConnor/klipper | valid | Os |
79,001 | [
"Leave",
"scope",
"pushed",
"by",
"push_scope"
] | [
"'void",
"pop_scope",
"(",
"tree",
"t",
")",
"{",
"if",
"(",
"t",
"==",
"NULL_TREE",
")",
"return",
";",
"if",
"(",
"TREE_CODE",
"(",
"t",
")",
"==",
"NAMESPACE_DECL",
")",
"pop_decl_namespace",
"()",
";",
"<if",
"type=\"elseif\">",
"else",
"if",
"CLASS_... | pop_scope | KevinOConnor/klipper | valid | Os |
79,002 | [
"Process",
"a",
"namespacealias",
"declaration"
] | [
"'void",
"do_namespace_alias",
"(",
"tree",
"alias",
",",
"tree",
"name_space",
")",
"{",
"if",
"(",
"name_space",
"==",
"error_mark_node",
")",
"return",
";",
"gcc_assert",
"(",
"TREE_CODE",
"(",
"name_space",
")",
"==",
"NAMESPACE_DECL",
")",
";",
"name_spac... | do_namespace_alias | KevinOConnor/klipper | valid | Os |
79,003 | [
"Return",
"true",
"if",
"OVL",
"is",
"an",
"overload",
"for",
"an",
"anticipated",
"builtin"
] | [
"'static",
"bool",
"anticipated_builtin_p",
"(",
"tree",
"ovl",
")",
"{",
"if",
"(",
"TREE_CODE",
"(",
"ovl",
")",
"!=",
"OVERLOAD",
")",
"return",
"false",
";",
"if",
"(",
"!",
"OVL_HIDDEN_P",
"(",
"ovl",
")",
")",
"return",
"false",
";",
"tree",
"fn"... | anticipated_builtin_p | KevinOConnor/klipper | valid | Os |
79,004 | [
"Insert",
"a",
"binding",
"for",
"NAME",
"to",
"TYPE",
"into",
"TABLE"
] | [
"'static",
"void",
"binding_table_insert",
"(",
"binding_table",
"table",
",",
"tree",
"name",
",",
"tree",
"type",
")",
"{",
"const",
"unsigned",
"int",
"hash",
"=",
"IDENTIFIER_HASH_VALUE",
"(",
"name",
")",
";",
"const",
"size_t",
"i",
"=",
"ENTRY_INDEX",
... | binding_table_insert | KevinOConnor/klipper | valid | Os |
79,005 | [
"Exit",
"the",
"current",
"scope",
"INNER",
"back",
"to",
"scope",
"OUTER"
] | [
"'void",
"pop_inner_scope",
"(",
"tree",
"outer",
",",
"tree",
"inner",
")",
"{",
"if",
"(",
"outer",
"==",
"inner",
"||",
"(",
"TREE_CODE",
"(",
"inner",
")",
"!=",
"NAMESPACE_DECL",
"&&",
"!",
"CLASS_TYPE_P",
"(",
"inner",
")",
")",
")",
"return",
";... | pop_inner_scope | KevinOConnor/klipper | valid | Os |
79,006 | [
"Return",
"the",
"declarations",
"that",
"are",
"members",
"of",
"the",
"namespace",
"NS"
] | [
"'tree",
"cp_namespace_decls",
"(",
"tree",
"ns",
")",
"{",
"return",
"NAMESPACE_LEVEL",
"(",
"ns",
")",
"->",
"names",
";",
"}'"
] | cp_namespace_decls | KevinOConnor/klipper | valid | Os |
79,007 | [
"Apply",
"PROC",
"with",
"DATA",
"to",
"all",
"entries",
"in",
"TABLE"
] | [
"'void",
"binding_table_foreach",
"(",
"binding_table",
"table",
",",
"bt_foreach_proc",
"proc",
",",
"void",
"*",
"data",
")",
"{",
"size_t",
"chain_count",
";",
"size_t",
"i",
";",
"if",
"(",
"!",
"table",
")",
"return",
";",
"chain_count",
"=",
"table",
... | binding_table_foreach | KevinOConnor/klipper | valid | Os |
79,008 | [
"Find",
"the",
"binding",
"for",
"NAME",
"in",
"the",
"local",
"binding",
"level",
"B"
] | [
"'static",
"cxx_binding",
"*",
"find_local_binding",
"(",
"cp_binding_level",
"*",
"b",
",",
"tree",
"name",
")",
"{",
"if",
"(",
"cxx_binding",
"*",
"binding",
"=",
"IDENTIFIER_BINDING",
"(",
"name",
")",
")",
"for",
"(",
";",
";",
"b",
"=",
"b",
"->",
... | find_local_binding | KevinOConnor/klipper | valid | Os |
79,009 | [
"Return",
"the",
"binding_entry,",
"if",
"any,",
"that",
"maps",
"NAME"
] | [
"'binding_entry",
"binding_table_find",
"(",
"binding_table",
"table",
",",
"tree",
"name",
")",
"{",
"const",
"unsigned",
"int",
"hash",
"=",
"IDENTIFIER_HASH_VALUE",
"(",
"name",
")",
";",
"binding_entry",
"entry",
"=",
"table",
"->",
"chain",
"[",
"ENTRY_INDE... | binding_table_find | KevinOConnor/klipper | valid | Os |
79,010 | [
"Pop",
"from",
"the",
"scope",
"of",
"the",
"current",
"namespace"
] | [
"'void",
"pop_namespace",
"(",
"void",
")",
"{",
"bool",
"subtime",
"=",
"timevar_cond_start",
"(",
"TV_NAME_LOOKUP",
")",
";",
"gcc_assert",
"(",
"current_namespace",
"!=",
"global_namespace",
")",
";",
"current_namespace",
"=",
"CP_DECL_CONTEXT",
"(",
"current_nam... | pop_namespace | KevinOConnor/klipper | valid | Os |
79,011 | [
"Process",
"a",
"usingdeclaration",
"at",
"function",
"scope"
] | [
"'void",
"finish_local_using_decl",
"(",
"tree",
"decl",
",",
"tree",
"scope",
",",
"tree",
"name",
")",
"{",
"tree",
"orig_decl",
"=",
"decl",
";",
"gcc_checking_assert",
"(",
"current_binding_level",
"->",
"kind",
"!=",
"sk_class",
"&&",
"current_binding_level",... | finish_local_using_decl | KevinOConnor/klipper | valid | Os |
79,012 | [
"Resort",
"CLASSTYPE_MEMBER_VEC",
"because",
"pointers",
"have",
"been",
"reordered"
] | [
"'void",
"resort_type_member_vec",
"(",
"void",
"*",
"obj",
",",
"void",
"*",
"/*orig_obj*/",
",",
"gt_pointer_operator",
"new_value",
",",
"void",
"*",
"cookie",
")",
"{",
"if",
"(",
"vec",
"<argument_list",
"type=\"generic\">",
"<",
"tree",
",",
"va_gc",
">"... | resort_type_member_vec | KevinOConnor/klipper | valid | Os |
79,013 | [
"Return",
"the",
"list",
"of",
"declarations",
"of",
"the",
"current",
"local",
"scope"
] | [
"'tree",
"get_local_decls",
"(",
"void",
")",
"{",
"gcc_assert",
"(",
"current_binding_level",
"->",
"kind",
"!=",
"sk_namespace",
"&&",
"current_binding_level",
"->",
"kind",
"!=",
"sk_class",
")",
";",
"return",
"current_binding_level",
"->",
"names",
";",
"}'"
... | get_local_decls | KevinOConnor/klipper | valid | Os |
79,014 | [
"Returns",
"true",
"if",
"this",
"scope",
"was",
"created",
"to",
"store",
"template",
"parameters"
] | [
"'bool",
"template_parm_scope_p",
"(",
"void",
")",
"{",
"return",
"innermost_scope_kind",
"()",
"==",
"sk_template_parms",
";",
"}'"
] | template_parm_scope_p | KevinOConnor/klipper | valid | Os |
79,015 | [
"Checks",
"if",
"we",
"have",
"decrypted",
"unread",
"record",
"data",
"pending"
] | [
"'int",
"RECORD_LAYER_processed_read_pending",
"(",
"const",
"RECORD_LAYER",
"*",
"rl",
")",
"{",
"size_t",
"curr_rec",
"=",
"0",
",",
"<type",
"ref=\"prev\"/>",
"num_recs",
"=",
"RECORD_LAYER_get_numrpipes",
"(",
"rl",
")",
";",
"const",
"SSL3_RECORD",
"*",
"rr",... | RECORD_LAYER_processed_read_pending | rbsec/sslscan | valid | O3 |
79,016 | [
"Checks",
"if",
"we",
"have",
"unprocessed",
"read",
"ahead",
"data",
"pending"
] | [
"'int",
"RECORD_LAYER_read_pending",
"(",
"const",
"RECORD_LAYER",
"*",
"rl",
")",
"{",
"return",
"SSL3_BUFFER_get_left",
"(",
"&",
"rl",
"->",
"rbuf",
")",
"!=",
"0",
";",
"}'"
] | RECORD_LAYER_read_pending | rbsec/sslscan | valid | O3 |
79,017 | [
"Sept",
"2016:",
"returns",
"DW_DLV_OK",
"or",
"DW_DLV_ERROR"
] | [
"'int",
"_dwarf_pro_add_AT_macro_info",
"(",
"Dwarf_P_Debug",
"dbg",
",",
"Dwarf_P_Die",
"die",
",",
"Dwarf_Unsigned",
"offset",
",",
"Dwarf_Error",
"*",
"error",
")",
"{",
"Dwarf_P_Attribute",
"new_attr",
";",
"int",
"uwordb_size",
"=",
"dbg",
"->",
"de_offset_size... | _dwarf_pro_add_AT_macro_info | LLNL/STAT | valid | O2 |
79,018 | [
"don't",
"use",
"this",
"oneintended",
"for",
"nonblocking",
"send"
] | [
"'int",
"PeerNode_send",
"(",
"PeerNode_t",
"*",
"UNUSED",
"(",
"peer",
")",
",",
"/*const*/",
"Packet_t",
"*",
"UNUSED",
"(",
"ipacket",
")",
")",
"{",
"mrn_dbg",
"(",
"1",
",",
"mrn_printf",
"(",
"FLF",
",",
"stderr",
",",
"\"PeerNode_send",
"is",
"not... | PeerNode_send | LLNL/STAT | valid | O2 |
79,034 | [
"Generate",
"a",
"list",
"with",
"all",
"active",
"responses"
] | [
"'int",
"ReadActiveResponses",
"(",
"XML_NODE",
"node",
",",
"void",
"*",
"d1",
",",
"void",
"*",
"d2",
")",
"{",
"OSList",
"*",
"l1",
"=",
"(",
"OSList",
"*",
")",
"d1",
";",
"OSList",
"*",
"l2",
"=",
"(",
"OSList",
"*",
")",
"d2",
";",
"FILE",
... | ReadActiveResponses | ossec/ossec-hids | valid | Oa |
79,046 | [
"Clean",
"up",
"the",
"Dwarf_Obj_Access_Interface",
"returned",
"by",
"elf_access_init"
] | [
"'void",
"dwarf_elf_object_access_finish",
"(",
"Dwarf_Obj_Access_Interface",
"*",
"obj",
")",
"{",
"if",
"(",
"!",
"obj",
")",
"{",
"return",
";",
"}",
"if",
"(",
"obj",
"->",
"object",
")",
"{",
"dwarf_elf_object_access_internals_t",
"*",
"internals",
"=",
"... | dwarf_elf_object_access_finish | LLNL/STAT | valid | O2 |
79,088 | [
"Once",
"per",
"rd_kafka_t",
"handle",
"initialization",
"of",
"OpenSSL"
] | [
"'int",
"rd_kafka_ssl_ctx_init",
"(",
"rd_kafka_t",
"*",
"rk",
",",
"char",
"*",
"errstr",
",",
"size_t",
"errstr_size",
")",
"{",
"int",
"r",
";",
"SSL_CTX",
"*",
"ctx",
";",
"const",
"char",
"*",
"linking",
"=",
"#",
"if",
"WITH_STATIC_LIB_libcrypto",
"\... | rd_kafka_ssl_ctx_init | edenhill/kafkacat | valid | O2 |
79,089 | [
"Registers",
"certificates,",
"keys,",
"etc,",
"on",
"the",
"SSL_CTX"
] | [
"'static",
"int",
"rd_kafka_ssl_set_certs",
"(",
"rd_kafka_t",
"*",
"rk",
",",
"SSL_CTX",
"*",
"ctx",
",",
"char",
"*",
"errstr",
",",
"size_t",
"errstr_size",
")",
"{",
"rd_bool_t",
"check_pkey",
"=",
"rd_false",
";",
"int",
"r",
";",
"/*",
"*",
"ssl_ca,"... | rd_kafka_ssl_set_certs | edenhill/kafkacat | valid | O2 |
79,090 | [
"OpenSSL",
"callback",
"to",
"perform",
"additional",
"broker",
"certificate"
] | [
"'static",
"int",
"rd_kafka_transport_ssl_cert_verify_cb",
"(",
"int",
"preverify_ok",
",",
"X509_STORE_CTX",
"*",
"x509_ctx",
")",
"{",
"rd_kafka_transport_t",
"*",
"rktrans",
"=",
"rd_kafka_curr_transport",
";",
"rd_kafka_broker_t",
"*",
"rkb",
";",
"rd_kafka_t",
"*",... | rd_kafka_transport_ssl_cert_verify_cb | edenhill/kafkacat | valid | O2 |
79,091 | [
"Global",
"(once",
"per",
"process)",
"OpenSSL",
"init"
] | [
"'void",
"rd_kafka_ssl_init",
"(",
"void",
")",
"{",
"#",
"if",
"OPENSSL_VERSION_NUMBER",
"<",
"0x10100000L",
"int",
"i",
";",
"if",
"(",
"!",
"CRYPTO_get_locking_callback",
"()",
")",
"{",
"rd_kafka_ssl_locks_cnt",
"=",
"CRYPTO_num_locks",
"()",
";",
"rd_kafka_ss... | rd_kafka_ssl_init | edenhill/kafkacat | valid | O2 |
79,092 | [
"Set",
"up",
"SSL",
"for",
"a",
"newly",
"connected",
"connection"
] | [
"'int",
"rd_kafka_transport_ssl_connect",
"(",
"rd_kafka_broker_t",
"*",
"rkb",
",",
"rd_kafka_transport_t",
"*",
"rktrans",
",",
"char",
"*",
"errstr",
",",
"size_t",
"errstr_size",
")",
"{",
"int",
"r",
";",
"rktrans",
"->",
"rktrans_ssl",
"=",
"SSL_new",
"(",... | rd_kafka_transport_ssl_connect | edenhill/kafkacat | valid | O2 |
79,093 | [
"resize",
"hash",
"table;",
"new_size",
"must",
"be",
"a",
"power",
"of",
"2,",
"can",
"be",
"larger",
"or",
"smaller",
"than",
"current",
"size"
] | [
"'static",
"bool",
"hash_resize",
"(",
"zip_hash_t",
"*",
"hash",
",",
"zip_uint32_t",
"new_size",
",",
"zip_error_t",
"*",
"error",
")",
"{",
"zip_hash_entry_t",
"*",
"*",
"new_table",
";",
"if",
"(",
"new_size",
"==",
"hash",
"->",
"table_size",
")",
"{",
... | hash_resize | vitasdk/vita-toolchain | valid | Oa |
79,094 | [
"find",
"value",
"for",
"entry",
"in",
"hash,",
"1",
"if",
"not",
"found"
] | [
"'zip_int64_t",
"_zip_hash_lookup",
"(",
"zip_hash_t",
"*",
"hash",
",",
"const",
"zip_uint8_t",
"*",
"name",
",",
"zip_flags_t",
"flags",
",",
"zip_error_t",
"*",
"error",
")",
"{",
"zip_uint32_t",
"hash_value",
",",
"<type",
"ref=\"prev\"/>",
"index",
";",
"zi... | _zip_hash_lookup | vitasdk/vita-toolchain | valid | Oa |
79,095 | [
"compute",
"hash",
"of",
"string,",
"full",
"32",
"bit",
"value"
] | [
"'static",
"zip_uint32_t",
"hash_string",
"(",
"const",
"zip_uint8_t",
"*",
"name",
")",
"{",
"zip_uint64_t",
"value",
"=",
"HASH_START",
";",
"if",
"(",
"name",
"==",
"NULL",
")",
"{",
"return",
"0",
";",
"}",
"while",
"(",
"*",
"name",
"!=",
"0",
")"... | hash_string | vitasdk/vita-toolchain | valid | Oa |
79,096 | [
"insert",
"into",
"hash,",
"return",
"error",
"on",
"existence",
"or",
"memory",
"issues"
] | [
"'bool",
"_zip_hash_add",
"(",
"zip_hash_t",
"*",
"hash",
",",
"const",
"zip_uint8_t",
"*",
"name",
",",
"zip_uint64_t",
"index",
",",
"zip_flags_t",
"flags",
",",
"zip_error_t",
"*",
"error",
")",
"{",
"zip_uint32_t",
"hash_value",
",",
"<type",
"ref=\"prev\"/>... | _zip_hash_add | vitasdk/vita-toolchain | valid | Oa |
79,097 | [
"remove",
"entry",
"from",
"hash,",
"error",
"if",
"not",
"found"
] | [
"'bool",
"_zip_hash_delete",
"(",
"zip_hash_t",
"*",
"hash",
",",
"const",
"zip_uint8_t",
"*",
"name",
",",
"zip_error_t",
"*",
"error",
")",
"{",
"zip_uint32_t",
"hash_value",
",",
"<type",
"ref=\"prev\"/>",
"index",
";",
"zip_hash_entry_t",
"*",
"entry",
",",
... | _zip_hash_delete | vitasdk/vita-toolchain | valid | Oa |
79,098 | [
"free",
"list",
"of",
"entries"
] | [
"'static",
"void",
"free_list",
"(",
"zip_hash_entry_t",
"*",
"entry",
")",
"{",
"while",
"(",
"entry",
"!=",
"NULL",
")",
"{",
"zip_hash_entry_t",
"*",
"next",
"=",
"entry",
"->",
"next",
";",
"free",
"(",
"entry",
")",
";",
"entry",
"=",
"next",
";",... | free_list | vitasdk/vita-toolchain | valid | Oa |
79,102 | [
"geo",
"range",
"is",
"AF_INET",
"only"
] | [
"'static",
"ngx_int_t",
"ngx_http_geo_cidr_variable",
"(",
"ngx_http_request_t",
"*",
"r",
",",
"ngx_http_variable_value_t",
"*",
"v",
",",
"uintptr_t",
"data",
")",
"{",
"ngx_http_geo_ctx_t",
"*",
"ctx",
"=",
"(",
"ngx_http_geo_ctx_t",
"*",
")",
"data",
";",
"in_... | ngx_http_geo_cidr_variable | ZigzagAK/ngx_zookeeper_lua | valid | Oa |
79,121 | [
"Sockem",
"connect,",
"called",
"from",
"internal",
"librdkafka",
"thread",
"through"
] | [
"'static",
"int",
"connect_cb",
"(",
"struct",
"test",
"*",
"test",
",",
"sockem_t",
"*",
"skm",
",",
"const",
"char",
"*",
"id",
")",
"{",
"if",
"(",
"rd_atomic32_get",
"(",
"&",
"refuse_connect",
")",
">",
"0",
")",
"return",
"-",
"1",
";",
"else",... | connect_cb | edenhill/librdkafka | valid | O2 |
79,142 | [
"XOR",
"an",
"existing",
"buffer",
"with",
"random",
"data"
] | [
"'void",
"rand_hw_xor",
"(",
"unsigned",
"char",
"*",
"buf",
",",
"size_t",
"num",
")",
"{",
"return",
";",
"}'"
] | rand_hw_xor | guanzhi/GmSSL | valid | O1 |
79,143 | [
"Parse",
"#pragma",
"GCC",
"target",
"(xxx)",
"to",
"set",
"target",
"specific",
"options"
] | [
"'static",
"void",
"handle_pragma_target",
"(",
"cpp_reader",
"*",
"ARG_UNUSED",
"(",
"dummy",
")",
")",
"{",
"enum",
"cpp_ttype",
"token",
";",
"tree",
"x",
";",
"bool",
"close_paren_needed_p",
"=",
"false",
";",
"if",
"(",
"cfun",
")",
"{",
"error",
"(",... | handle_pragma_target | KevinOConnor/klipper | valid | Os |
79,144 | [
"Handle",
"#pragma",
"GCC",
"optimize",
"to",
"set",
"optimization",
"options"
] | [
"'static",
"void",
"handle_pragma_optimize",
"(",
"cpp_reader",
"*",
"ARG_UNUSED",
"(",
"dummy",
")",
")",
"{",
"enum",
"cpp_ttype",
"token",
";",
"tree",
"x",
";",
"bool",
"close_paren_needed_p",
"=",
"false",
";",
"tree",
"optimization_previous_node",
"=",
"op... | handle_pragma_optimize | KevinOConnor/klipper | valid | Os |
79,145 | [
"#pragma",
"weak",
"name",
"[",
"value]"
] | [
"'static",
"void",
"handle_pragma_weak",
"(",
"cpp_reader",
"*",
"ARG_UNUSED",
"(",
"dummy",
")",
")",
"{",
"tree",
"name",
",",
"<type",
"ref=\"prev\"/>",
"value",
",",
"<type",
"ref=\"prev\"/>",
"x",
",",
"<type",
"ref=\"prev\"/>",
"decl",
";",
"enum",
"cpp_... | handle_pragma_weak | KevinOConnor/klipper | valid | Os |
79,146 | [
"#pragma",
"redefine_extname",
"oldname",
"newname"
] | [
"'static",
"void",
"handle_pragma_redefine_extname",
"(",
"cpp_reader",
"*",
"ARG_UNUSED",
"(",
"dummy",
")",
")",
"{",
"tree",
"oldname",
",",
"<type",
"ref=\"prev\"/>",
"newname",
",",
"<type",
"ref=\"prev\"/>",
"decls",
",",
"<type",
"ref=\"prev\"/>",
"x",
";",... | handle_pragma_redefine_extname | KevinOConnor/klipper | valid | Os |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.