代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/444799/7606475
c a_client.c
/*
** A program that uses the less error-prone memory allocator.
*/
#include "alloc.h"
void
function()
{
int *new_memory;
/*
** Get space for a bunch of integers
*/
new_memory = MA
www.eeworm.com/read/444375/7613294
c fillheap.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
int i, state;
buffer1 = malloc(100);
buffer2 = malloc(200);
buffer3 = malloc(300)
www.eeworm.com/read/444091/7618126
c a_client.c
/*
** A program that uses the less error-prone memory allocator.
*/
#include "alloc.h"
void
function()
{
int *new_memory;
/*
** Get space for a bunch of integers
*/
new_memory = MA
www.eeworm.com/read/443644/7629601
c os.c
/*
** 2005 November 29
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgivene
www.eeworm.com/read/438337/7732666
txt hou_createlist.txt
题目:
在VC++中
采用“尾插法”创建单链表的实现
注意:“尾插法”所创建的链表,其顺序与输入的顺序一致!
(“头插法”所创建的链表,顺序与输入的相反!!)
#include
#include
typedef struct node
{ int data;
struc
www.eeworm.com/read/438337/7732667
cpp hou_createlist.cpp
#include
#include
typedef struct node
{ int data;
struct node *next;
} Linklist;
void hou_Createlist(Linklist *&head,int n)
{ int i;
Linklist *p,*q;
head=(Li
www.eeworm.com/read/436521/7768659
c a_client.c
/*
** A program that uses the less error-prone memory allocator.
*/
#include "alloc.h"
void
function()
{
int *new_memory;
/*
** Get space for a bunch of integers
*/
new_memory = MA
www.eeworm.com/read/436250/7774000
c fillheap.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
int i, state;
buffer1 = malloc(100);
buffer2 = malloc(200);
buffer3 = malloc(300)
www.eeworm.com/read/435646/7788315
c rdfload.c
/* rdfload.c RDOFF Object File loader library
*
* The Netwide Assembler is copyright (C) 1996 Simon Tatham and
* Julian Hall. All rights reserved. The software is
* redistributable under the l
www.eeworm.com/read/399220/7879752
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 READ