代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/167657/5454955
c link_add.c
#include
#include "common.h"
int
addnode(node_t *head, data_t *data)
{
node_t *temp;
temp=(node_t*)malloc(sizeof(node_t));
if (temp==NULL) {
perror("malloc");
return -1;
}
memcpy(&
www.eeworm.com/read/167657/5454964
c link_add.c
#include
#include "common.h"
int
addnode(node_t *head, data_t *data)
{
node_t *temp;
temp=(node_t*)malloc(sizeof(node_t));
if (temp==NULL) {
perror("malloc");
return -1;
}
memcpy(&
www.eeworm.com/read/167562/5458136
c jmemnobs.c
/*
* jmemnobs.c
*
* Copyright (C) 1992-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README fi
www.eeworm.com/read/167185/5464723
c sptemp.c
#ifndef lint
static char rcsid[] = "$Header: /home/beldar/stan/sphere/RCS/sptemp.c,v 1.4 1993/03/25 00:20:51 stan Exp stan $";
#endif
/* LINTLIBRARY */
#include
#include
#incl
www.eeworm.com/read/167185/5465071
c sptemp.c
/* LINTLIBRARY */
#include
#include
#include
#include
#define SPHERE_LIBRARY_CODE
#include
char * sptemp(char *file)
{
int len;
c
www.eeworm.com/read/165502/5482010
h misc.h
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURC
www.eeworm.com/read/164348/5492034
c buffers.c
/* ***** BEGIN LICENSE BLOCK *****
* Version: RCSL 1.0/RPSL 1.0
*
* Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the
www.eeworm.com/read/164348/5492072
c buffers.c
/* ***** BEGIN LICENSE BLOCK *****
* Version: RCSL 1.0/RPSL 1.0
*
* Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the
www.eeworm.com/read/162807/5514192
c jmemnobs.c
/*
* jmemnobs.c
*
* Copyright (C) 1992-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README fi
www.eeworm.com/read/162614/5518255
c placement3.c
typedef __SIZE_TYPE__ size_t;
extern "C" void *malloc (size_t);
int i;
struct S {
S(int) {
throw 3;
}
void *operator new(size_t s, int) {
++i;
return malloc (s);
}
void op