代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/150701/12270764
h macros.h
char *malloc();
#define NEW(p, type) if ((p=(type *) malloc (sizeof(type))) == NULL) {\
printf ("NEW: Out of Memory!\n");\
exit(EXIT_FAILURE);\
}
#define ADD( head, p ) if ( head )
www.eeworm.com/read/150696/12270896
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/150696/12271124
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/251956/12309824
c msg_read.c
/*
The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-)
Copyright (C) 2001,2002,2003 Aymeric MOIZARD jack@atosc.org
This library is free software; you can redistribute
www.eeworm.com/read/337963/12332127
cpp duoxiangshi.cpp
#include
#include
#include
#include
typedef struct node
{
float coef; //系数
int expn; //指数
struct node * next;
} PolyNode;
PolyNode *
www.eeworm.com/read/250662/12393177
h alloc.h
/*
** Definitions for a less error-prone memory allocator.
*/
#include
#define malloc // DON'T CALL malloc DIRECTLY!
#define MALLOC(num,type) (type *)alloc( (num) * sizeof(type) )
www.eeworm.com/read/149224/12393913
h stdafx.h
// stdafx.h : 标准系统包含文件的包含文件,
// 或是常用但不常更改的项目特定的包含文件
//
#pragma once
#define WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料
// Windows 头文件:
#include
// C 运行时头文件
#include
www.eeworm.com/read/149206/12394515
c arpara.c
#include
#include
#include
#include
#include "arpara.h"
//函数声明
int CalculateAR(double *X,int rank,int length,double *Y,double *fai);
int Calcu
www.eeworm.com/read/132310/14101637
txt 经典水印算法qim源码.txt
#include
#include
#include
double quantize(double value, double delta) {
int q = rint(value / delta);
if ((value - delta * q)
www.eeworm.com/read/131256/14154095
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);
// 显示