代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/177261/9462646
readme_testgmtime
FILE LIST -
testGmtime.c
DESCRIPTION -
This file compares the current local time with GM time.
malloc:
This routine allocates a block of memory from the free list.
www.eeworm.com/read/175711/9535719
txt pascal词法分析器.txt
#include "define.h"
#include
#include
#include
#include
FILE *fp;
/*//////////////////////////////////////////////////////////////////////////////
Th
www.eeworm.com/read/371500/9551384
c client.c
#include "calld.h"
static void
client_alloc(void) /* alloc more entries in the client[] array */
{
int i;
if (client == NULL)
client = malloc(NALLOC * sizeof
www.eeworm.com/read/363740/9938235
cpp actioncompiler.cpp
#include "actioncompiler.h"
class CompiledActions : public FlashActionRecord
{
char * data;
int len;
public:
CompiledActions(char *data, int len)
{
this->data = (char*)malloc(len);
www.eeworm.com/read/166864/9992620
c mm.c
#include "define.h"
void *allocate(unsigned long n, unsigned long a)
{
void *ptr;
if ((ptr = (void *) malloc(n)) == NULL)
{
error("Not enough memory to allocate \n
www.eeworm.com/read/279785/10393829
cpp file.cpp
#include
#include "File.h"
FILE::FILE()
{
Destroy();
}
FILE::~FILE()
{
// Cleanup
Destroy();
}
//
// Open a file in the specified mode
//
BOOL FILE::GetFileHandle(c
www.eeworm.com/read/462601/7200048
c cmatrix.c
#include "stdio.h"
#include "stdlib.h"
#include "math.h"
#include
#include "cmatrix.h"
//----------------------------------------------------------------//
//name: initMatrix (int
www.eeworm.com/read/458880/7286138
c common.c
#include"common.h"
pInfoHead loadFromFile()
{
FILE *pFile;
pInfoHead phead;
int role;
pMEMBER pnewMember,ptailMember;
phead=(pInfoHead)malloc(sizeof(info));
if(NULL==phead)
{
fprint
www.eeworm.com/read/458437/7296598
cpp mowang.cpp
#include
#include
#include
#include
/*
************** Stack **********
*/
typedef struct _StackNode{
char data;
struct _
www.eeworm.com/read/447332/7554323
h dllist.h
//#include
class DLLElement {
public:
DLLElement( void *itemPtr, int sortKey);
//void *operator new(size_t size) { return malloc(size);}
//DLLElement &operator=(const