代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/110989/6944338
c ag_alloc.c
#include "ag_private.h"
#include
#include
void *agAlloc(uint16 sz)
{ return PanicNull(malloc(sz)); }
www.eeworm.com/read/469626/6972232
h memalloc.h
#ifndef _memalloc_h_
#define _memalloc_h_
#include
#include
#include
// inline functions
inline void *Malloc(int x)
{
void *p;
p=malloc(x);
if (p==NULL)
www.eeworm.com/read/469281/6980044
h kernel.h
/*
* 'kernel.h' contains some often-used function prototypes etc
*/
/*
* 'kernel.h'定义了一些常用函数的原型等。
*/
// 验证给定地址开始的内存块是否超限。若超限则追加内存。( kernel/fork.c, 24 )。
void verify_area (void *addr, int count);
// 显示
www.eeworm.com/read/467909/6996784
h s-msdos.h
/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
This file is public domain and comes with NO WARRANTY of any kind */
#ifndef MSDOS
#define MSDOS 1
#endif
#ifdef
www.eeworm.com/read/467909/6996851
h s-msdos.h
/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
This file is public domain and comes with NO WARRANTY of any kind */
#ifndef MSDOS
#define MSDOS 1
#endif
#ifdef
www.eeworm.com/read/467431/7012417
h elr1.h
#include "stdlib.h"
void elr1f(t,y,n,d)
int n;
double t,y[],d[];
{ t=t; n=n;
d[0]=y[1]; d[1]=-y[0]; d[2]=-y[2];
return;
}
void elr1(t,y,n,h,k,z,f)
int n,k;
dou
www.eeworm.com/read/465819/7046459
h stdafx.h
// stdafx.h : 标准系统包含文件的包含文件,
// 或是常用但不常更改的项目特定的包含文件
//
#pragma once
#define WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料
// Windows 头文件:
#include
#include
// C 运行时头文
www.eeworm.com/read/378796/7069939
h kernel.h
/*
* 'kernel.h'定义了一些常用函数的原型等。
*/
// 验证给定地址开始的内存块是否超限。若超限则追加内存。( kernel/fork.c, 24 )。
void verify_area (void *addr, int count);
// 显示内核出错信息,然后进入死循环。( kernel/panic.c, 16 )。
void panic (const char *str);
www.eeworm.com/read/199841/7097764
h nxlib.h
#ifndef _NXLIB_H_
#define _NXLIB_H_
/* Changeable options*/
#define USE_ALLOCA 1 /* set if system has alloca()*/
#define MALLOC_0_RETURNS_NULL 0 /* not yet needed*/
/* required settings*/
#define N
www.eeworm.com/read/103838/7104295
h s-msdos.h
/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
This file is public domain and comes with NO WARRANTY of any kind */
#ifndef MSDOS
#define MSDOS 1
#endif
#ifdef