代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/155856/5618506
c calloc.c
/*-----------------------------------------------------------------------------
CALLOC.C is part of the C51 Compiler package from Keil Software.
Copyright (c) 1995-2002 Keil Software. All rights re
www.eeworm.com/read/154890/5633022
c r_data.c
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: r_data.c,v 1.2 2003/09/08 22:34:31 jasonk Exp $
//
// Copyright (C)
www.eeworm.com/read/154667/5635096
c gsm_create.c
/*
* Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
* Universitaet Berlin. See the accompanying file "COPYRIGHT" for
* details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
www.eeworm.com/read/154666/5635120
c gsm_create.c
/*
* Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
* Universitaet Berlin. See the accompanying file "COPYRIGHT" for
* details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
www.eeworm.com/read/475955/6770822
c chk_disk.c
#include
#include
#include
void main(void)
{
struct fatinfo fat;
long sector, total_sectors;
void *buffer;
getfat(3, &fat);
total_sectors = fa
www.eeworm.com/read/475726/6776459
cpp algo0211.cpp
void CreateList_L(LinkList &L, int n) { // 算法2.11
// 逆位序输入(随机产生)n个元素的值,建立带表头结点的单链线性表L
LinkList p;
int i;
L = (LinkList)malloc(sizeof(LNode));
L->next = NULL; // 先建立一个带头结点
www.eeworm.com/read/474431/6809309
h alloc.h
/*
** Definitions for a less error-prone memory allocator.
*/
#include
#define malloc DON'T CALL malloc DIRECTLY!
#define MALLOC(num,type) (type *)alloc( (num) * sizeof(type) )
ex
www.eeworm.com/read/474282/6817428
c gsm_create.c
/*
* Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
* Universitaet Berlin. See the accompanying file "COPYRIGHT" for
* details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
www.eeworm.com/read/472768/6865145
c chk_disk.c
#include
#include
#include
void main(void)
{
struct fatinfo fat;
long sector, total_sectors;
void *buffer;
getfat(3, &fat);
total_sectors = fa
www.eeworm.com/read/195394/8159085
c bufalloc.c
#include
void *bufalloc(size_t *size, size_t minsize)
{
void *buffer;
size_t bufsize;
for (bufsize = *size; bufsize >= minsize && !(buffer = malloc(bufsize)); bufsi