代码搜索:alloc

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

代码结果 10,000
www.eeworm.com/read/209559/4968970

h mempool.h

/* * memory buffer pool support */ #ifndef _LINUX_MEMPOOL_H #define _LINUX_MEMPOOL_H #include typedef void * (mempool_alloc_t)(int gfp_mask, void *pool_data); typedef void (mempool_
www.eeworm.com/read/209211/4983306

c reg.c

#include "gc.h" void addsplits(void); Reg* rega(void) { Reg *r; r = freer; if(r == R) { r = alloc(sizeof(*r)); } else freer = r->link; *r = zreg; return r; } int rcmp(void *a1, void *a2
www.eeworm.com/read/204140/5033309

makefile

PROG = Copy.dll DEF_FILE = ../Codec.def CFLAGS = $(CFLAGS) -I ../../../ LIBS = $(LIBS) oleaut32.lib COPY_OBJS = \ $O\DllExports.obj \ $O\CopyCoder.obj \ COMMON_OBJS = \ $O\Alloc.obj
www.eeworm.com/read/204140/5033372

hpp os.hpp

#ifndef _RAR_OS_ #define _RAR_OS_ #define FALSE 0 #define TRUE 1 #ifdef __EMX__ #define INCL_BASE #endif #if defined(_WIN_32) || defined(_EMX) #define ENABLE_BAD_ALLOC #endif #if defined(_WIN_
www.eeworm.com/read/204140/5033872

makefile

PROG = z.dll DEF_FILE = ../Archive.def CFLAGS = $(CFLAGS) -I ../../../ LIBS = $(LIBS) oleaut32.lib Z_OBJS = \ $O\DllExports.obj \ $O\ZHandler.obj \ COMMON_OBJS = \ $O\Alloc.obj \
www.eeworm.com/read/191923/5160981

h _new.h

#ifndef _STLP_NEW_H_HEADER # define _STLP_NEW_H_HEADER ///# ifdef _STLP_NO_BAD_ALLOC # if 0 # ifndef _STLP_NEW_DONT_THROW # define _STLP_NEW_DONT_THROW 1 # endif /* _STLP_NEW_DONT_THROW */ /
www.eeworm.com/read/190666/5174816

c new3.c

// GROUPS passed operator-new #include #include #include int pass = 0; void *operator new(size_t sz) throw (std::bad_alloc) { void *p; pass = 1; p = malloc(sz);
www.eeworm.com/read/190666/5175135

c p755.c

// It checks to see if you can define your own global new operator. // prms-id: 755 #include extern "C" void _exit(int); void* operator new(size_t sz) throw (std::bad_alloc) { void* p = 0;
www.eeworm.com/read/182103/5270767

c dpram.c

/* * dpram.c * * MPC8260 dual-port RAM allocation routines * * Based on code in mpc8xx which is * Based on code (alloc860.c in eth_comm port) by * Jay Monkman (jmonkman@frasca.com), * which, i
www.eeworm.com/read/176663/5335526

hpp os.hpp

#ifndef _RAR_OS_ #define _RAR_OS_ #define FALSE 0 #define TRUE 1 #ifdef __EMX__ #define INCL_BASE #endif #if defined(_WIN_32) || defined(_EMX) #define ENABLE_BAD_ALLOC #endif #if defined(_WIN_