代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/37168/1069675
c-
#include
#include
#include
#include
#include
#include
void main(int argc, char **argv)
{
void delete_tree(void);
char buff
www.eeworm.com/read/470720/1447025
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/470720/1447343
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/470693/1458971
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/470693/1459289
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/247871/4472555
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/247871/4472618
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/247871/4473137
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/229812/4739797
cpp wcht16.cpp
#include
#include
#include "strdata.h"
static void *alloc_fn( size_t ){
return( 0 );
};
int main() {
WCPtrHashDict hash( str_data::hash_fn, 10
www.eeworm.com/read/209559/4964264
h btcx-risc.h
struct btcx_riscmem {
unsigned int size;
u32 *cpu;
u32 *jmp;
dma_addr_t dma;
};
struct btcx_skiplist {
int start;
int end;
};
int btcx_riscmem_alloc(struct pci_de