代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/318298/13481709

cpp storem.cpp

#include "iostream" using namespace std; #include "conio.h" #include "malloc.h" #include "stdio.h" #define getpch(type) (type*)malloc(sizeof(type)) #define NULL 0 #define RAMSIZE 640 //初始内存大
www.eeworm.com/read/486192/6537962

cpp alloc_util.cpp

#include "clust_defs.h" #include "alloc_util.h" char *G_malloc(int n) { char *b; b = (char *)malloc((unsigned)n); if (b || !n) return(b); fprintf (stderr, "Out Of Memory\n"); e
www.eeworm.com/read/233448/4692503

c fail9-frag.c

#include #include #include int main () { char *foo; char *bar; foo = (char *)malloc (10); bar = (char *)malloc (10); free(foo); bar[4] = 'a'; /* touch source buffer *
www.eeworm.com/read/229812/4743956

c emem.c

#include #include #include #include #include "edit.h" #ifdef __WINDOWS_386__ #define amalloc malloc #define arealloc realloc #define afree free
www.eeworm.com/read/225531/4794988

x 20a.x

_________U___iob _________U__abort _________U__abort _________U__fprintf _________U__free _________U__malloc _________U__malloc _________U__memcpy _________U__memset _________U_dyld_stub_binding_helpe
www.eeworm.com/read/225531/4795027

i 20a.i

_________U__free _________U__malloc _________U__abort _________U__memcpy _________U__memset _________U_dyld_stub_binding_helper _________U__malloc _________U___iob _________U__abort _________U__fprint
www.eeworm.com/read/305712/3770416

h glibc.h

#define libc_malloc __libc_malloc #define libc_free __libc_free #define libc_realloc __libc_realloc #define libc_memalign __libc_memalign #define libc_valloc __l
www.eeworm.com/read/368257/9703705

c queue.c

// queue.c #include "queue.h" #include "malloc.h" #include "string.h" bool InitQueue(LinkQueue *Q) { Q->front = Q->rear = (QueuePtr)malloc(sizeof(QNode)); if (!Q->front) re
www.eeworm.com/read/290592/8473615

readme

------------------------------------------------------------------------------- Debug Malloc Library ******************** Version 5.4.2 - October 2004 The debug memory allocation or "dmalloc" libra
www.eeworm.com/read/403944/11497874

cpp e03-02.cpp

// ======================================================= // Chapter 3, Example 2 // Demonstrating Dynamic Arrays. // ======================================================= #include