代码搜索:realloc

找到约 1,059 项符合「realloc」的源代码

代码结果 1,059
www.eeworm.com/read/147331/5732686

c malloc.c

/* VxWorks provides its own version of malloc, and we can't use this one because VxWorks does not provide sbrk. So we have a hook to not compile this code. */ /* The routines here are simple
www.eeworm.com/read/141300/5772948

c cmexport.c

#include #include #include #include /*how annoying!, needed for structure below*/ static void *tcalloc(size_t a, size_t b){ return tmalloc(a*b); } static voi
www.eeworm.com/read/130382/5957807

h vstring.h

/* @(#) vstring.h 1.2 92/01/15 21:53:19 */ struct vstring { char *str; /* string value */ char *last; /* last position */ }; extern struct vstring *vs_alloc(); /* initial allo
www.eeworm.com/read/124347/6051544

c mallocr.c

#include #ifdef DEFINE_MALLOC _PTR _malloc_r (struct _reent *r, size_t sz) { return malloc (sz); } #endif #ifdef DEFINE_CALLOC _PTR _calloc_r (struct _reent *r, size_t a, size_t b) {
www.eeworm.com/read/124347/6052132

c malloc.c

/* VxWorks provides its own version of malloc, and we can't use this one because VxWorks does not provide sbrk. So we have a hook to not compile this code. */ /* The routines here are simple
www.eeworm.com/read/119864/6082014

c malloc.c

#include #include #include #define N_PTRS 1000 #define N_ALLOCS 10000 #define MAX_SIZE 0x10000 #define random_size() (random()%MAX_SIZE) #define random_ptr() (random
www.eeworm.com/read/116006/6115020

h dbgint.h

// // Copyright (c) Microsoft Corporation. All rights reserved. // // // This source code is licensed under Microsoft Shared Source License // Version 1.0 for Windows CE. // For a copy of the l
www.eeworm.com/read/348515/11590408

h nlist.h

/* ratproxy - naive dynamic list implementation -------------------------------------------- Multiple macros for handling several types of dynamic lists and strings. Author: Michal Z
www.eeworm.com/read/154878/11921234

c lmem.c

/* ** $Id: lmem.c,v 1.61 2002/12/04 17:38:31 roberto Exp $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ #include #define lmem_c #include "lua.h" #include "ldebug.
www.eeworm.com/read/250350/12412423

h lmem.h

/* ** $Id: lmem.h,v 1.16 2000/10/30 16:29:59 roberto Exp $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ #ifndef lmem_h #define lmem_h #include #include "llimits.h"