代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/127689/14340283
c ospfh_abstract.c
/* The topology aggregation */
#include "ospfh.h"
#include "ospfh_patch.h"
#define TOPO_MAX_NODE_NUM 10
#define DEFALT_COST 100
void
ospfh_abstract(struct ospf *top,struct li
www.eeworm.com/read/127689/14340339
c ospfh_abstract.c
/* The topology aggregation */
#include "ospfh.h"
#include "ospfh_patch.h"
#define TOPO_MAX_NODE_NUM 10
#define DEFALT_COST 100
void
ospfh_abstract(struct ospf *top,struct li
www.eeworm.com/read/229184/14350156
h memchk.h
/*
* -*- Mode: ANSI C -*-
* $Id: memchk.h,v 1.4 1996/11/06 20:52:23 fernande Exp $
* $Header: /sgi.acct/sweldens/cvs/liftpack/include/memchk.h,v 1.4 1996/11/06 20:52:23 fernande Exp $
* Author
www.eeworm.com/read/127382/14357153
c tshm.c
#include
#include
#include
#include "ourhdr.h"
#define ARRAY_SIZE 40000
#define MALLOC_SIZE 100000
#define SHM_SIZE 100000
#define SHM_MODE (SHM_R | SHM
www.eeworm.com/read/227570/14420971
c main.c
#include
/*
#ifndef DBGMEM_TRACE
#define DBGMEM_TRACE
#endif
*/
#include "m_osip_port.h"
void test(void)
{
char *p1=NULL;
char *p2=NULL;
char *p3=NULL;
p1
www.eeworm.com/read/227181/14438657
c hello.c
#include
#include
#include
char *hello1,*hello2;
void
memory_use()
{
hello1 = (char *)malloc(32);
strcpy(hello1, "hello world");
hello2 = (char *)malloc(strlen(hel
www.eeworm.com/read/225025/14557497
c taste.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/223942/14610818
c symtbl.c
/* makeSymTbl.c - stand-alone system symbol table */
/* CREATED BY makeSymTbl
* FROM tmp.o
* ON Thu Apr 22 05:57:26 PDT 1999
*/
#include "vxWorks.h"
#include "symbol.h"
#include "a
www.eeworm.com/read/122453/14689527
h unzigzag8x8_s16.h
/* un-zig-zag transform on 8x8 block
* Copyright (C) 2001,2002 David A. Schleef
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of t
www.eeworm.com/read/119982/14815738
c heapwalk.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
struct heapinfo node = { NULL, 0, 0};
buffer1 = malloc(100);
buffer2 = malloc(200);