代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/256014/12036313
c chk_disk.c
#include
#include
#include
void main(void)
{
struct fatinfo fat;
long sector, total_sectors;
void *buffer;
getfat(3, &fat);
total_sectors = fa
www.eeworm.com/read/153234/12050214
h std_head.h
#ifndef Std_Head.hc
#define Std_Head.hc
#include
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/255692/12064827
c tmndec.c
/************************************************************************
*
* tmndec.c, main(), initialization, options for tmndecode (H.263 decoder)
* Copyright (C) 1995, 1996 Telenor R&D, Norw
www.eeworm.com/read/340960/12117905
c bufalloc.c
#include
void *bufalloc(size_t *size, size_t minsize)
{
void *buffer;
size_t bufsize;
for (bufsize = *size; bufsize >= minsize && !(buffer = malloc(bufsize)); bufsi
www.eeworm.com/read/253873/12179296
txt bpnet.txt
前段时间毕业设计中写的一段代码,三层BP神经网络用于自适应,用Levenberg-Maquardt法进行训练。
#define EPSILON 1E-6
//3层的神经网络结构
typedef struct tag_bpnnt
...{
int in_n; //输入层神经元数
int hidd_n; //隐层神
www.eeworm.com/read/339712/12209105
cpp 文件夹递归.cpp
#include
#include"windows.h"
#include
#include"string.h"
#include"get_frequency.h"
/***************************************
* 蔡敏
*************************
www.eeworm.com/read/252836/12261498
cpp unionopr_list.cpp
// ② 对两集合A,B进行以下操作:A∪B,A—B,A∩B
// 用到以下功能:1,尾插法制表;2,链表求纯;3,逆置链表
typedef int ElemType;
typedef struct LNode
{
ElemType data;
struct LNode *next;
}LNode, *LinkList;
#include
#i
www.eeworm.com/read/252693/12267572
c mem.c
#include "mem.h"
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
/*
* Mow-Song, Ng
www.eeworm.com/read/150740/12267801
txt 12.txt
用C语言模拟实现可变式分区存储管理(教案)- -
教学目标:
1、通过编写可变式分区存储管理的C语言程序,使学生加强对可变式分区存储管理的认识。
2、掌握操作系统设计的基本原理、方法和一般步骤。
3、复习巩固C语言的一些基础知识、函数、指针的使用,感受用C语言编制系统软件的优越性。
...
www.eeworm.com/read/150701/12270633
h macros.h
#define EXIT_FAILURE 1
char *malloc();
#define NEW(p, type) if ((p=(type *) malloc (sizeof(type))) == NULL) {\
printf ("NEW: Out of Memory!\n");\
exit(EXIT_FAILURE);\
}
#define FREE(