代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/409272/11337628
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/406932/11432453
c mccdiaginit.c
#include "pdc1.h"
void mccdiag_init(void)
{
int i, j;
if(ecollisional==0 && icollisional==0)
{
ncolls = 0;
return;
}
/* default gas = argon */
if ( (gas < ARGON_LK) || (gas
www.eeworm.com/read/406613/11439039
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/406590/11439555
h stdafx.h
#ifndef _STDAFX_H_
#define _STDAFX_H_
#pragma once
#define WIN32_LEAN_AND_MEAN
//=========================================================================
#include
#include
www.eeworm.com/read/405283/11467000
c 单链表2.c
#include
#include
struct node{
int key;
struct node *next;
};
void creat_link(struct node *);
main()
{
struct node *head=NULL;
creat_li
www.eeworm.com/read/405053/11472713
h misc.h
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE
www.eeworm.com/read/401999/11544821
c dmhelper.c
#include "dmhelper.h"
#include
#include
/* returns 1 if c is in str, 0 if not */
int checkString(char *str, char c) {
while (*str++) {
if (*str == c) {
return 1;
www.eeworm.com/read/347982/11620192
c 049.c
#include
#define PROG "./vul"
#define HEAP_LEN 128
int main(int argc, char **argv)
{
char **env;
char **arg;
char heap_buf[150];
char eggshell[]= /* Mudge's */
www.eeworm.com/read/261644/11632588
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
www.eeworm.com/read/261643/11633259
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