代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4579389
c new1_y.c
#include
extern int ret;
void *ptr;
void * operator new[] (size_t s) throw (std::bad_alloc)
{
ptr = operator new (s);
return ptr;
}
void operator delete[] (void *p) throw ()
{
if (p ==
www.eeworm.com/read/233448/4671695
c new1_y.c
#include
extern int ret;
void *ptr;
void * operator new[] (size_t s) throw (std::bad_alloc)
{
ptr = operator new (s);
return ptr;
}
void operator delete[] (void *p) throw ()
{
if (p ==
www.eeworm.com/read/233448/4686308
c 20050409-1.c
/* This used to ICE due to a regmove problem on s390. */
/* { dg-do compile { target s390*-*-* } } */
/* { dg-options "-O2" } */
extern void abort (void);
extern void **alloc (void);
void *test (
www.eeworm.com/read/229812/4747326
mif lib.mif
libobjs = &
alloc.obj &
argvenv.obj &
argvrx.obj &
console.obj &
die.obj &
filerx.obj &
fnlower.obj &
fncomp.obj &
getclsz.obj &
getopt.obj &
isd
www.eeworm.com/read/204140/5033925
cpp benchmarkdialog.cpp
// BenchmarkDialog.cpp
#include "StdAfx.h"
#include "Common/IntToString.h"
#include "Common/StringToInt.h"
#include "Common/Exception.h"
#include "Common/Alloc.h"
#include "Windows/Thread.h"
www.eeworm.com/read/200278/5070866
c cdpwd.c
#include "apue.h"
int
main(void)
{
char *ptr;
int size;
if (chdir("/usr/spool/uucppublic") < 0)
err_sys("chdir failed");
ptr = path_alloc(&size); /* our own function */
if (getcwd(ptr, size
www.eeworm.com/read/196036/5104901
c msgqueue_mod.c
#include
#include
#include "msgqueue.h"
/*
* Function: struct msgqueue_entry *mqe_alloc(MsgQueue_t *msgq)
* Purpose : Allocate a message queue entry
* Params : msgq -
www.eeworm.com/read/196036/5104908
c msgqueue.c
#include
#include
#include "msgqueue.h"
/*
* Function: struct msgqueue_entry *mqe_alloc(MsgQueue_t *msgq)
* Purpose : Allocate a message queue entry
* Params : msgq -
www.eeworm.com/read/191602/5165147
cxx ringbuffer.cxx
#include
#include
#include // so I can throw std::bad_alloc
#include
#include "ringbuffer.h"
class AutoCriticalRegion
{
MPCriticalRegionID m_mutex;
www.eeworm.com/read/190666/5175196
c net46.c
#include
#include
#include
#include
int fail = 1;
int in_main = 0;
void *operator new(size_t size) throw (std::bad_alloc) {
if (!in_main) return malloc (size)