代码搜索:malloc

找到约 10,000 项符合「malloc」的源代码

代码结果 10,000
www.eeworm.com/read/395929/2427893

c strdup.c

char * strdup(s) char *s; { char *result = (char*)malloc(strlen(s) + 1); if (result == (char*)0) return (char*)0; strcpy(result, s); return result; }
www.eeworm.com/read/378488/2685816

readme_testgmtime

FILE LIST - testGmtime.c DESCRIPTION - This file compares the current local time with GM time. malloc: This routine allocates a block of memory from the free list.
www.eeworm.com/read/351777/3098819

c readdir.c

#include "config.h" #include #include #include #define strdup _strdup /********************************************************************** * Implement dirent-style
www.eeworm.com/read/161112/5560899

readme_testgmtime

FILE LIST - testGmtime.c DESCRIPTION - This file compares the current local time with GM time. malloc: This routine allocates a block of memory from the free list.
www.eeworm.com/read/153824/5644880

h exp_buf.h

/* * exp_buf.h - read/write/alloc/free routines for a simple buffer structure * * MACROS are gross but execution speed is important * * NOTE: replacing the malloc and free with a allocs/frees *
www.eeworm.com/read/192997/8258666

c parser.c

#include #include // per strlen, strncpy #include // per bzero #include // per malloc
www.eeworm.com/read/368369/9699752

h rope.h

/*********************************************** ***头部文件定义 **********************************************/ #ifndef ROPE_H #define ROPE_H #include #include #include
www.eeworm.com/read/367608/9740160

h lqueu.h

/***********************队列,置队空、入队和出队********2008.2.6*********************/ #include #include #include /******************************状态代码****************************
www.eeworm.com/read/367608/9740219

h lqueu.h

/***********************队列,置队空、入队和出队********2008.2.6*********************/ #include #include #include /******************************状态代码****************************
www.eeworm.com/read/290592/8473670

c xmalloc.c

/* * Provide malloc library replacements for X Window System heap routines * XtCalloc * XtFree * XtMalloc * XtRealloc * so that we can get accurate caller data. * * David Hill */ #define