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 |
|---|---|---|---|---|---|---|
365 | [
"Register",
"the",
"dataset",
"access",
"property",
"list",
"class's",
"properties"
] | [
"'static",
"herr_t",
"H5P__dacc_reg_prop",
"(",
"H5P_genclass_t",
"*",
"pclass",
")",
"{",
"size_t",
"rdcc_nslots",
"=",
"H5D_ACS_DATA_CACHE_NUM_SLOTS_DEF",
";",
"/*",
"Default",
"raw",
"data",
"chunk",
"cache",
"#",
"of",
"slots",
"*/",
"size_t",
"rdcc_nbytes",
"... | H5P__dacc_reg_prop | tbeu/matio | train | O3 |
366 | [
"Frees",
"memory",
"used",
"to",
"store",
"the",
"vds",
"file",
"prefix",
"string"
] | [
"'static",
"herr_t",
"H5P__dapl_vds_file_pref_del",
"(",
"hid_t",
"H5_ATTR_UNUSED",
"prop_id",
",",
"const",
"char",
"H5_ATTR_UNUSED",
"*",
"name",
",",
"size_t",
"H5_ATTR_UNUSED",
"size",
",",
"void",
"*",
"value",
")",
"{",
"FUNC_ENTER_NOAPI_NOINIT_NOERR",
"HDassert... | H5P__dapl_vds_file_pref_del | tbeu/matio | train | O3 |
367 | [
"Retrieves",
"the",
"boundary,",
"callback",
"function",
"and",
"user",
"data",
"set",
"in",
"property",
"list"
] | [
"'herr_t",
"H5Pget_append_flush",
"(",
"hid_t",
"plist_id",
",",
"unsigned",
"ndims",
",",
"hsize_t",
"boundary",
"[]",
",",
"H5D_append_cb_t",
"*",
"func",
",",
"void",
"*",
"*",
"udata",
")",
"{",
"H5P_genplist_t",
"*",
"plist",
";",
"/*",
"property",
"lis... | H5Pget_append_flush | tbeu/matio | train | O3 |
368 | [
"Frees",
"memory",
"used",
"to",
"store",
"the",
"vds",
"file",
"prefix",
"string"
] | [
"'static",
"herr_t",
"H5P__dapl_vds_file_pref_close",
"(",
"const",
"char",
"H5_ATTR_UNUSED",
"*",
"name",
",",
"size_t",
"H5_ATTR_UNUSED",
"size",
",",
"void",
"*",
"value",
")",
"{",
"FUNC_ENTER_NOAPI_NOINIT_NOERR",
"HDassert",
"(",
"value",
")",
";",
"H5MM_xfree"... | H5P__dapl_vds_file_pref_close | tbeu/matio | train | O3 |
369 | [
"Sets",
"the",
"boundary,",
"callback",
"function,",
"and",
"user",
"data",
"in",
"the",
"property",
"list"
] | [
"'herr_t",
"H5Pset_append_flush",
"(",
"hid_t",
"plist_id",
",",
"unsigned",
"ndims",
",",
"const",
"hsize_t",
"*",
"boundary",
",",
"H5D_append_cb_t",
"func",
",",
"void",
"*",
"udata",
")",
"{",
"H5P_genplist_t",
"*",
"plist",
";",
"/*",
"Property",
"list",
... | H5Pset_append_flush | tbeu/matio | train | O3 |
370 | [
"Callback",
"routine",
"which",
"is",
"called",
"whenever",
"the",
"vds",
"file",
"prefix",
"property",
"in",
"the",
"dataset",
"access",
"property",
"list",
"is",
"decoded"
] | [
"'static",
"herr_t",
"H5P__dapl_vds_file_pref_dec",
"(",
"const",
"void",
"*",
"*",
"_pp",
",",
"void",
"*",
"_value",
")",
"{",
"char",
"*",
"*",
"vds_file_pref",
"=",
"(",
"char",
"*",
"*",
")",
"_value",
";",
"const",
"uint8_t",
"*",
"*",
"pp",
"=",... | H5P__dapl_vds_file_pref_dec | tbeu/matio | train | O3 |
371 | [
"Copies",
"an",
"external",
"file",
"prefix",
"property",
"when",
"it's",
"set",
"for",
"a",
"property",
"list"
] | [
"'static",
"herr_t",
"H5P__dapl_efile_pref_set",
"(",
"hid_t",
"H5_ATTR_UNUSED",
"prop_id",
",",
"const",
"char",
"H5_ATTR_UNUSED",
"*",
"name",
",",
"size_t",
"H5_ATTR_UNUSED",
"size",
",",
"void",
"*",
"value",
")",
"{",
"FUNC_ENTER_STATIC_NOERR",
"/*",
"Sanity",
... | H5P__dapl_efile_pref_set | tbeu/matio | train | O3 |
372 | [
"Sets",
"the",
"access",
"property",
"list",
"for",
"the",
"virtual",
"dataset,",
"dapl_id,",
"to",
"instruct",
"the",
"library",
"to",
"stop",
"looking",
"for",
"the",
"mapped",
"data",
"stored",
"in",
"the",
"files",
"and",
"or",
"datasets",
"with",
"the",... | [
"'herr_t",
"H5Pset_virtual_printf_gap",
"(",
"hid_t",
"plist_id",
",",
"hsize_t",
"gap_size",
")",
"{",
"H5P_genplist_t",
"*",
"plist",
";",
"/*",
"Property",
"list",
"pointer",
"*/",
"herr_t",
"ret_value",
"=",
"SUCCEED",
";",
"/*",
"Return",
"value",
"*/",
"... | H5Pset_virtual_printf_gap | tbeu/matio | train | O3 |
373 | [
"Copies",
"a",
"vds",
"file",
"prefix",
"property",
"when",
"it's",
"retrieved",
"from",
"a",
"property",
"list"
] | [
"'static",
"herr_t",
"H5P__dapl_vds_file_pref_get",
"(",
"hid_t",
"H5_ATTR_UNUSED",
"prop_id",
",",
"const",
"char",
"H5_ATTR_UNUSED",
"*",
"name",
",",
"size_t",
"H5_ATTR_UNUSED",
"size",
",",
"void",
"*",
"value",
")",
"{",
"FUNC_ENTER_STATIC_NOERR",
"/*",
"Sanity... | H5P__dapl_vds_file_pref_get | tbeu/matio | train | O3 |
374 | [
"Gets",
"the",
"maximum",
"number",
"of",
"missing",
"printfstyle",
"files",
"and",
"or",
"datasets",
"for",
"determining",
"the",
"extent",
"of",
"the",
"unlimited",
"VDS,",
"gap_size,",
"using",
"the",
"access",
"property",
"list",
"for",
"the",
"virtual",
"... | [
"'herr_t",
"H5Pget_virtual_printf_gap",
"(",
"hid_t",
"plist_id",
",",
"hsize_t",
"*",
"gap_size",
")",
"{",
"H5P_genplist_t",
"*",
"plist",
";",
"/*",
"Property",
"list",
"pointer",
"*/",
"herr_t",
"ret_value",
"=",
"SUCCEED",
";",
"/*",
"Return",
"value",
"*... | H5Pget_virtual_printf_gap | tbeu/matio | train | O3 |
375 | [
"Frees",
"memory",
"used",
"to",
"store",
"the",
"external",
"file",
"prefix",
"string"
] | [
"'static",
"herr_t",
"H5P__dapl_efile_pref_del",
"(",
"hid_t",
"H5_ATTR_UNUSED",
"prop_id",
",",
"const",
"char",
"H5_ATTR_UNUSED",
"*",
"name",
",",
"size_t",
"H5_ATTR_UNUSED",
"size",
",",
"void",
"*",
"value",
")",
"{",
"FUNC_ENTER_NOAPI_NOINIT_NOERR",
"HDassert",
... | H5P__dapl_efile_pref_del | tbeu/matio | train | O3 |
376 | [
"Decode",
"the",
"rdcc_nbytes",
"parameter",
"from",
"a",
"serialized",
"property",
"list"
] | [
"'static",
"herr_t",
"H5P__decode_chunk_cache_nbytes",
"(",
"const",
"void",
"*",
"*",
"_pp",
",",
"void",
"*",
"_value",
")",
"{",
"size_t",
"*",
"value",
"=",
"(",
"size_t",
"*",
")",
"_value",
";",
"/*",
"Property",
"value",
"to",
"return",
"*/",
"con... | H5P__decode_chunk_cache_nbytes | tbeu/matio | train | O3 |
377 | [
"Callback",
"routine",
"which",
"is",
"called",
"whenever",
"the",
"efile",
"prefix",
"property",
"in",
"the",
"dataset",
"access",
"property",
"list",
"is",
"decoded"
] | [
"'static",
"herr_t",
"H5P__dapl_efile_pref_dec",
"(",
"const",
"void",
"*",
"*",
"_pp",
",",
"void",
"*",
"_value",
")",
"{",
"char",
"*",
"*",
"efile_pref",
"=",
"(",
"char",
"*",
"*",
")",
"_value",
";",
"const",
"uint8_t",
"*",
"*",
"pp",
"=",
"("... | H5P__dapl_efile_pref_dec | tbeu/matio | train | O3 |
378 | [
"Encode",
"the",
"rdcc_nbytes",
"parameter",
"to",
"a",
"serialized",
"property",
"list"
] | [
"'static",
"herr_t",
"H5P__encode_chunk_cache_nbytes",
"(",
"const",
"void",
"*",
"value",
",",
"void",
"*",
"*",
"_pp",
",",
"size_t",
"*",
"size",
")",
"{",
"uint64_t",
"enc_value",
";",
"/*",
"Property",
"value",
"to",
"encode",
"*/",
"uint8_t",
"*",
"*... | H5P__encode_chunk_cache_nbytes | tbeu/matio | train | O3 |
384 | [
"Handle",
"an",
"incoming",
"STUN",
"message",
"to",
"a",
"Client",
"Transaction"
] | [
"'int",
"stun_ctrans_recv",
"(",
"struct",
"stun",
"*",
"stun",
",",
"const",
"struct",
"stun_msg",
"*",
"msg",
",",
"const",
"struct",
"stun_unknown_attr",
"*",
"ua",
")",
"{",
"struct",
"stun_errcode",
"ec",
"=",
"{",
"0",
",",
"\"OK\"",
"}",
";",
"str... | stun_ctrans_recv | creytiv/rem | train | O1 |
385 | [
"Guaranteed",
"to",
"work",
"for",
"any",
"n,",
"m",
"where",
"gcd(n,",
"m)",
"1"
] | [
"'int",
"ff_tx_gen_compound_mapping",
"(",
"AVTXContext",
"*",
"s",
")",
"{",
"int",
"*",
"in_map",
",",
"<type",
"ref=\"prev\">",
"*",
"out_map",
";",
"const",
"int",
"n",
"=",
"s",
"->",
"n",
";",
"const",
"int",
"m",
"=",
"s",
"->",
"m",
";",
"con... | ff_tx_gen_compound_mapping | FFmpeg/FFmpeg | train | O1 |
386 | [
"Retrieve",
"information",
"about",
"an",
"object"
] | [
"'herr_t",
"H5Oget_info_by_name1",
"(",
"hid_t",
"loc_id",
",",
"const",
"char",
"*",
"name",
",",
"H5O_info_t",
"*",
"oinfo",
",",
"hid_t",
"lapl_id",
")",
"{",
"H5G_loc_t",
"loc",
";",
"/*",
"Location",
"of",
"group",
"*/",
"herr_t",
"ret_value",
"=",
"S... | H5Oget_info_by_name1 | gsjaardema/seacas | train | Og |
387 | [
"Recursively",
"visit",
"an",
"object",
"and",
"all",
"the",
"objects",
"reachable",
"from",
"it"
] | [
"'herr_t",
"H5Ovisit1",
"(",
"hid_t",
"obj_id",
",",
"H5_index_t",
"idx_type",
",",
"H5_iter_order_t",
"order",
",",
"H5O_iterate_t",
"op",
",",
"void",
"*",
"op_data",
")",
"{",
"herr_t",
"ret_value",
";",
"/*",
"Return",
"value",
"*/",
"FUNC_ENTER_API",
"(",... | H5Ovisit1 | gsjaardema/seacas | train | Og |
388 | [
"Retrieve",
"information",
"about",
"an",
"object,",
"according",
"to",
"the",
"order",
"of",
"an",
"index"
] | [
"'herr_t",
"H5Oget_info_by_idx1",
"(",
"hid_t",
"loc_id",
",",
"const",
"char",
"*",
"group_name",
",",
"H5_index_t",
"idx_type",
",",
"H5_iter_order_t",
"order",
",",
"hsize_t",
"n",
",",
"H5O_info_t",
"*",
"oinfo",
",",
"hid_t",
"lapl_id",
")",
"{",
"H5G_loc... | H5Oget_info_by_idx1 | gsjaardema/seacas | train | Og |
389 | [
"Recursively",
"visit",
"an",
"object",
"and",
"all",
"the",
"objects",
"reachable",
"from",
"it"
] | [
"'herr_t",
"H5Ovisit_by_name1",
"(",
"hid_t",
"loc_id",
",",
"const",
"char",
"*",
"obj_name",
",",
"H5_index_t",
"idx_type",
",",
"H5_iter_order_t",
"order",
",",
"H5O_iterate_t",
"op",
",",
"void",
"*",
"op_data",
",",
"hid_t",
"lapl_id",
")",
"{",
"herr_t",... | H5Ovisit_by_name1 | gsjaardema/seacas | train | Og |
390 | [
"Retrieve",
"information",
"about",
"an",
"object"
] | [
"'herr_t",
"H5Oget_info1",
"(",
"hid_t",
"loc_id",
",",
"H5O_info_t",
"*",
"oinfo",
")",
"{",
"H5G_loc_t",
"loc",
";",
"/*",
"Location",
"of",
"group",
"*/",
"herr_t",
"ret_value",
"=",
"SUCCEED",
";",
"/*",
"Return",
"value",
"*/",
"FUNC_ENTER_API",
"(",
... | H5Oget_info1 | gsjaardema/seacas | train | Og |
396 | [
"Reset",
"ignored",
"signals",
"back",
"to",
"default"
] | [
"'static",
"void",
"guest_exec_task_setup",
"(",
"gpointer",
"data",
")",
"{",
"#",
"if",
"!",
"defined",
"(",
"G_OS_WIN32",
")",
"struct",
"sigaction",
"sigact",
";",
"memset",
"(",
"&",
"sigact",
",",
"0",
",",
"sizeof",
"(",
"struct",
"sigaction",
")",
... | guest_exec_task_setup | google/AFL | train | O3 |
397 | [
"Initialize",
"the",
"flash",
"object",
"setting",
"FS"
] | [
"\"int32_t",
"PIOS_FLASHFS_Logfs_Init",
"(",
"uintptr_t",
"*",
"fs_id",
",",
"const",
"struct",
"flashfs_logfs_cfg",
"*",
"cfg",
",",
"const",
"struct",
"pios_flash_driver",
"*",
"driver",
",",
"uintptr_t",
"flash_id",
")",
"{",
"#",
"ifdef",
"PIOS_INCLUDE_WDG",
"... | PIOS_FLASHFS_Logfs_Init | librepilot/LibrePilot | train | Os |
398 | [
"Load",
"one",
"object",
"instance",
"from",
"the",
"filesystem"
] | [
"\"int32_t",
"PIOS_FLASHFS_ObjLoad",
"(",
"uintptr_t",
"fs_id",
",",
"uint32_t",
"obj_id",
",",
"uint16_t",
"obj_inst_id",
",",
"uint8_t",
"*",
"obj_data",
",",
"uint16_t",
"obj_size",
")",
"{",
"int8_t",
"rc",
";",
"struct",
"logfs_state",
"*",
"logfs",
"=",
... | PIOS_FLASHFS_ObjLoad | librepilot/LibrePilot | train | Os |
399 | [
"NOTE:",
"Must",
"be",
"called",
"while",
"holding",
"the",
"flash",
"transaction",
"lock"
] | [
"'static",
"int16_t",
"logfs_object_find_next",
"(",
"const",
"struct",
"logfs_state",
"*",
"logfs",
",",
"struct",
"slot_header",
"*",
"slot_hdr",
",",
"uint16_t",
"*",
"curr_slot",
",",
"uint32_t",
"obj_id",
",",
"uint16_t",
"obj_inst_id",
")",
"{",
"PIOS_Assert... | logfs_object_find_next | librepilot/LibrePilot | train | Os |
400 | [
"Delete",
"one",
"instance",
"of",
"an",
"object",
"from",
"the",
"filesystem"
] | [
"'int32_t",
"PIOS_FLASHFS_ObjDelete",
"(",
"uintptr_t",
"fs_id",
",",
"uint32_t",
"obj_id",
",",
"uint16_t",
"obj_inst_id",
")",
"{",
"int8_t",
"rc",
";",
"struct",
"logfs_state",
"*",
"logfs",
"=",
"(",
"struct",
"logfs_state",
"*",
")",
"fs_id",
";",
"if",
... | PIOS_FLASHFS_ObjDelete | librepilot/LibrePilot | train | Os |
401 | [
"Returs",
"stats",
"for",
"the",
"filesystems"
] | [
"'int32_t",
"PIOS_FLASHFS_GetStats",
"(",
"uintptr_t",
"fs_id",
",",
"struct",
"PIOS_FLASHFS_Stats",
"*",
"stats",
")",
"{",
"PIOS_Assert",
"(",
"stats",
")",
";",
"struct",
"logfs_state",
"*",
"logfs",
"=",
"(",
"struct",
"logfs_state",
"*",
")",
"fs_id",
";"... | PIOS_FLASHFS_GetStats | librepilot/LibrePilot | train | Os |
402 | [
"Saves",
"one",
"object",
"instance",
"to",
"the",
"filesystem"
] | [
"\"int32_t",
"PIOS_FLASHFS_ObjSave",
"(",
"uintptr_t",
"fs_id",
",",
"uint32_t",
"obj_id",
",",
"uint16_t",
"obj_inst_id",
",",
"uint8_t",
"*",
"obj_data",
",",
"uint16_t",
"obj_size",
")",
"{",
"int8_t",
"rc",
";",
"struct",
"logfs_state",
"*",
"logfs",
"=",
... | PIOS_FLASHFS_ObjSave | librepilot/LibrePilot | train | Os |
403 | [
"Marks",
"the",
"given",
"arena",
"as",
"active",
"so",
"it",
"can",
"be",
"mounted"
] | [
"\"static",
"int32_t",
"logfs_activate_arena",
"(",
"const",
"struct",
"logfs_state",
"*",
"logfs",
",",
"uint8_t",
"arena_id",
")",
"{",
"uintptr_t",
"arena_addr",
"=",
"logfs_get_addr",
"(",
"logfs",
",",
"arena_id",
",",
"0",
")",
";",
"/*",
"Make",
"sure",... | logfs_activate_arena | librepilot/LibrePilot | train | Os |
404 | [
"Erases",
"all",
"filesystem",
"arenas",
"and",
"activate",
"the",
"first",
"arena"
] | [
"'int32_t",
"PIOS_FLASHFS_Format",
"(",
"uintptr_t",
"fs_id",
")",
"{",
"int32_t",
"rc",
";",
"struct",
"logfs_state",
"*",
"logfs",
"=",
"(",
"struct",
"logfs_state",
"*",
")",
"fs_id",
";",
"if",
"(",
"!",
"PIOS_FLASHFS_Logfs_validate",
"(",
"logfs",
")",
... | PIOS_FLASHFS_Format | librepilot/LibrePilot | train | Os |
405 | [
"Erases",
"all",
"sectors",
"within",
"the",
"given",
"arena",
"and",
"sets",
"arena",
"to",
"erased",
"state"
] | [
"'static",
"int32_t",
"logfs_erase_arena",
"(",
"const",
"struct",
"logfs_state",
"*",
"logfs",
",",
"uint8_t",
"arena_id",
")",
"{",
"uintptr_t",
"arena_addr",
"=",
"logfs_get_addr",
"(",
"logfs",
",",
"arena_id",
",",
"0",
")",
";",
"/*",
"Erase",
"all",
"... | logfs_erase_arena | librepilot/LibrePilot | train | Os |
406 | [
"threadshared",
"initialization",
"that",
"should",
"be",
"repeated",
"after",
"a",
"reset"
] | [
"'void",
"link_reset_init",
"(",
"void",
")",
"{",
"if",
"(",
"DYNAMO_OPTION",
"(",
"separate_private_stubs",
")",
"||",
"DYNAMO_OPTION",
"(",
"separate_shared_stubs",
")",
")",
"{",
"stub_heap",
"=",
"special_heap_init",
"(",
"SEPARATE_STUB_ALLOC_SIZE",
"(",
"0",
... | link_reset_init | DynamoRIO/drmemory | train | Os |
407 | [
"Must",
"pass",
"NULL",
"for",
"exactly",
"one",
"of",
"coarse",
"or",
"fine"
] | [
"'static",
"coarse_incoming_t",
"*",
"prepend_new_coarse_incoming",
"(",
"coarse_info_t",
"*",
"info",
",",
"cache_pc",
"coarse",
",",
"linkstub_t",
"*",
"fine",
")",
"{",
"coarse_incoming_t",
"*",
"entry",
"=",
"NONPERSISTENT_HEAP_TYPE_ALLOC",
"(",
"GLOBAL_DCONTEXT",
... | prepend_new_coarse_incoming | DynamoRIO/drmemory | train | Os |
408 | [
"Returns",
"true",
"if",
"the",
"link",
"from",
"f's",
"exit",
"l",
"exists",
"in",
"targetf's",
"incoming",
"list"
] | [
"'static",
"bool",
"incoming_link_exists",
"(",
"dcontext_t",
"*",
"dcontext",
",",
"fragment_t",
"*",
"f",
",",
"linkstub_t",
"*",
"l",
",",
"fragment_t",
"*",
"targetf",
")",
"{",
"return",
"incoming_find_link",
"(",
"dcontext",
",",
"f",
",",
"l",
",",
... | incoming_link_exists | DynamoRIO/drmemory | train | Os |
409 | [
"Removes",
"an",
"incoming",
"entry",
"from",
"a",
"fine",
"fragment",
"to",
"a",
"coarse",
"unit"
] | [
"'static",
"void",
"coarse_remove_incoming",
"(",
"dcontext_t",
"*",
"dcontext",
",",
"fragment_t",
"*",
"src_f",
",",
"linkstub_t",
"*",
"src_l",
",",
"fragment_t",
"*",
"targetf",
")",
"{",
"coarse_info_t",
"*",
"info",
"=",
"get_fragment_coarse_info",
"(",
"t... | coarse_remove_incoming | DynamoRIO/drmemory | train | Os |
410 | [
"Either",
"the",
"stub",
"pc",
"or",
"the",
"cti",
"pc",
"will",
"work,",
"as",
"indirect",
"stubs",
"are",
"inlined"
] | [
"'cache_pc",
"get_coarse_ibl_prefix",
"(",
"dcontext_t",
"*",
"dcontext",
",",
"cache_pc",
"stub_pc",
",",
"ibl_branch_type_t",
"branch_type",
")",
"{",
"/*",
"Indirect",
"stubs",
"are",
"inlined",
"in",
"the",
"cache",
"*/",
"coarse_info_t",
"*",
"info",
"=",
"... | get_coarse_ibl_prefix | DynamoRIO/drmemory | train | Os |
411 | [
"Removes",
"any",
"incoming",
"data",
"recording",
"the",
"outgoing",
"link",
"from",
"stub"
] | [
"'void",
"coarse_remove_outgoing",
"(",
"dcontext_t",
"*",
"dcontext",
",",
"cache_pc",
"stub",
",",
"coarse_info_t",
"*",
"src_info",
")",
"{",
"cache_pc",
"target_tag",
"=",
"entrance_stub_target_tag",
"(",
"stub",
",",
"src_info",
")",
";",
"/*",
"ASSUMPTION:",... | coarse_remove_outgoing | DynamoRIO/drmemory | train | Os |
412 | [
"current",
"prefix",
"size",
"is",
"37",
"bytes,",
"so",
"need",
"3",
"stub",
"slots"
] | [
"'static",
"inline",
"uint",
"num_coarse_stubs_for_prefix",
"(",
"coarse_info_t",
"*",
"info",
")",
"{",
"uint",
"prefix_size",
"=",
"coarse_exit_prefix_size",
"(",
"info",
")",
";",
"size_t",
"stub_size",
"=",
"COARSE_STUB_ALLOC_SIZE",
"(",
"COARSE_32_FLAG",
"(",
"... | num_coarse_stubs_for_prefix | DynamoRIO/drmemory | train | Os |
413 | [
"is",
"a",
"post_linkstub_t",
"structure",
"required",
"to",
"store",
"the",
"fragment_t",
"offset?"
] | [
"\"bool",
"linkstub_frag_offs_at_end",
"(",
"uint",
"flags",
",",
"int",
"direct_exits",
",",
"int",
"indirect_exits",
")",
"{",
"ASSERT",
"(",
"(",
"direct_exits",
"+",
"indirect_exits",
">",
"0",
")",
"||",
"TEST",
"(",
"FRAG_COARSE_GRAIN",
",",
"flags",
")"... | linkstub_frag_offs_at_end | DynamoRIO/drmemory | train | Os |
414 | [
"Locate",
"the",
"owning",
"fragment_t",
"for",
"a",
"linkstub_t"
] | [
"'fragment_t",
"*",
"linkstub_fragment",
"(",
"dcontext_t",
"*",
"dcontext",
",",
"linkstub_t",
"*",
"l",
")",
"{",
"if",
"(",
"LINKSTUB_FAKE",
"(",
"l",
")",
")",
"{",
"#",
"ifdef",
"WINDOWS",
"if",
"(",
"l",
"==",
"&",
"linkstub_shared_syscall_trace",
")... | linkstub_fragment | DynamoRIO/drmemory | train | Os |
415 | [
"Sets",
"flags",
"for",
"a",
"fake",
"linkstub_t",
"for",
"an",
"incoming",
"list",
"entry",
"for",
"a",
"coarse",
"source"
] | [
"'static",
"void",
"set_fake_direct_linkstub",
"(",
"direct_linkstub_t",
"*",
"proxy",
",",
"app_pc",
"target",
",",
"cache_pc",
"stub",
")",
"{",
"/*",
"ASSUMPTION:",
"this",
"combination",
"is",
"unique",
"to",
"coarse-grain",
"proxy",
"stubs.",
"*",
"The",
"L... | set_fake_direct_linkstub | DynamoRIO/drmemory | train | Os |
416 | [
"Initializes",
"an",
"array",
"of",
"linkstubs",
"beginning",
"with",
"first"
] | [
"\"void",
"linkstubs_init",
"(",
"linkstub_t",
"*",
"first",
",",
"int",
"num_direct",
",",
"int",
"num_indirect",
",",
"fragment_t",
"*",
"f",
")",
"{",
"/*",
"we",
"don't",
"know",
"the",
"sequencing",
"of",
"direct",
"and",
"indirect",
"so",
"all",
"we"... | linkstubs_init | DynamoRIO/drmemory | train | Os |
417 | [
"Updates",
"the",
"info",
"pointers",
"embedded",
"in",
"the",
"coarse_stub_areas",
"vector"
] | [
"'void",
"coarse_stubs_set_info",
"(",
"coarse_info_t",
"*",
"info",
")",
"{",
"special_heap_set_vector_data",
"(",
"info",
"->",
"stubs",
",",
"info",
")",
";",
"}'"
] | coarse_stubs_set_info | DynamoRIO/drmemory | train | Os |
418 | [
"fragment_t",
"f",
"is",
"being",
"removed"
] | [
"'future_fragment_t",
"*",
"incoming_remove_fragment",
"(",
"dcontext_t",
"*",
"dcontext",
",",
"fragment_t",
"*",
"f",
")",
"{",
"future_fragment_t",
"*",
"future",
"=",
"NULL",
";",
"linkstub_t",
"*",
"l",
";",
"/*",
"pendel-del",
"frags",
"use",
"fragment_t.i... | incoming_remove_fragment | DynamoRIO/drmemory | train | Os |
419 | [
"Pass",
"in",
"coarse",
"if",
"you",
"already",
"know",
"it;",
"else,",
"this",
"routine",
"will",
"look",
"it",
"up"
] | [
"'static",
"fragment_t",
"*",
"fragment_coarse_link_wrapper",
"(",
"dcontext_t",
"*",
"dcontext",
",",
"app_pc",
"target_tag",
",",
"cache_pc",
"know_coarse",
")",
"{",
"ASSERT",
"(",
"self_owns_recursive_lock",
"(",
"&",
"change_linking_lock",
")",
")",
";",
"if",
... | fragment_coarse_link_wrapper | DynamoRIO/drmemory | train | Os |
420 | [
"includes",
"the",
"post_linkstub_t",
"offset",
"struct",
"size"
] | [
"'uint",
"linkstubs_heap_size",
"(",
"uint",
"flags",
",",
"int",
"direct_exits",
",",
"int",
"indirect_exits",
")",
"{",
"uint",
"offset_sz",
",",
"<type",
"ref=\"prev\"/>",
"linkstub_size",
";",
"ASSERT",
"(",
"(",
"direct_exits",
"+",
"indirect_exits",
">",
"... | linkstubs_heap_size | DynamoRIO/drmemory | train | Os |
421 | [
"we",
"don't",
"want",
"to",
"propagate",
"our",
"cbr",
"hack",
"during",
"trace",
"building,",
"etc"
] | [
"'uint",
"linkstub_propagatable_flags",
"(",
"uint",
"flags",
")",
"{",
"if",
"(",
"LINKSTUB_CBR_FALLTHROUGH",
"(",
"flags",
")",
")",
"flags",
"&=",
"~",
"LINK_INDIRECT",
";",
"return",
"flags",
";",
"}'"
] | linkstub_propagatable_flags | DynamoRIO/drmemory | train | Os |
422 | [
"Passing",
"in",
"stub_pc's",
"info",
"avoids",
"a",
"vmvector",
"lookup"
] | [
"'cache_pc",
"trace_head_return_coarse_prefix",
"(",
"cache_pc",
"stub_pc",
",",
"coarse_info_t",
"*",
"info",
"/*OPTIONAL*/",
")",
"{",
"if",
"(",
"info",
"==",
"NULL",
")",
"info",
"=",
"(",
"coarse_info_t",
"*",
")",
"vmvector_lookup",
"(",
"coarse_stub_areas",... | trace_head_return_coarse_prefix | DynamoRIO/drmemory | train | Os |
423 | [
"update",
"the",
"x",
"position",
"of",
"a",
"decoration"
] | [
"'void",
"deco_update",
"(",
"struct",
"SYMBOL",
"*",
"s",
",",
"float",
"dx",
")",
"{",
"struct",
"deco_elt",
"*",
"de",
";",
"for",
"(",
"de",
"=",
"deco_head",
";",
"de",
";",
"de",
"=",
"de",
"->",
"next",
")",
"{",
"if",
"(",
"de",
"->",
"... | deco_update | leesavide/abcm2ps | train | O2 |
424 | [
"get",
"the",
"max",
"min",
"vertical",
"offset"
] | [
"'float",
"y_get",
"(",
"int",
"staff",
",",
"int",
"up",
",",
"float",
"x",
",",
"float",
"w",
")",
"{",
"struct",
"STAFF_S",
"*",
"p_staff",
";",
"int",
"i",
",",
"<type",
"ref=\"prev\"/>",
"j",
";",
"float",
"y",
";",
"p_staff",
"=",
"&",
"staff... | y_get | leesavide/abcm2ps | train | O2 |
425 | [
"create",
"the",
"deco",
"elements,",
"and",
"treat",
"the",
"near",
"ones"
] | [
"'static",
"void",
"deco_create",
"(",
"struct",
"SYMBOL",
"*",
"s",
",",
"struct",
"decos",
"*",
"dc",
")",
"{",
"int",
"k",
",",
"<type",
"ref=\"prev\"/>",
"m",
",",
"<type",
"ref=\"prev\"/>",
"posit",
";",
"unsigned",
"char",
"ideco",
";",
"struct",
"... | deco_create | leesavide/abcm2ps | train | O2 |
426 | [
"special",
"case",
"for",
"long",
"dynamics"
] | [
"'static",
"void",
"d_cresc",
"(",
"struct",
"deco_elt",
"*",
"de",
")",
"{",
"struct",
"SYMBOL",
"*",
"s",
",",
"<type",
"ref=\"prev\">",
"*",
"s2",
";",
"struct",
"deco_def_s",
"*",
"dd",
",",
"<type",
"ref=\"prev\">",
"*",
"dd2",
";",
"struct",
"deco_... | d_cresc | leesavide/abcm2ps | train | O2 |
427 | [
"special",
"case",
"for",
"long",
"decoration"
] | [
"'static",
"void",
"d_trill",
"(",
"struct",
"deco_elt",
"*",
"de",
")",
"{",
"struct",
"SYMBOL",
"*",
"s",
",",
"<type",
"ref=\"prev\">",
"*",
"s2",
";",
"struct",
"deco_def_s",
"*",
"dd",
";",
"int",
"staff",
",",
"<type",
"ref=\"prev\"/>",
"up",
";",
... | d_trill | leesavide/abcm2ps | train | O2 |
428 | [
"adjust",
"the",
"vertical",
"offsets"
] | [
"'void",
"y_set",
"(",
"int",
"staff",
",",
"int",
"up",
",",
"float",
"x",
",",
"float",
"w",
",",
"float",
"y",
")",
"{",
"struct",
"STAFF_S",
"*",
"p_staff",
";",
"int",
"i",
",",
"<type",
"ref=\"prev\"/>",
"j",
";",
"p_staff",
"=",
"&",
"staff_... | y_set | leesavide/abcm2ps | train | O2 |
429 | [
"3,",
"4:",
"above",
"(or",
"below)",
"the",
"staff"
] | [
"'static",
"void",
"d_upstaff",
"(",
"struct",
"deco_elt",
"*",
"de",
")",
"{",
"struct",
"SYMBOL",
"*",
"s",
";",
"struct",
"deco_def_s",
"*",
"dd",
";",
"char",
"*",
"ps_name",
";",
"float",
"x",
",",
"<type",
"ref=\"prev\"/>",
"yc",
",",
"<type",
"r... | d_upstaff | leesavide/abcm2ps | train | O2 |
430 | [
"0:",
"near",
"the",
"note",
"(dot,",
"tenuto)"
] | [
"'static",
"void",
"d_near",
"(",
"struct",
"deco_elt",
"*",
"de",
")",
"{",
"struct",
"SYMBOL",
"*",
"s",
";",
"struct",
"deco_def_s",
"*",
"dd",
";",
"int",
"y",
",",
"<type",
"ref=\"prev\"/>",
"up",
";",
"s",
"=",
"de",
"->",
"s",
";",
"dd",
"="... | d_near | leesavide/abcm2ps | train | O2 |
431 | [
"draw",
"the",
"note",
"of",
"the",
"tempo"
] | [
"'static",
"void",
"draw_notempo",
"(",
"struct",
"SYMBOL",
"*",
"s",
",",
"int",
"len",
",",
"float",
"sc",
")",
"{",
"int",
"head",
",",
"<type",
"ref=\"prev\"/>",
"dots",
",",
"<type",
"ref=\"prev\"/>",
"flags",
";",
"float",
"dx",
";",
"a2b",
"(",
... | draw_notempo | leesavide/abcm2ps | train | O2 |
432 | [
"1:",
"special",
"case",
"for",
"slide"
] | [
"'static",
"void",
"d_slide",
"(",
"struct",
"deco_elt",
"*",
"de",
")",
"{",
"struct",
"SYMBOL",
"*",
"s",
";",
"int",
"m",
",",
"<type",
"ref=\"prev\"/>",
"yc",
";",
"float",
"xc",
",",
"<type",
"ref=\"prev\"/>",
"dx",
";",
"s",
"=",
"de",
"->",
"s... | d_slide | leesavide/abcm2ps | train | O2 |
433 | [
"Uses",
"an",
"onchip",
"algorithm",
"for",
"an",
"ARM",
"device",
"to",
"read",
"from",
"a",
"NAND",
"device",
"and",
"store",
"the",
"data",
"into",
"the",
"host",
"machine's",
"memory"
] | [
"'int",
"arm_nandread",
"(",
"struct",
"arm_nand_data",
"*",
"nand",
",",
"uint8_t",
"*",
"data",
",",
"uint32_t",
"size",
")",
"{",
"struct",
"target",
"*",
"target",
"=",
"nand",
"->",
"target",
";",
"struct",
"arm_algorithm",
"armv4_5_algo",
";",
"struct"... | arm_nandread | riscv/riscv-openocd | train | Os |
434 | [
"ARMspecific",
"bulk",
"write",
"from",
"buffer",
"to",
"address",
"of",
"8bit",
"wide",
"NAND"
] | [
"'int",
"arm_nandwrite",
"(",
"struct",
"arm_nand_data",
"*",
"nand",
",",
"uint8_t",
"*",
"data",
",",
"int",
"size",
")",
"{",
"struct",
"target",
"*",
"target",
"=",
"nand",
"->",
"target",
";",
"struct",
"arm_algorithm",
"armv4_5_algo",
";",
"struct",
... | arm_nandwrite | riscv/riscv-openocd | train | Os |
435 | [
"Copies",
"code",
"to",
"a",
"working",
"area"
] | [
"'static",
"int",
"arm_code_to_working_area",
"(",
"struct",
"target",
"*",
"target",
",",
"const",
"uint32_t",
"*",
"code",
",",
"unsigned",
"code_size",
",",
"unsigned",
"additional",
",",
"struct",
"working_area",
"*",
"*",
"area",
")",
"{",
"uint8_t",
"cod... | arm_code_to_working_area | riscv/riscv-openocd | train | Os |
436 | [
"Create",
"subnet",
"management",
"agent",
"and",
"interface"
] | [
"'int",
"ib_create_sma",
"(",
"struct",
"ib_device",
"*",
"ibdev",
",",
"struct",
"ib_mad_interface",
"*",
"mi",
")",
"{",
"/*",
"Nothing",
"to",
"do",
"*/",
"DBGC",
"(",
"ibdev",
",",
"\"IBDEV",
"%s",
"SMA",
"using",
"SMI",
"%p\\\"",
",",
"ibdev",
"->",... | ib_create_sma | ipxe/ipxe | train | Os |
437 | [
"Destroy",
"subnet",
"management",
"agent",
"and",
"interface"
] | [
"'void",
"ib_destroy_sma",
"(",
"struct",
"ib_device",
"*",
"ibdev",
"__unused",
",",
"struct",
"ib_mad_interface",
"*",
"mi",
"__unused",
")",
"{",
"/*",
"Nothing",
"to",
"do",
"*/",
"}'"
] | ib_destroy_sma | ipxe/ipxe | train | Os |
438 | [
"@file",
"Infiniband",
"Subnet",
"Management",
"Agent",
"Node",
"information"
] | [
"'static",
"void",
"ib_sma_node_info",
"(",
"struct",
"ib_device",
"*",
"ibdev",
",",
"struct",
"ib_mad_interface",
"*",
"mi",
",",
"union",
"ib_mad",
"*",
"mad",
",",
"struct",
"ib_address_vector",
"*",
"av",
")",
"{",
"struct",
"ib_node_info",
"*",
"node_inf... | ib_sma_node_info | ipxe/ipxe | train | Os |
439 | [
"Multikey",
"introsort",
"for",
"medium",
"size",
"groups"
] | [
"'static",
"void",
"ss_mintrosort",
"(",
"const",
"sauchar_t",
"*",
"T",
",",
"const",
"saidx_t",
"*",
"PA",
",",
"saidx_t",
"*",
"first",
",",
"saidx_t",
"*",
"last",
",",
"saidx_t",
"depth",
")",
"{",
"#",
"define",
"STACK_SIZE",
"SS_MISORT_STACKSIZE",
"... | ss_mintrosort | powturbo/TurboBench | train | O3 |
441 | [
"Produce",
"content",
"octets",
"from",
"a",
"structure"
] | [
"'int",
"asn1_ex_i2c",
"(",
"ASN1_VALUE",
"*",
"*",
"pval",
",",
"unsigned",
"char",
"*",
"cout",
",",
"int",
"*",
"putype",
",",
"const",
"ASN1_ITEM",
"*",
"it",
")",
"{",
"ASN1_BOOLEAN",
"*",
"tbool",
"=",
"NULL",
";",
"ASN1_STRING",
"*",
"strtmp",
"... | asn1_ex_i2c | strongswan/strongswan | train | O2 |
443 | [
"convert",
"experience",
"level",
"(1"
] | [
"'int",
"xlev_to_rank",
"(",
"int",
"xlev",
")",
"{",
"return",
"(",
"xlev",
"<=",
"2",
")",
"?",
"0",
":",
"(",
"xlev",
"<=",
"30",
")",
"?",
"(",
"(",
"xlev",
"+",
"2",
")",
"/",
"4",
")",
":",
"8",
";",
"}'"
] | xlev_to_rank | FredrIQ/fiqhack | train | O2 |
444 | [
"provide",
"the",
"name",
"of",
"the",
"current",
"level"
] | [
"'int",
"describe_level",
"(",
"char",
"*",
"buf",
")",
"{",
"int",
"ret",
"=",
"1",
";",
"if",
"(",
"Is_knox",
"(",
"&",
"u",
".",
"uz",
")",
")",
"sprintf",
"(",
"buf",
",",
"\"%s\"",
",",
"find_dungeon",
"(",
"&",
"u",
".",
"uz",
")",
".",
... | describe_level | FredrIQ/fiqhack | train | O2 |
445 | [
"Functions",
"recording",
"PMD",
"metrics",
"per",
"iteration"
] | [
"'void",
"pmd_perf_start_iteration",
"(",
"struct",
"pmd_perf_stats",
"*",
"s",
")",
"OVS_REQUIRES",
"(",
"s",
"->",
"stats_mutex",
")",
"{",
"if",
"(",
"s",
"->",
"clear",
")",
"{",
"/*",
"Clear",
"the",
"PMD",
"stats",
"before",
"starting",
"next",
"iter... | pmd_perf_start_iteration | openvswitch/ovs | train | O2 |
446 | [
"NOTE:",
"you",
"should",
"be",
"passing",
"1,",
"not",
"0",
"as",
"lastpos"
] | [
"'int",
"X509_NAME_get_index_by_OBJ",
"(",
"X509_NAME",
"*",
"name",
",",
"const",
"ASN1_OBJECT",
"*",
"obj",
",",
"int",
"lastpos",
")",
"{",
"int",
"n",
";",
"X509_NAME_ENTRY",
"*",
"ne",
";",
"STACK_OF",
"(",
"X509_NAME_ENTRY",
")",
"*",
"sk",
";",
"if"... | X509_NAME_get_index_by_OBJ | jens-maus/amissl | train | O3 |
452 | [
"Creates",
"dense",
"attribute",
"storage",
"structures",
"for",
"an",
"object"
] | [
"'herr_t",
"H5A_dense_create",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"H5O_ainfo_t",
"*",
"ainfo",
")",
"{",
"H5HF_create_t",
"fheap_cparam",
";",
"/*",
"Fractal",
"heap",
"creation",
"parameters",
"*/",
"H5B2_create_t",
"bt2_cparam",
";",
"/*",
... | H5A_dense_create | CGNS/CGNS | train | Og |
453 | [
"Insert",
"an",
"attribute",
"into",
"dense",
"storage",
"structures",
"for",
"an",
"object"
] | [
"'herr_t",
"H5A_dense_insert",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"const",
"H5O_ainfo_t",
"*",
"ainfo",
",",
"H5A_t",
"*",
"attr",
")",
"{",
"H5A_bt2_ud_ins_t",
"udata",
";",
"/*",
"User",
"data",
"for",
"v2",
"B-tree",
"insertion",
"*/"... | H5A_dense_insert | CGNS/CGNS | train | Og |
454 | [
"Iterate",
"over",
"attributes",
"in",
"dense",
"storage",
"structures",
"for",
"an",
"object"
] | [
"'herr_t",
"H5A_dense_iterate",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"hid_t",
"loc_id",
",",
"const",
"H5O_ainfo_t",
"*",
"ainfo",
",",
"H5_index_t",
"idx_type",
",",
"H5_iter_order_t",
"order",
",",
"hsize_t",
"skip",
",",
"hsize_t",
"*",
"... | H5A_dense_iterate | CGNS/CGNS | train | Og |
455 | [
"Rename",
"an",
"attribute",
"in",
"dense",
"storage",
"structures",
"for",
"an",
"object"
] | [
"'herr_t",
"H5A_dense_rename",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"const",
"H5O_ainfo_t",
"*",
"ainfo",
",",
"const",
"char",
"*",
"old_name",
",",
"const",
"char",
"*",
"new_name",
")",
"{",
"H5A_bt2_ud_common_t",
"udata",
";",
"/*",
"U... | H5A_dense_rename | CGNS/CGNS | train | Og |
456 | [
"Callback",
"for",
"fractal",
"heap",
"operator,",
"to",
"make",
"copy",
"of",
"attribute",
"for",
"calling",
"routine"
] | [
"'static",
"herr_t",
"H5A__dense_copy_fh_cb",
"(",
"const",
"void",
"*",
"obj",
",",
"size_t",
"obj_len",
",",
"void",
"*",
"_udata",
")",
"{",
"H5A_fh_ud_cp_t",
"*",
"udata",
"=",
"(",
"H5A_fh_ud_cp_t",
"*",
")",
"_udata",
";",
"/*",
"User",
"data",
"for"... | H5A__dense_copy_fh_cb | CGNS/CGNS | train | Og |
457 | [
"Check",
"if",
"an",
"attribute",
"exists",
"in",
"dense",
"storage",
"structures",
"for",
"an",
"object"
] | [
"'htri_t",
"H5A_dense_exists",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"const",
"H5O_ainfo_t",
"*",
"ainfo",
",",
"const",
"char",
"*",
"name",
")",
"{",
"H5A_bt2_ud_common_t",
"udata",
";",
"/*",
"User",
"data",
"for",
"v2",
"B-tree",
"modif... | H5A_dense_exists | CGNS/CGNS | train | Og |
458 | [
"v2",
"Btree",
"callback",
"for",
"dense",
"attribute",
"storage",
"record",
"removal",
"by",
"index"
] | [
"'static",
"herr_t",
"H5A__dense_remove_by_idx_bt2_cb",
"(",
"const",
"void",
"*",
"_record",
",",
"void",
"*",
"_bt2_udata",
")",
"{",
"H5HF_t",
"*",
"fheap",
";",
"/*",
"Fractal",
"heap",
"handle",
"*/",
"H5B2_t",
"*",
"bt2",
"=",
"NULL",
";",
"/*",
"v2"... | H5A__dense_remove_by_idx_bt2_cb | CGNS/CGNS | train | Og |
459 | [
"Modify",
"an",
"attribute",
"in",
"dense",
"storage",
"structures",
"for",
"an",
"object"
] | [
"'herr_t",
"H5A_dense_write",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"const",
"H5O_ainfo_t",
"*",
"ainfo",
",",
"H5A_t",
"*",
"attr",
")",
"{",
"H5A_bt2_ud_common_t",
"udata",
";",
"/*",
"User",
"data",
"for",
"v2",
"B-tree",
"modify",
"*/",... | H5A_dense_write | CGNS/CGNS | train | Og |
460 | [
"v2",
"Btree",
"'modify'",
"callback",
"to",
"update",
"the",
"record",
"for",
"a",
"creation",
"order",
"index"
] | [
"'static",
"herr_t",
"H5A__dense_write_bt2_cb2",
"(",
"void",
"*",
"_record",
",",
"void",
"*",
"_op_data",
",",
"hbool_t",
"*",
"changed",
")",
"{",
"H5A_dense_bt2_corder_rec_t",
"*",
"record",
"=",
"(",
"H5A_dense_bt2_corder_rec_t",
"*",
")",
"_record",
";",
"... | H5A__dense_write_bt2_cb2 | CGNS/CGNS | train | Og |
461 | [
"v2",
"Btree",
"callback",
"for",
"dense",
"attribute",
"storage",
"deletion"
] | [
"'static",
"herr_t",
"H5A__dense_delete_bt2_cb",
"(",
"const",
"void",
"*",
"_record",
",",
"void",
"*",
"_bt2_udata",
")",
"{",
"const",
"H5A_dense_bt2_name_rec_t",
"*",
"record",
"=",
"(",
"const",
"H5A_dense_bt2_name_rec_t",
"*",
")",
"_record",
";",
"/*",
"R... | H5A__dense_delete_bt2_cb | CGNS/CGNS | train | Og |
462 | [
"v2",
"Btree",
"callback",
"for",
"dense",
"attribute",
"storage",
"iterator"
] | [
"'static",
"herr_t",
"H5A__dense_iterate_bt2_cb",
"(",
"const",
"void",
"*",
"_record",
",",
"void",
"*",
"_bt2_udata",
")",
"{",
"const",
"H5A_dense_bt2_name_rec_t",
"*",
"record",
"=",
"(",
"const",
"H5A_dense_bt2_name_rec_t",
"*",
")",
"_record",
";",
"/*",
"... | H5A__dense_iterate_bt2_cb | CGNS/CGNS | train | Og |
463 | [
"v2",
"Btree",
"'modify'",
"callback",
"to",
"update",
"the",
"data",
"for",
"an",
"attribute"
] | [
"'static",
"herr_t",
"H5A__dense_write_bt2_cb",
"(",
"void",
"*",
"_record",
",",
"void",
"*",
"_op_data",
",",
"hbool_t",
"*",
"changed",
")",
"{",
"H5A_dense_bt2_name_rec_t",
"*",
"record",
"=",
"(",
"H5A_dense_bt2_name_rec_t",
"*",
")",
"_record",
";",
"/*",
... | H5A__dense_write_bt2_cb | CGNS/CGNS | train | Og |
464 | [
"Delete",
"all",
"dense",
"storage",
"structures",
"for",
"attributes",
"on",
"an",
"object"
] | [
"'herr_t",
"H5A_dense_delete",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"H5O_ainfo_t",
"*",
"ainfo",
")",
"{",
"H5A_bt2_ud_common_t",
"udata",
";",
"/*",
"v2",
"B-tree",
"user",
"data",
"for",
"deleting",
"attributes",
"*/",
"H5HF_t",
"*",
"fhea... | H5A_dense_delete | CGNS/CGNS | train | Og |
465 | [
"Callback",
"when",
"an",
"attribute",
"is",
"located",
"in",
"an",
"index"
] | [
"'static",
"herr_t",
"H5A__dense_fnd_cb",
"(",
"const",
"H5A_t",
"*",
"attr",
",",
"hbool_t",
"*",
"took_ownership",
",",
"void",
"*",
"_user_attr",
")",
"{",
"H5A_t",
"const",
"*",
"*",
"user_attr",
"=",
"(",
"H5A_t",
"const",
"*",
"*",
")",
"_user_attr",... | H5A__dense_fnd_cb | CGNS/CGNS | train | Og |
466 | [
"v2",
"Btree",
"callback",
"for",
"dense",
"attribute",
"storage",
"record",
"removal"
] | [
"'static",
"herr_t",
"H5A__dense_remove_bt2_cb",
"(",
"const",
"void",
"*",
"_record",
",",
"void",
"*",
"_udata",
")",
"{",
"const",
"H5A_dense_bt2_name_rec_t",
"*",
"record",
"=",
"(",
"const",
"H5A_dense_bt2_name_rec_t",
"*",
")",
"_record",
";",
"H5A_bt2_ud_rm... | H5A__dense_remove_bt2_cb | CGNS/CGNS | train | Og |
467 | [
"Remove",
"an",
"attribute",
"from",
"the",
"dense",
"storage",
"of",
"an",
"object,",
"according",
"to",
"the",
"order",
"within",
"an",
"index"
] | [
"'herr_t",
"H5A_dense_remove_by_idx",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"const",
"H5O_ainfo_t",
"*",
"ainfo",
",",
"H5_index_t",
"idx_type",
",",
"H5_iter_order_t",
"order",
",",
"hsize_t",
"n",
")",
"{",
"H5HF_t",
"*",
"fheap",
"=",
"NUL... | H5A_dense_remove_by_idx | CGNS/CGNS | train | Og |
468 | [
"Open",
"an",
"attribute",
"in",
"dense",
"storage",
"structures",
"for",
"an",
"object"
] | [
"'H5A_t",
"*",
"H5A_dense_open",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"const",
"H5O_ainfo_t",
"*",
"ainfo",
",",
"const",
"char",
"*",
"name",
")",
"{",
"H5A_bt2_ud_common_t",
"udata",
";",
"/*",
"User",
"data",
"for",
"v2",
"B-tree",
"m... | H5A_dense_open | CGNS/CGNS | train | Og |
469 | [
"Remove",
"an",
"attribute",
"from",
"the",
"dense",
"storage",
"of",
"an",
"object"
] | [
"'herr_t",
"H5A_dense_remove",
"(",
"H5F_t",
"*",
"f",
",",
"hid_t",
"dxpl_id",
",",
"const",
"H5O_ainfo_t",
"*",
"ainfo",
",",
"const",
"char",
"*",
"name",
")",
"{",
"H5A_bt2_ud_rm_t",
"udata",
";",
"/*",
"User",
"data",
"for",
"v2",
"B-tree",
"record",
... | H5A_dense_remove | CGNS/CGNS | train | Og |
470 | [
"Select",
"specified",
"widget",
"in",
"it's",
"owner"
] | [
"'void",
"widget_select",
"(",
"Widget",
"*",
"w",
")",
"{",
"WGroup",
"*",
"g",
";",
"if",
"(",
"!",
"widget_get_options",
"(",
"w",
",",
"WOP_SELECTABLE",
")",
")",
"return",
";",
"g",
"=",
"GROUP",
"(",
"w",
"->",
"owner",
")",
";",
"if",
"(",
... | widget_select | MidnightCommander/mc | train | O1 |
471 | [
"Apply",
"new",
"options",
"to",
"widget"
] | [
"'void",
"widget_set_options",
"(",
"Widget",
"*",
"w",
",",
"widget_options_t",
"options",
",",
"gboolean",
"enable",
")",
"{",
"if",
"(",
"enable",
")",
"w",
"->",
"options",
"|=",
"options",
";",
"else",
"w",
"->",
"options",
"&=",
"~",
"options",
";"... | widget_set_options | MidnightCommander/mc | train | O1 |
472 | [
"Default",
"callback",
"function",
"to",
"modify",
"state",
"of",
"widget"
] | [
"'cb_ret_t",
"widget_default_set_state",
"(",
"Widget",
"*",
"w",
",",
"widget_state_t",
"state",
",",
"gboolean",
"enable",
")",
"{",
"gboolean",
"ret",
"=",
"MSG_HANDLED",
";",
"if",
"(",
"enable",
")",
"w",
"->",
"state",
"|=",
"state",
";",
"else",
"w"... | widget_default_set_state | MidnightCommander/mc | train | O1 |
473 | [
"Change",
"widget",
"position",
"and",
"size"
] | [
"'void",
"widget_set_size",
"(",
"Widget",
"*",
"w",
",",
"int",
"y",
",",
"int",
"x",
",",
"int",
"lines",
",",
"int",
"cols",
")",
"{",
"WRect",
"r",
"=",
"{",
"y",
",",
"x",
",",
"lines",
",",
"cols",
"}",
";",
"send_message",
"(",
"w",
",",... | widget_set_size | MidnightCommander/mc | train | O1 |
474 | [
"Replace",
"widget",
"in",
"the",
"dialog"
] | [
"\"void",
"widget_replace",
"(",
"Widget",
"*",
"old_w",
",",
"Widget",
"*",
"new_w",
")",
"{",
"WGroup",
"*",
"g",
"=",
"old_w",
"->",
"owner",
";",
"gboolean",
"should_focus",
"=",
"FALSE",
";",
"GList",
"*",
"holder",
";",
"if",
"(",
"g",
"->",
"w... | widget_replace | MidnightCommander/mc | train | O1 |
475 | [
"Focus",
"specified",
"widget",
"in",
"it's",
"owner"
] | [
"'static",
"void",
"widget_focus",
"(",
"Widget",
"*",
"w",
")",
"{",
"WGroup",
"*",
"g",
"=",
"w",
"->",
"owner",
";",
"if",
"(",
"g",
"==",
"NULL",
")",
"return",
";",
"if",
"(",
"WIDGET",
"(",
"g",
"->",
"current",
"->",
"data",
")",
"!=",
"... | widget_focus | MidnightCommander/mc | train | O1 |
476 | [
"Default",
"callback",
"function",
"to",
"find",
"widget"
] | [
"'GList",
"*",
"widget_default_find",
"(",
"const",
"Widget",
"*",
"w",
",",
"const",
"Widget",
"*",
"what",
")",
"{",
"return",
"(",
"w",
"!=",
"what",
"||",
"w",
"->",
"owner",
"==",
"NULL",
")",
"?",
"NULL",
":",
"g_list_find",
"(",
"CONST_GROUP",
... | widget_default_find | MidnightCommander/mc | train | O1 |
477 | [
"Look",
"up",
"key",
"event",
"of",
"widget",
"and",
"translate",
"it",
"to",
"command",
"ID"
] | [
"'long",
"widget_lookup_key",
"(",
"Widget",
"*",
"w",
",",
"int",
"key",
")",
"{",
"if",
"(",
"w",
"->",
"ext_mode",
")",
"{",
"w",
"->",
"ext_mode",
"=",
"FALSE",
";",
"return",
"keybind_lookup_keymap_command",
"(",
"w",
"->",
"ext_keymap",
",",
"key",... | widget_lookup_key | MidnightCommander/mc | train | O1 |
478 | [
"Default",
"callback",
"function",
"to",
"find",
"widget",
"by",
"widget",
"ID"
] | [
"'Widget",
"*",
"widget_default_find_by_id",
"(",
"const",
"Widget",
"*",
"w",
",",
"unsigned",
"long",
"id",
")",
"{",
"return",
"(",
"w",
"->",
"id",
"==",
"id",
"?",
"WIDGET",
"(",
"w",
")",
":",
"NULL",
")",
";",
"}'"
] | widget_default_find_by_id | MidnightCommander/mc | train | O1 |
479 | [
"Check",
"whether",
"widget",
"is",
"active",
"or",
"not"
] | [
"'gboolean",
"widget_is_active",
"(",
"const",
"void",
"*",
"w",
")",
"{",
"const",
"WGroup",
"*",
"owner",
";",
"/*",
"Is",
"group",
"top?",
"*/",
"if",
"(",
"w",
"==",
"top_dlg",
"->",
"data",
")",
"return",
"TRUE",
";",
"owner",
"=",
"CONST_WIDGET",... | widget_is_active | MidnightCommander/mc | train | O1 |
480 | [
"apply",
"optimization",
"passes",
"to",
"instructions",
"captured",
"in",
"vEmulateAndCapture"
] | [
"'void",
"runOptsOnCaptured",
"(",
"RContext",
"*",
"c",
")",
"{",
"Rewriter",
"*",
"r",
"=",
"c",
"->",
"r",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"r",
"->",
"capBBCount",
";",
"i",
"++",
")",
"{",
"CBB",
"*",
"cbb",
"=",
"r"... | runOptsOnCaptured | caps-tum/dbrew | train | O2 |
481 | [
"assumes",
"heights",
"is",
"allocated",
"with",
"hmm>M",
"floats"
] | [
"'int",
"hmmlogo_IndelValues",
"(",
"P7_HMM",
"*",
"hmm",
",",
"float",
"*",
"insert_P",
",",
"float",
"*",
"insert_expL",
",",
"float",
"*",
"occupancy",
")",
"{",
"int",
"i",
";",
"if",
"(",
"insert_P",
"!=",
"NULL",
")",
"insert_P",
"[",
"1",
"]",
... | hmmlogo_IndelValues | EddyRivasLab/hmmer | train | O3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.