代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5540468
c pass56-frag.c
#include
#include
int main ()
{
volatile int *k = (int *) malloc (sizeof (int));
volatile int l;
if (k == NULL) abort ();
*k = 5;
free ((void *) k);
__mf_set_options
www.eeworm.com/read/158865/5594037
h xm-next.h
#include "i386/xm-i386.h"
/* malloc does better with chunks the size of a page. */
#define OBSTACK_CHUNK_SIZE (getpagesize ())
www.eeworm.com/read/155856/5618418
h stdlib.h
/*--------------------------------------------------------------------------
STDLIB.H
Standard functions.
Copyright (c) 1988-2001 Keil Elektronik GmbH and Keil Software, Inc.
All rights reserved
www.eeworm.com/read/155374/5623977
c uboot_skb.c
/*
* Definitions for the 'struct sk_buff' memory handlers in U-Boot.
*
* (C) Copyright 2003
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who co
www.eeworm.com/read/475726/6776445
cpp algo0203.cpp
Status InitList_Sq(SqList &L) { // 算法2.3
// 构造一个空的线性表L。
L.elem = (ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if (!L.elem) return OK; // 存储分配失败
L.length = 0;
www.eeworm.com/read/471702/6888254
c bubblesort.c
/* bubble sort */
#include
#include
#include
#define N 1000000
void showElapsed(int id, char *m);
void showVector(int *v, int n, int id);
int * merge(int *v1, int n1, int
www.eeworm.com/read/173767/9635896
h mygzip.h
/*****************************************
Copyright (c) 2001-2002
Sigma Designs, Inc. All Rights Reserved
Proprietary and Confidential
*****************************************/
/* This is file
www.eeworm.com/read/171367/9759519
c ssc.c
/******************************************************************
* SEAL 2.0 *
* Copyright (c) 1999-2002 SEAL Developers. All Rights Reserve
www.eeworm.com/read/171367/9759530
c ss.c
/******************************************************************
* SEAL 2.0 *
* Copyright (c) 1999-2002 SEAL Developers. All Rights Reserve
www.eeworm.com/read/171367/9759535
c m.c
/******************************************************************
* SEAL 2.0 *
* Copyright (c) 1999-2002 SEAL Developers. All Rights Reserve