function_name
stringlengths 3
62
| complete_function
stringlengths 31
96.6k
| Body_of_function
stringlengths 15
96.6k
| Unknown_function_name
stringlengths 36
96.6k
| Function_body_only
stringlengths 0
96.5k
| Replace_function_name_and_variable_name
stringlengths 26
96.5k
| S-Expression_of_complete_function
stringlengths 281
1.38M
| S-Expression_of_Replace_function_name_and_variable_name
stringlengths 278
1.38M
| S-Expression_of_Unknown_function_name
stringlengths 295
1.38M
| Root Node
stringlengths 165
276k
|
---|---|---|---|---|---|---|---|---|---|
rtnl_newlink | "static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh)\n{\n\tstruct net *net = sock_net(...TRUNCATED) | "static int (struct sk_buff *skb, struct nlmsghdr *nlh)\n{\n\tstruct net *net = sock_net(skb->sk);\n(...TRUNCATED) | "static int unknown_functionName(struct sk_buff *skb, struct nlmsghdr *nlh)\n{\n\tstruct net *net = (...TRUNCATED) | "struct net *net = sock_net(skb->sk);\n\tconst struct rtnl_link_ops *ops;\n\tconst struct rtnl_link_(...TRUNCATED) | "static int function_1(struct type_1 *skb, struct type_2 *nlh)\n{\n\tstruct type_3 *type_3 = var_1(s(...TRUNCATED) | "(translation_unit \"static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh)\\n{\\n\tstru(...TRUNCATED) | "(translation_unit \"static int function_1(struct type_1 *skb, struct type_2 *nlh)\\n{\\n\tstruct ty(...TRUNCATED) | "(translation_unit \"static int unknown_functionName(struct sk_buff *skb, struct nlmsghdr *nlh)\\n{\(...TRUNCATED) | "(translation_unit (function_definition (storage_class_specifier) type: (primitive_type) declarator:(...TRUNCATED) |
snd_mem_proc_read | "static int snd_mem_proc_read(char *page, char **start, off_t off,\n\t\t\t int count, int *eof, (...TRUNCATED) | "static int (char *page, char **start, off_t off,\n\t\t\t int count, int *eof, void *data)\n{\n\(...TRUNCATED) | "static int unknown_functionName(char *page, char **start, off_t off,\n\t\t\t int count, int *eo(...TRUNCATED) | "int len = 0;\n\tlong pages = snd_allocated_pages >> (PAGE_SHIFT-12);\n\tstruct snd_mem_list *mem;\n(...TRUNCATED) | "static int function_1(char *var_5, char **start, type_1 off,\n\t\t\t int var_7, int *eof, void (...TRUNCATED) | "(translation_unit \"static int snd_mem_proc_read(char *page, char **start, off_t off,\\n\t\t\t (...TRUNCATED) | "(translation_unit \"static int function_1(char *var_5, char **start, type_1 off,\\n\t\t\t int v(...TRUNCATED) | "(translation_unit \"static int unknown_functionName(char *page, char **start, off_t off,\\n\t\t\t (...TRUNCATED) | "(translation_unit (function_definition (storage_class_specifier) type: (primitive_type) declarator:(...TRUNCATED) |
PHP_FUNCTION | "PHP_FUNCTION(pcntl_fork)\n{\n\tpid_t id;\n\n\tid = fork();\n\tif (id == -1) {\n\t\tPCNTL_G(last_err(...TRUNCATED) | "(pcntl_fork)\n{\n\tpid_t id;\n\n\tid = fork();\n\tif (id == -1) {\n\t\tPCNTL_G(last_error) = errno;(...TRUNCATED) | "unknown_functionName(pcntl_fork)\n{\n\tpid_t id;\n\n\tid = fork();\n\tif (id == -1) {\n\t\tPCNTL_G((...TRUNCATED) | "pid_t id;\n\n\tid = fork();\n\tif (id == -1) {\n\t\tPCNTL_G(last_error) = errno;\n\t\tphp_error_doc(...TRUNCATED) | "type_1(function_1)\n{\n\ttype_2 var_2;\n\n\tvar_2 = var_1();\n\tif (var_2 == -1) {\n\t\tvar_3(last_(...TRUNCATED) | "(translation_unit \"PHP_FUNCTION(pcntl_fork)\\n{\\n\tpid_t id;\\n\\n\tid = fork();\\n\tif (id == -1(...TRUNCATED) | "(translation_unit \"type_1(function_1)\\n{\\n\ttype_2 var_2;\\n\\n\tvar_2 = var_1();\\n\tif (var_2 (...TRUNCATED) | "(translation_unit \"unknown_functionName(pcntl_fork)\\n{\\n\tpid_t id;\\n\\n\tid = fork();\\n\tif ((...TRUNCATED) | "(translation_unit (function_definition type: (type_identifier) declarator: (parenthesized_declarato(...TRUNCATED) |
set_canon_ace_list | "static bool set_canon_ace_list(files_struct *fsp, canon_ace *the_ace, bool default_ace, gid_t prim_(...TRUNCATED) | "static bool (files_struct *fsp, canon_ace *the_ace, bool default_ace, gid_t prim_gid, bool *pacl_se(...TRUNCATED) | "static bool unknown_functionName(files_struct *fsp, canon_ace *the_ace, bool default_ace, gid_t pri(...TRUNCATED) | "connection_struct *conn = fsp->conn;\n\tbool ret = False;\n\tSMB_ACL_T the_acl = SMB_VFS_SYS_ACL_IN(...TRUNCATED) | "static bool function_1(type_1 *fsp, type_2 *the_ace, bool var_24, type_3 prim_gid, bool *pacl_set_s(...TRUNCATED) | "(translation_unit \"static bool set_canon_ace_list(files_struct *fsp, canon_ace *the_ace, bool defa(...TRUNCATED) | "(translation_unit \"static bool function_1(type_1 *fsp, type_2 *the_ace, bool var_24, type_3 prim_g(...TRUNCATED) | "(translation_unit \"static bool unknown_functionName(files_struct *fsp, canon_ace *the_ace, bool de(...TRUNCATED) | "(translation_unit (function_definition (storage_class_specifier) type: (primitive_type) declarator:(...TRUNCATED) |
dd_rename | "int dd_rename(struct dump_dir *dd, const char *new_path)\n{\n if (!dd->locked)\n {\n e(...TRUNCATED) | "int (struct dump_dir *dd, const char *new_path)\n{\n if (!dd->locked)\n {\n error_msg((...TRUNCATED) | "int unknown_functionName(struct dump_dir *dd, const char *new_path)\n{\n if (!dd->locked)\n {(...TRUNCATED) | "if (!dd->locked)\n {\n error_msg(\"unlocked problem directory %s cannot be renamed\", dd-(...TRUNCATED) | "int function_1(struct type_1 *dd, const char *new_path)\n{\n if (!dd->locked)\n {\n va(...TRUNCATED) | "(translation_unit \"int dd_rename(struct dump_dir *dd, const char *new_path)\\n{\\n if (!dd->loc(...TRUNCATED) | "(translation_unit \"int function_1(struct type_1 *dd, const char *new_path)\\n{\\n if (!dd->lock(...TRUNCATED) | "(translation_unit \"int unknown_functionName(struct dump_dir *dd, const char *new_path)\\n{\\n i(...TRUNCATED) | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED) |
blk_fill_sgv4_hdr_rq | "static int blk_fill_sgv4_hdr_rq(struct request_queue *q, struct request *rq,\n\t\t\t\tstruct sg_io_(...TRUNCATED) | "static int (struct request_queue *q, struct request *rq,\n\t\t\t\tstruct sg_io_v4 *hdr, struct bsg_(...TRUNCATED) | "static int unknown_functionName(struct request_queue *q, struct request *rq,\n\t\t\t\tstruct sg_io_(...TRUNCATED) | "if (hdr->request_len > BLK_MAX_CDB) {\n\t\trq->cmd = kzalloc(hdr->request_len, GFP_KERNEL);\n\t\tif(...TRUNCATED) | "static int function_1(struct type_1 *q, struct type_2 *rq,\n\t\t\t\tstruct type_3 *hdr, struct type(...TRUNCATED) | "(translation_unit \"static int blk_fill_sgv4_hdr_rq(struct request_queue *q, struct request *rq,\\n(...TRUNCATED) | "(translation_unit \"static int function_1(struct type_1 *q, struct type_2 *rq,\\n\t\t\t\tstruct typ(...TRUNCATED) | "(translation_unit \"static int unknown_functionName(struct request_queue *q, struct request *rq,\\n(...TRUNCATED) | "(translation_unit (function_definition (storage_class_specifier) type: (primitive_type) declarator:(...TRUNCATED) |
jas_icclut8_destroy | "static void jas_icclut8_destroy(jas_iccattrval_t *attrval)\n{\n\tjas_icclut8_t *lut8 = &attrval->da(...TRUNCATED) | "static void (jas_iccattrval_t *attrval)\n{\n\tjas_icclut8_t *lut8 = &attrval->data.lut8;\n\tif (lut(...TRUNCATED) | "static void unknown_functionName(jas_iccattrval_t *attrval)\n{\n\tjas_icclut8_t *lut8 = &attrval->d(...TRUNCATED) | "jas_icclut8_t *lut8 = &attrval->data.lut8;\n\tif (lut8->clut)\n\t\tjas_free(lut8->clut);\n\tif (lut(...TRUNCATED) | "static void function_1(type_1 *attrval)\n{\n\ttype_2 *lut8 = &attrval->data.lut8;\n\tif (lut8->clut(...TRUNCATED) | "(translation_unit \"static void jas_icclut8_destroy(jas_iccattrval_t *attrval)\\n{\\n\tjas_icclut8_(...TRUNCATED) | "(translation_unit \"static void function_1(type_1 *attrval)\\n{\\n\ttype_2 *lut8 = &attrval->data.l(...TRUNCATED) | "(translation_unit \"static void unknown_functionName(jas_iccattrval_t *attrval)\\n{\\n\tjas_icclut8(...TRUNCATED) | "(translation_unit (function_definition (storage_class_specifier) type: (primitive_type) declarator:(...TRUNCATED) |
915_gem_execbuffer2 | "i915_gem_execbuffer2(struct drm_device *dev, void *data,\n\t\t struct drm_file *file)\n{\n\tstr(...TRUNCATED) | "i915_gem_execbuffer2(struct drm_device *dev, void *data,\n\t\t struct drm_file *file)\n{\n\tstr(...TRUNCATED) | "unknown_functionName(struct drm_device *dev, void *data,\n\t\t struct drm_file *file)\n{\n\tstr(...TRUNCATED) | "struct drm_i915_gem_execbuffer2 *args = data;\n\tstruct drm_i915_gem_exec_object2 *exec2_list = NUL(...TRUNCATED) | "type_1(struct type_2 *dev, void *data,\n\t\t struct drm_file *file)\n{\n\tstruct drm_i915_gem_e(...TRUNCATED) | "(translation_unit \"i915_gem_execbuffer2(struct drm_device *dev, void *data,\\n\t\t struct drm_(...TRUNCATED) | "(translation_unit \"type_1(struct type_2 *dev, void *data,\\n\t\t struct drm_file *file)\\n{\\n(...TRUNCATED) | "(translation_unit \"unknown_functionName(struct drm_device *dev, void *data,\\n\t\t struct drm_(...TRUNCATED) | "(translation_unit (declaration type: (macro_type_specifier name: (identifier) type: (type_descripto(...TRUNCATED) |
read_nttrans_ea_list | "struct ea_list *read_nttrans_ea_list(TALLOC_CTX *ctx, const char *pdata, size_t data_size)\n{\n\tst(...TRUNCATED) | "struct ea_list *(TALLOC_CTX *ctx, const char *pdata, size_t data_size)\n{\n\tstruct ea_list *ea_lis(...TRUNCATED) | "struct ea_list *unknown_functionName(TALLOC_CTX *ctx, const char *pdata, size_t data_size)\n{\n\tst(...TRUNCATED) | "struct ea_list *ea_list_head = NULL;\n\tsize_t offset = 0;\n\n\tif (data_size < 4) {\n\t\treturn NU(...TRUNCATED) | "struct type_1 *function_1(type_2 *ctx, const char *var_5, size_t var_1)\n{\n\tstruct type_1 *ea_lis(...TRUNCATED) | "(translation_unit \"struct ea_list *read_nttrans_ea_list(TALLOC_CTX *ctx, const char *pdata, size_t(...TRUNCATED) | "(translation_unit \"struct type_1 *function_1(type_2 *ctx, const char *var_5, size_t var_1)\\n{\\n\(...TRUNCATED) | "(translation_unit \"struct ea_list *unknown_functionName(TALLOC_CTX *ctx, const char *pdata, size_t(...TRUNCATED) | "(translation_unit (function_definition type: (struct_specifier name: (type_identifier)) declarator:(...TRUNCATED) |
ead_channel_data | "read_channel_data (FILE *f,\n PSPimage *ia,\n guchar (...TRUNCATED) | "read_channel_data (FILE *f,\n PSPimage *ia,\n guchar (...TRUNCATED) | "unknown_functionName (FILE *f,\n PSPimage *ia,\n guchar(...TRUNCATED) | "gint i, y, width = drawable->width, height = drawable->height;\n gint npixels = width * height;\n (...TRUNCATED) | "var_1 (var_2 *var_3,\n var_4 *var_5,\n var_6 **pixel(...TRUNCATED) | "(translation_unit \"read_channel_data (FILE *f,\\n PSPimage *ia,\\n (...TRUNCATED) | "(translation_unit \"var_1 (var_2 *var_3,\\n var_4 *var_5,\\n (...TRUNCATED) | "(translation_unit \"unknown_functionName (FILE *f,\\n PSPimage *ia,\\n (...TRUNCATED) | "(translation_unit (expression_statement (call_expression function: (identifier) arguments: (argumen(...TRUNCATED) |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 2