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
79,147
[ "This", "is", "called", "from", "here", "and", "from", "ia64c" ]
[ "'void", "add_to_renaming_pragma_list", "(", "tree", "oldname", ",", "tree", "newname", ")", "{", "unsigned", "ix", ";", "pending_redefinition", "*", "p", ";", "FOR_EACH_VEC_SAFE_ELT", "(", "pending_redefine_extname", ",", "ix", ",", "p", ")", "if", "(", "oldnam...
add_to_renaming_pragma_list
KevinOConnor/klipper
valid
Os
79,148
[ "Print", "a", "plain", "userspecified", "message" ]
[ "'static", "void", "handle_pragma_message", "(", "cpp_reader", "*", "ARG_UNUSED", "(", "dummy", ")", ")", "{", "enum", "cpp_ttype", "token", ";", "tree", "x", ",", "<type", "ref=\"prev\"/>", "message", "=", "0", ";", "token", "=", "pragma_lex", "(", "&", "...
handle_pragma_message
KevinOConnor/klipper
valid
Os
79,162
[ "Find", "symmetric", "(w,k)minimizers", "on", "a", "DNA", "sequence" ]
[ "'void", "mg_sketch", "(", "void", "*", "km", ",", "const", "char", "*", "str", ",", "int", "len", ",", "int", "w", ",", "int", "k", ",", "uint32_t", "rid", ",", "mg128_v", "*", "p", ")", "{", "uint64_t", "shift1", "=", "2", "*", "(", "k", "-",...
mg_sketch
lh3/minigraph
valid
O2
79,181
[ "Constrains", "a", "box", "to", "fill", "a", "bounding", "box", "without", "changing", "aspect" ]
[ "'void", "rs_constrain_to_bounding_box", "(", "gint", "target_width", ",", "gint", "target_height", ",", "gint", "*", "width", ",", "gint", "*", "height", ")", "{", "g_return_if_fail", "(", "width", "!=", "NULL", ")", ";", "g_return_if_fail", "(", "height", "!...
rs_constrain_to_bounding_box
rawstudio/rawstudio
valid
O2
79,182
[ "Rotate", "a", "RS_RECT", "in", "90", "degrees", "steps" ]
[ "'void", "rs_rect_rotate", "(", "RS_RECT", "*", "in", ",", "RS_RECT", "*", "out", ",", "gint", "w", ",", "gint", "h", ",", "gint", "quarterturns", ")", "{", "gint", "x1", ",", "<type", "ref=\"prev\"/>", "y1", ";", "gint", "x2", ",", "<type", "ref=\"pre...
rs_rect_rotate
rawstudio/rawstudio
valid
O2
79,183
[ "Reset", "a", "property", "on", "a", "GObject", "to", "it's", "default" ]
[ "'void", "rs_object_class_property_reset", "(", "GObject", "*", "object", ",", "const", "gchar", "*", "property_name", ")", "{", "GObjectClass", "*", "klass", ";", "GParamSpec", "*", "spec", ";", "GValue", "value", "=", "{", "0", "}", ";", "g_return_if_fail", ...
rs_object_class_property_reset
rawstudio/rawstudio
valid
O2
79,184
[ "A", "convenience", "function", "to", "convert", "an", "EXIF", "timestamp", "to", "a", "unix", "timestamp" ]
[ "'GTime", "rs_exiftime_to_unixtime", "(", "const", "gchar", "*", "str", ")", "{", "struct", "tm", "*", "tm", ";", "GTime", "timestamp", "=", "-", "1", ";", "g_return_val_if_fail", "(", "str", "!=", "NULL", ",", "-", "1", ")", ";", "tm", "=", "g_new0", ...
rs_exiftime_to_unixtime
rawstudio/rawstudio
valid
O2
79,185
[ "A", "convenience", "function", "to", "convert", "an", "unix", "timestamp", "to", "an", "EXIF", "timestamp" ]
[ "'gchar", "*", "rs_unixtime_to_exiftime", "(", "GTime", "timestamp", ")", "{", "struct", "tm", "*", "tm", "=", "g_new0", "(", "struct", "tm", ",", "1", ")", ";", "time_t", "tt", "=", "(", "time_t", ")", "timestamp", ";", "gchar", "*", "result", "=", ...
rs_unixtime_to_exiftime
rawstudio/rawstudio
valid
O2
79,186
[ "Return", "a", "cache", "directory", "for", "filename" ]
[ "'gchar", "*", "rs_dotdir_get", "(", "const", "gchar", "*", "filename", ")", "{", "gchar", "*", "ret", "=", "NULL", ";", "gchar", "*", "directory", "=", "NULL", ";", "GString", "*", "dotdir", "=", "NULL", ";", "gboolean", "dotdir_is_local", "=", "FALSE",...
rs_dotdir_get
rawstudio/rawstudio
valid
O2
79,187
[ "Normalize", "a", "RS_RECT,", "ie", "makes", "sure", "that", "x1", "<", "x2", "and", "y1<y2" ]
[ "'void", "rs_rect_normalize", "(", "RS_RECT", "*", "in", ",", "RS_RECT", "*", "out", ")", "{", "gint", "n", ";", "gint", "x1", ",", "<type", "ref=\"prev\"/>", "y1", ";", "gint", "x2", ",", "<type", "ref=\"prev\"/>", "y2", ";", "g_return_if_fail", "(", "i...
rs_rect_normalize
rawstudio/rawstudio
valid
O2
79,188
[ "Rewritten", "from", "Exiftools", "lib", "Image", "ExifTool", "Canon" ]
[ "'gfloat", "CanonEv", "(", "gint", "val", ")", "{", "gfloat", "sign", ";", "gfloat", "frac", ";", "/*", "temporarily", "make", "the", "number", "positive", "*/", "if", "(", "val", "<", "0", ")", "{", "val", "=", "-", "val", ";", "sign", "=", "-", ...
CanonEv
rawstudio/rawstudio
valid
O2
79,189
[ "Split", "a", "char", "with", "a", "given", "delimiter" ]
[ "'GList", "*", "rs_split_string", "(", "const", "gchar", "*", "str", ",", "const", "gchar", "*", "delimiters", ")", "{", "g_return_val_if_fail", "(", "str", "!=", "NULL", ",", "NULL", ")", ";", "g_return_val_if_fail", "(", "delimiters", "!=", "NULL", ",", ...
rs_split_string
rawstudio/rawstudio
valid
O2
79,190
[ "Copy", "a", "file", "from", "one", "location", "to", "another" ]
[ "'gboolean", "rs_file_copy", "(", "const", "gchar", "*", "source", ",", "const", "gchar", "*", "destination", ")", "{", "gboolean", "ret", "=", "FALSE", ";", "const", "gint", "buffer_size", "=", "1024", "*", "1024", ";", "gint", "source_fd", ",", "<type", ...
rs_file_copy
rawstudio/rawstudio
valid
O2
79,191
[ "Removes", "tailing", "spaces", "from", "a", "gchar" ]
[ "'gchar", "*", "rs_remove_tailing_spaces", "(", "gchar", "*", "str", ",", "gboolean", "inplace", ")", "{", "gint", "i", ";", "gchar", "*", "ret", "=", "str", ";", "g_return_val_if_fail", "(", "str", "!=", "NULL", ",", "NULL", ")", ";", "if", "(", "!", ...
rs_remove_tailing_spaces
rawstudio/rawstudio
valid
O2
79,192
[ "A", "version", "of", "atof()", "that", "isn't", "locale", "specific", "@note", "This", "doesn't", "do", "any", "error", "checking!" ]
[ "'gdouble", "rs_atof", "(", "const", "gchar", "*", "str", ")", "{", "gdouble", "result", "=", "0.0f", ";", "gdouble", "div", "=", "1.0f", ";", "gboolean", "point_passed", "=", "FALSE", ";", "gchar", "*", "ptr", "=", "(", "gchar", "*", ")", "str", ";"...
rs_atof
rawstudio/rawstudio
valid
O2
79,271
[ "Key", "Agreement", "Recipient", "Info", "(KARI)", "routines" ]
[ "'int", "CMS_RecipientInfo_kari_get0_alg", "(", "CMS_RecipientInfo", "*", "ri", ",", "X509_ALGOR", "*", "*", "palg", ",", "ASN1_OCTET_STRING", "*", "*", "pukm", ")", "{", "if", "(", "ri", "->", "type", "!=", "CMS_RECIPINFO_AGREE", ")", "{", "CMSerr", "(", "C...
CMS_RecipientInfo_kari_get0_alg
rbsec/sslscan
valid
O3
79,272
[ "Encrypt", "content", "key", "in", "key", "agreement", "recipient", "info" ]
[ "'int", "cms_RecipientInfo_kari_encrypt", "(", "CMS_ContentInfo", "*", "cms", ",", "CMS_RecipientInfo", "*", "ri", ")", "{", "CMS_KeyAgreeRecipientInfo", "*", "kari", ";", "CMS_EncryptedContentInfo", "*", "ec", ";", "CMS_RecipientEncryptedKey", "*", "rek", ";", "STACK...
cms_RecipientInfo_kari_encrypt
rbsec/sslscan
valid
O3
79,273
[ "Initialise", "a", "kari", "based", "on", "passed", "certificate", "and", "key" ]
[ "'int", "cms_RecipientInfo_kari_init", "(", "CMS_RecipientInfo", "*", "ri", ",", "X509", "*", "recip", ",", "EVP_PKEY", "*", "pk", ",", "unsigned", "int", "flags", ")", "{", "CMS_KeyAgreeRecipientInfo", "*", "kari", ";", "CMS_RecipientEncryptedKey", "*", "rek", ...
cms_RecipientInfo_kari_init
rbsec/sslscan
valid
O3
79,319
[ "Look", "through", "a", "list", "of", "name", "value", "pairs" ]
[ "'int", "opt_pair", "(", "const", "char", "*", "name", ",", "const", "OPT_PAIR", "*", "pairs", ",", "int", "*", "result", ")", "{", "const", "OPT_PAIR", "*", "pp", ";", "for", "(", "pp", "=", "pairs", ";", "pp", "->", "name", ";", "pp", "++", ")"...
opt_pair
guanzhi/GmSSL
valid
O1
79,320
[ "Parse", "a", "format", "string,", "put", "it", "into", "result;", "return", "0", "on", "failure,", "else", "1" ]
[ "'int", "opt_format", "(", "const", "char", "*", "s", ",", "unsigned", "long", "flags", ",", "int", "*", "result", ")", "{", "switch", "(", "*", "s", ")", "{", "default:", "return", "0", ";", "case", "\\'D\\'", ":", "case", "\\'d\\'", ":", "if", "(...
opt_format
guanzhi/GmSSL
valid
O1
79,321
[ "Parse", "an", "intmax_t,", "put", "it", "into", "result;", "return", "0", "on", "failure,", "else", "1" ]
[ "'int", "opt_imax", "(", "const", "char", "*", "value", ",", "intmax_t", "*", "result", ")", "{", "int", "oerrno", "=", "errno", ";", "intmax_t", "m", ";", "char", "*", "endp", ";", "errno", "=", "0", ";", "m", "=", "strtoimax", "(", "value", ",", ...
opt_imax
guanzhi/GmSSL
valid
O1
79,322
[ "Return", "the", "rest", "of", "the", "arguments", "after", "parsing", "flags" ]
[ "'char", "*", "*", "opt_rest", "(", "void", ")", "{", "return", "&", "argv", "[", "opt_index", "]", ";", "}'" ]
opt_rest
guanzhi/GmSSL
valid
O1
79,323
[ "Print", "an", "error", "message", "about", "a", "failed", "format", "parse" ]
[ "'int", "opt_format_error", "(", "const", "char", "*", "s", ",", "unsigned", "long", "flags", ")", "{", "OPT_PAIR", "*", "ap", ";", "if", "(", "flags", "==", "OPT_FMT_PEMDER", ")", "BIO_printf", "(", "bio_err", ",", "\"%s:", "Bad", "format", "\\\\\"%s\\\\\...
opt_format_error
guanzhi/GmSSL
valid
O1
79,324
[ "Set", "up", "the", "arg", "parsing" ]
[ "'char", "*", "opt_init", "(", "int", "ac", ",", "char", "*", "*", "av", ",", "const", "OPTIONS", "*", "o", ")", "{", "/*", "Store", "state.", "*/", "argc", "=", "ac", ";", "argv", "=", "av", ";", "opt_index", "=", "1", ";", "opts", "=", "o", ...
opt_init
guanzhi/GmSSL
valid
O1
79,325
[ "How", "many", "items", "in", "remaining", "args?" ]
[ "'int", "opt_num_rest", "(", "void", ")", "{", "int", "i", "=", "0", ";", "char", "*", "*", "pp", ";", "for", "(", "pp", "=", "opt_rest", "()", ";", "*", "pp", ";", "pp", "++", ",", "i", "++", ")", "continue;", "return", "i", ";", "}'" ]
opt_num_rest
guanzhi/GmSSL
valid
O1
79,326
[ "Parse", "a", "cipher", "name,", "put", "it", "in", "EVP_CIPHER;", "return", "0", "on", "failure,", "else", "1" ]
[ "'int", "opt_cipher", "(", "const", "char", "*", "name", ",", "const", "EVP_CIPHER", "*", "*", "cipherp", ")", "{", "*", "cipherp", "=", "EVP_get_cipherbyname", "(", "name", ")", ";", "if", "(", "*", "cipherp", ")", "return", "1", ";", "BIO_printf", "(...
opt_cipher
guanzhi/GmSSL
valid
O1
79,327
[ "Parse", "an", "int,", "put", "it", "into", "result;", "return", "0", "on", "failure,", "else", "1" ]
[ "'int", "opt_int", "(", "const", "char", "*", "value", ",", "int", "*", "result", ")", "{", "long", "l", ";", "if", "(", "!", "opt_long", "(", "value", ",", "&", "l", ")", ")", "return", "0", ";", "*", "result", "=", "(", "int", ")", "l", ";"...
opt_int
guanzhi/GmSSL
valid
O1
79,342
[ "Perform", "get_thread_are", "call", "along", "with", "printing", "the", "expected", "output", "and", "checking", "the", "result", "against", "the", "argument", "of", "the", "previous", "set_thread_area", "call,", "if", "it", "had", "place" ]
[ "'static", "void", "get_thread_area", "(", "kernel_ulong_t", "ptr_val", ",", "const", "char", "*", "ptr_str", ",", "bool", "valid", ",", "long", "set_rc", ",", "kernel_ulong_t", "expected", ")", "{", "struct", "user_desc", "*", "ptr", "=", "(", "struct", "us...
get_thread_area
strace/strace
valid
O2
79,343
[ "Perform", "set_thread_area", "call", "along", "with", "printing", "the", "expected", "output" ]
[ "'static", "long", "set_thread_area", "(", "kernel_ulong_t", "ptr_val", ",", "const", "char", "*", "ptr_str", ",", "bool", "valid", ",", "const", "char", "*", "entry_number_str", ")", "{", "struct", "user_desc", "*", "ptr", "=", "(", "struct", "user_desc", "...
set_thread_area
strace/strace
valid
O2
79,353
[ "SRP", "test", "vectors", "from", "RFC5054" ]
[ "'static", "int", "run_srp_kat", "(", "void", ")", "{", "int", "ret", "=", "0", ";", "BIGNUM", "*", "s", "=", "NULL", ";", "BIGNUM", "*", "v", "=", "NULL", ";", "BIGNUM", "*", "a", "=", "NULL", ";", "BIGNUM", "*", "b", "=", "NULL", ";", "BIGNUM...
run_srp_kat
rbsec/sslscan
valid
O3
79,355
[ "Return", "true", "iff", "the", "DIGEST_LEN", "bytes", "in", "digest", "are", "all", "zero" ]
[ "'int", "tor_digest_is_zero", "(", "const", "char", "*", "digest", ")", "{", "static", "const", "uint8_t", "ZERO_DIGEST", "[]", "=", "{", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ...
tor_digest_is_zero
carsenk/denarius
valid
O2
79,356
[ "As", "tor_parse_long(),", "but", "return", "an", "unsigned", "long" ]
[ "'unsigned", "long", "tor_parse_ulong", "(", "const", "char", "*", "s", ",", "int", "base", ",", "unsigned", "long", "min", ",", "unsigned", "long", "max", ",", "int", "*", "ok", ",", "char", "*", "*", "next", ")", "{", "char", "*", "endptr", ";", ...
tor_parse_ulong
carsenk/denarius
valid
O2
79,357
[ "Return", "true", "iff", "the", "'len'", "bytes", "at", "'mem'", "are", "all", "zero" ]
[ "\"int", "tor_mem_is_zero", "(", "const", "char", "*", "mem", ",", "size_t", "len", ")", "{", "static", "const", "char", "ZERO", "[]", "=", "{", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ...
tor_mem_is_zero
carsenk/denarius
valid
O2
79,358
[ "Return", "the", "number", "of", "bits", "set", "in", "<b>v<", "b>" ]
[ "'int", "n_bits_set_u8", "(", "uint8_t", "v", ")", "{", "static", "const", "int", "nybble_table", "[]", "=", "{", "0", ",", "/*", "0000", "*/", "1", ",", "/*", "0001", "*/", "1", ",", "/*", "0010", "*/", "2", ",", "/*", "0011", "*/", "1", ",", ...
n_bits_set_u8
carsenk/denarius
valid
O2
79,377
[ "gzip", "a", "log", "file" ]
[ "'void", "OS_CompressLog", "(", "const", "char", "*", "logfile", ")", "{", "FILE", "*", "log", ";", "gzFile", "zlog", ";", "char", "logfileGZ", "[", "OS_FLSIZE", "+", "1", "]", ";", "int", "len", ",", "<type", "ref=\"prev\"/>", "err", ";", "char", "buf...
OS_CompressLog
ossec/ossec-hids
valid
Oa
79,393
[ "Helper", "used", "to", "add", "an", "encoded", "certs", "to", "a", "cert", "cell" ]
[ "'static", "void", "add_certs_cell_cert_helper", "(", "certs_cell_t", "*", "certs_cell", ",", "uint8_t", "cert_type", ",", "const", "uint8_t", "*", "cert_encoded", ",", "size_t", "cert_len", ")", "{", "tor_assert", "(", "cert_len", "<=", "UINT16_MAX", ")", ";", ...
add_certs_cell_cert_helper
carsenk/denarius
valid
O2
79,394
[ "Free", "all", "storage", "held", "by", "<b>state<", "b>" ]
[ "'void", "or_handshake_state_free", "(", "or_handshake_state_t", "*", "state", ")", "{", "if", "(", "!", "state", ")", "return", ";", "crypto_digest_free", "(", "state", "->", "digest_sent", ")", ";", "crypto_digest_free", "(", "state", "->", "digest_received", ...
or_handshake_state_free
carsenk/denarius
valid
O2
79,395
[ "Block", "all", "future", "attempts", "to", "renegotiate", "on", "'conn'" ]
[ "'void", "connection_or_block_renegotiation", "(", "or_connection_t", "*", "conn", ")", "{", "tor_tls_t", "*", "tls", "=", "conn", "->", "tls", ";", "if", "(", "!", "tls", ")", "return", ";", "tor_tls_set_renegotiate_callback", "(", "tls", ",", "NULL", ",", ...
connection_or_block_renegotiation
carsenk/denarius
valid
O2
79,396
[ "Deallocate", "the", "global", "Extended", "ORPort", "identifier", "list" ]
[ "'void", "connection_or_clear_ext_or_id_map", "(", "void", ")", "{", "digestmap_free", "(", "orconn_ext_or_id_map", ",", "NULL", ")", ";", "orconn_ext_or_id_map", "=", "NULL", ";", "}'" ]
connection_or_clear_ext_or_id_map
carsenk/denarius
valid
O2
79,397
[ "We've", "received", "an", "EOF", "from", "<b>conn<", "b>" ]
[ "'int", "connection_or_reached_eof", "(", "or_connection_t", "*", "conn", ")", "{", "tor_assert", "(", "conn", ")", ";", "log_info", "(", "LD_OR", ",", "\"OR", "connection", "reached", "EOF.", "Closing.\"", ")", ";", "connection_or_close_normally", "(", "conn", ...
connection_or_reached_eof
carsenk/denarius
valid
O2
79,398
[ "Clear", "all", "identities", "in", "OR", "conns" ]
[ "'void", "connection_or_clear_identity_map", "(", "void", ")", "{", "smartlist_t", "*", "conns", "=", "get_connection_array", "()", ";", "SMARTLIST_FOREACH", "(", "conns", ",", "connection_t", "*", ",", "conn", ",", "{", "if", "(conn->type", "==", "CONN_TYPE_OR)",...
connection_or_clear_identity_map
carsenk/denarius
valid
O2
79,424
[ "Simple", "producev()", "and", "produceva()", "verification" ]
[ "'static", "void", "do_test_srkt_leak", "(", "void", ")", "{", "rd_kafka_conf_t", "*", "conf", ";", "char", "buf", "[", "2000", "]", ";", "rd_kafka_t", "*", "rk", ";", "rd_kafka_resp_err_t", "err", ";", "rd_kafka_error_t", "*", "error", ";", "rd_kafka_vu_t", ...
do_test_srkt_leak
edenhill/librdkafka
valid
O2
79,453
[ "Expected", "key", "and", "signature", "types" ]
[ "'__owur", "static", "int", "parse_expected_key_type", "(", "int", "*", "ptype", ",", "const", "char", "*", "value", ")", "{", "int", "nid", ";", "const", "EVP_PKEY_ASN1_METHOD", "*", "ameth", ";", "if", "(", "value", "==", "NULL", ")", "return", "0", ";...
parse_expected_key_type
rbsec/sslscan
valid
O3
79,482
[ "refer", "to", "ThumbExpandImm", "in", "the", "manual" ]
[ "'static", "uint32_t", "__thumb_expand_imm", "(", "uint32_t", "i", ",", "uint32_t", "imm3", ",", "uint32_t", "imm8", ")", "{", "uint32_t", "imm12", "=", "(", "i", "<<", "11", ")", "|", "(", "imm3", "<<", "8", ")", "|", "imm8", ";", "uint32_t", "m", "...
__thumb_expand_imm
LiteOS/LiteOS_Lab
valid
Og
79,496
[ "FUNCTION", "bfd_get_full_section_contents", "SYNOPSIS", "bfd_boolean", "bfd_get_full_section_contents", "(bfd", "abfd,", "asection", "section,", "bfd_byte", "ptr);", "DESCRIPTION", "Read", "all", "data", "from" ]
[ "'bfd_boolean", "bfd_get_full_section_contents", "(", "bfd", "*", "abfd", ",", "sec_ptr", "sec", ",", "bfd_byte", "*", "*", "ptr", ")", "{", "bfd_size_type", "sz", ";", "bfd_byte", "*", "p", "=", "*", "ptr", ";", "bfd_boolean", "ret", ";", "bfd_size_type", ...
bfd_get_full_section_contents
KevinOConnor/klipper
valid
Os
79,497
[ "Compress", "data", "of", "the", "size", "specified", "in" ]
[ "'static", "bfd_size_type", "bfd_compress_section_contents", "(", "bfd", "*", "abfd", ",", "sec_ptr", "sec", ",", "bfd_byte", "*", "uncompressed_buffer", ",", "bfd_size_type", "uncompressed_size", ")", "{", "uLong", "compressed_size", ";", "bfd_byte", "*", "buffer", ...
bfd_compress_section_contents
KevinOConnor/klipper
valid
Os
79,498
[ "FUNCTION", "bfd_is_section_compressed", "SYNOPSIS", "bfd_boolean", "bfd_is_section_compressed", "(bfd", "abfd,", "asection", "section);", "DESCRIPTION", "Return", "@code{TRUE}", "if" ]
[ "'bfd_boolean", "bfd_is_section_compressed", "(", "bfd", "*", "abfd", ",", "sec_ptr", "sec", ")", "{", "int", "compression_header_size", ";", "bfd_size_type", "uncompressed_size", ";", "return", "(", "bfd_is_section_compressed_with_header", "(", "abfd", ",", "sec", ",...
bfd_is_section_compressed
KevinOConnor/klipper
valid
Os
79,499
[ "FUNCTION", "bfd_is_section_compressed_with_header", "SYNOPSIS", "bfd_boolean", "bfd_is_section_compressed_with_header", "(bfd", "abfd,", "asection", "section,", "int", "compression_header_size_p,", "bfd_size_type", "uncompressed_size_p);", "DESCRIPTION", "Return", "@code{TRUE}", "if...
[ "'bfd_boolean", "bfd_is_section_compressed_with_header", "(", "bfd", "*", "abfd", ",", "sec_ptr", "sec", ",", "int", "*", "compression_header_size_p", ",", "bfd_size_type", "*", "uncompressed_size_p", ")", "{", "bfd_byte", "header", "[", "MAX_COMPRESSION_HEADER_SIZE", "...
bfd_is_section_compressed_with_header
KevinOConnor/klipper
valid
Os
79,517
[ "This", "is", "the", "old", "name", "for", "cmd_Groups", "retained", "for", "backwards", "compatibility" ]
[ "'static", "int", "cmd_Curves", "(", "SSL_CONF_CTX", "*", "cctx", ",", "const", "char", "*", "value", ")", "{", "return", "cmd_Groups", "(", "cctx", ",", "value", ")", ";", "}'" ]
cmd_Curves
rbsec/sslscan
valid
O3
79,528
[ "Intern", "a", "string", "and", "return", "string", "object" ]
[ "\"GCstr", "*", "lj_str_new", "(", "lua_State", "*", "L", ",", "const", "char", "*", "str", ",", "size_t", "lenx", ")", "{", "global_State", "*", "g", ";", "GCstr", "*", "s", ";", "GCobj", "*", "o", ";", "MSize", "len", "=", "(", "MSize", ")", "l...
lj_str_new
ZigzagAK/ngx_zookeeper_lua
valid
Oa
79,529
[ "Main", "entry", "method", "of", "the", "response", "generation" ]
[ "'TS_RESP", "*", "TS_RESP_create_response", "(", "TS_RESP_CTX", "*", "ctx", ",", "BIO", "*", "req_bio", ")", "{", "ASN1_OBJECT", "*", "policy", ";", "TS_RESP", "*", "response", ";", "int", "result", "=", "0", ";", "ts_RESP_CTX_init", "(", "ctx", ")", ";", ...
TS_RESP_create_response
rbsec/sslscan
valid
O3
79,530
[ "Default", "callback", "for", "response", "generation" ]
[ "'static", "ASN1_INTEGER", "*", "def_serial_cb", "(", "struct", "TS_resp_ctx", "*", "ctx", ",", "void", "*", "data", ")", "{", "ASN1_INTEGER", "*", "serial", "=", "ASN1_INTEGER_new", "()", ";", "if", "(", "serial", "==", "NULL", ")", "goto", "err", ";", ...
def_serial_cb
rbsec/sslscan
valid
O3
79,630
[ "on_new()", "interceptor", "to", "set", "up", "message", "interceptors" ]
[ "'static", "rd_kafka_resp_err_t", "on_new", "(", "rd_kafka_t", "*", "rk", ",", "const", "rd_kafka_conf_t", "*", "conf", ",", "void", "*", "ic_opaque", ",", "char", "*", "errstr", ",", "size_t", "errstr_size", ")", "{", "rd_kafka_interceptor_add_on_send", "(", "r...
on_new
edenhill/librdkafka
valid
O2
79,637
[ "Function", "definitions", "for", "certificate", "and", "key", "loading" ]
[ "'X509", "*", "TS_CONF_load_cert", "(", "const", "char", "*", "file", ")", "{", "BIO", "*", "cert", "=", "NULL", ";", "X509", "*", "x", "=", "NULL", ";", "if", "(", "(", "cert", "=", "BIO_new_file", "(", "file", ",", "\"r\"", ")", ")", "==", "NUL...
TS_CONF_load_cert
rbsec/sslscan
valid
O3
79,639
[ "Return", "the", "recorded", "merge", "weight" ]
[ "'unsigned", "gcov_get_merge_weight", "(", "void", ")", "{", "return", "gcov_merge_weight", ";", "}'" ]
gcov_get_merge_weight
KevinOConnor/klipper
valid
Os
79,640
[ "Driver", "to", "normalize", "profile", "counters" ]
[ "'int", "gcov_profile_normalize", "(", "struct", "gcov_info", "*", "profile", ",", "gcov_type", "max_val", ")", "{", "struct", "gcov_info", "*", "gi_ptr", ";", "gcov_type", "curr_max_val", "=", "0", ";", "unsigned", "f_ix", ";", "unsigned", "int", "i", ";", ...
gcov_profile_normalize
KevinOConnor/klipper
valid
Os
79,641
[ "Read", "a", "counter", "value", "from", "gcov_value_buf", "array" ]
[ "'gcov_type", "gcov_read_counter_mem", "(", "void", ")", "{", "gcov_type", "ret", ";", "gcc_assert", "(", "gcov_value_buf_pos", "<", "gcov_value_buf_size", ")", ";", "ret", "=", "*", "(", "gcov_value_buf", "+", "gcov_value_buf_pos", ")", ";", "++", "gcov_value_buf...
gcov_read_counter_mem
KevinOConnor/klipper
valid
Os
79,642
[ "Handler", "for", "reading", "summary", "tag" ]
[ "'static", "void", "tag_summary", "(", "unsigned", "tag", "ATTRIBUTE_UNUSED", ",", "unsigned", "length", "ATTRIBUTE_UNUSED", ")", "{", "struct", "gcov_summary", "summary", ";", "gcov_read_summary", "(", "&", "summary", ")", ";", "}'" ]
tag_summary
KevinOConnor/klipper
valid
Os
79,643
[ "Handler", "for", "reading", "flow", "arc", "tag" ]
[ "'static", "void", "tag_arcs", "(", "unsigned", "tag", "ATTRIBUTE_UNUSED", ",", "unsigned", "length", "ATTRIBUTE_UNUSED", ")", "{", "/*", "TBD:", "gcov-tool", "currently", "does", "not", "handle", "gcno", "files.", "Assert", "here.", "*/", "gcc_unreachable", "()",...
tag_arcs
KevinOConnor/klipper
valid
Os
79,644
[ "Handler", "for", "reading", "line", "tag" ]
[ "'static", "void", "tag_lines", "(", "unsigned", "tag", "ATTRIBUTE_UNUSED", ",", "unsigned", "length", "ATTRIBUTE_UNUSED", ")", "{", "/*", "TBD:", "gcov-tool", "currently", "does", "not", "handle", "gcno", "files.", "Assert", "here.", "*/", "gcc_unreachable", "()"...
tag_lines
KevinOConnor/klipper
valid
Os
79,645
[ "Handler", "for", "reading", "function", "tag" ]
[ "'static", "void", "tag_function", "(", "unsigned", "tag", "ATTRIBUTE_UNUSED", ",", "unsigned", "length", "ATTRIBUTE_UNUSED", ")", "{", "int", "i", ";", "/*", "write", "out", "previous", "fn_info.", "*/", "if", "(", "num_fn_info", ")", "{", "set_fn_ctrs", "(",...
tag_function
KevinOConnor/klipper
valid
Os
79,646
[ "Performing", "FN", "upon", "single", "counters" ]
[ "'static", "void", "__gcov_single_counter_op", "(", "gcov_type", "*", "counters", ",", "unsigned", "n_counters", ",", "counter_op_fn", "fn", ",", "void", "*", "data1", ",", "void", "*", "data2", ")", "{", "unsigned", "i", ",", "<type", "ref=\"prev\"/>", "n_mea...
__gcov_single_counter_op
KevinOConnor/klipper
valid
Os
79,647
[ "Extract", "the", "basename", "of", "the", "filename", "NAME" ]
[ "'static", "char", "*", "extract_file_basename", "(", "const", "char", "*", "name", ")", "{", "char", "*", "str", ";", "int", "len", "=", "0", ";", "char", "*", "path", "=", "xstrdup", "(", "name", ")", ";", "char", "sep_str", "[", "2", "]", ";", ...
extract_file_basename
KevinOConnor/klipper
valid
Os
79,648
[ "Driver", "for", "scaling", "profile", "counters" ]
[ "'int", "gcov_profile_scale", "(", "struct", "gcov_info", "*", "profile", ",", "float", "scale_factor", ",", "int", "n", ",", "int", "d", ")", "{", "struct", "gcov_info", "*", "gi_ptr", ";", "unsigned", "f_ix", ";", "if", "(", "verbose", ")", "fnotice", ...
gcov_profile_scale
KevinOConnor/klipper
valid
Os
79,649
[ "Scaling", "the", "counter", "value", "V", "by", "multiplying", "DATA2", "DATA1" ]
[ "'static", "gcov_type", "int_scale", "(", "gcov_type", "v", ",", "void", "*", "data1", ",", "void", "*", "data2", ")", "{", "int", "n", "=", "*", "(", "int", "*", ")", "data1", ";", "int", "d", "=", "*", "(", "int", "*", ")", "data2", ";", "ret...
int_scale
KevinOConnor/klipper
valid
Os
79,650
[ "Performing", "FN", "upon", "arc", "counters" ]
[ "'static", "void", "__gcov_add_counter_op", "(", "gcov_type", "*", "counters", ",", "unsigned", "n_counters", ",", "counter_op_fn", "fn", ",", "void", "*", "data1", ",", "void", "*", "data2", ")", "{", "for", "(", ";", "n_counters", ";", "counters", "++", ...
__gcov_add_counter_op
KevinOConnor/klipper
valid
Os
79,651
[ "Performing", "FN", "upon", "indirectcall", "profile", "counters" ]
[ "'static", "void", "__gcov_icall_topn_counter_op", "(", "gcov_type", "*", "counters", ",", "unsigned", "n_counters", ",", "counter_op_fn", "fn", ",", "void", "*", "data1", ",", "void", "*", "data2", ")", "{", "unsigned", "i", ";", "gcc_assert", "(", "!", "("...
__gcov_icall_topn_counter_op
KevinOConnor/klipper
valid
Os
79,652
[ "Handler", "for", "reading", "counters", "array", "tag", "with", "value", "as", "TAG", "and", "length", "of", "LENGTH" ]
[ "'static", "void", "tag_counters", "(", "unsigned", "tag", ",", "unsigned", "length", ")", "{", "unsigned", "n_counts", "=", "GCOV_TAG_COUNTER_NUM", "(", "length", ")", ";", "gcov_type", "*", "values", ";", "unsigned", "ix", ";", "unsigned", "tag_ix", ";", "...
tag_counters
KevinOConnor/klipper
valid
Os
79,653
[ "Handler", "for", "reading", "block", "tag" ]
[ "'static", "void", "tag_blocks", "(", "unsigned", "tag", "ATTRIBUTE_UNUSED", ",", "unsigned", "length", "ATTRIBUTE_UNUSED", ")", "{", "/*", "TBD:", "gcov-tool", "currently", "does", "not", "handle", "gcno", "files.", "Assert", "here.", "*/", "gcc_unreachable", "()...
tag_blocks
KevinOConnor/klipper
valid
Os
79,654
[ "Scaling", "the", "counter", "value", "V", "by", "multiplying", "(float)", "DATA1" ]
[ "'static", "gcov_type", "fp_scale", "(", "gcov_type", "v", ",", "void", "*", "data1", ",", "void", "*", "data2", "ATTRIBUTE_UNUSED", ")", "{", "float", "f", "=", "*", "(", "float", "*", ")", "data1", ";", "return", "(", "gcov_type", ")", "(", "v", "*...
fp_scale
KevinOConnor/klipper
valid
Os
79,655
[ "Set", "the", "ctrs", "field", "in", "gcov_fn_info", "object", "FN_INFO" ]
[ "'static", "void", "set_fn_ctrs", "(", "struct", "gcov_fn_info", "*", "fn_info", ")", "{", "int", "j", "=", "0", ",", "<type", "ref=\"prev\"/>", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "GCOV_COUNTERS", ";", "i", "++", ")", "{", "if", "(...
set_fn_ctrs
KevinOConnor/klipper
valid
Os
79,656
[ "Performing", "FN", "upon", "ior", "counters" ]
[ "'static", "void", "__gcov_ior_counter_op", "(", "gcov_type", "*", "counters", "ATTRIBUTE_UNUSED", ",", "unsigned", "n_counters", "ATTRIBUTE_UNUSED", ",", "counter_op_fn", "fn", "ATTRIBUTE_UNUSED", ",", "void", "*", "data1", "ATTRIBUTE_UNUSED", ",", "void", "*", "data...
__gcov_ior_counter_op
KevinOConnor/klipper
valid
Os
79,660
[ "Here", "we", "test", "the", "interfaces", "into", "Dwarf_Line_Context" ]
[ "'static", "void", "print_line_context_record", "(", "Dwarf_Debug", "dbg", ",", "Dwarf_Line_Context", "line_context", ")", "{", "int", "vres", "=", "0", ";", "Dwarf_Unsigned", "lsecoff", "=", "0", ";", "Dwarf_Unsigned", "version", "=", "0", ";", "Dwarf_Signed", ...
print_line_context_record
LLNL/STAT
valid
O2