代码搜索:malloc

找到约 10,000 项符合「malloc」的源代码

代码结果 10,000
www.eeworm.com/read/214888/15084944

h stdafx.h

// stdafx.h : 标准系统包含文件的包含文件, // 或是常用但不常更改的项目特定的包含文件 // #pragma once #define WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料 // C 运行时头文件 #include #include #include
www.eeworm.com/read/214881/15085164

h stdafx.h

// stdafx.h : 标准系统包含文件的包含文件, // 或是常用但不常更改的项目特定的包含文件 // #pragma once #define WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料 // C 运行时头文件 #include #include #include
www.eeworm.com/read/213183/15141276

h stdafx.h

// stdafx.h : 标准系统包含文件的包含文件, // 或是常用但不常更改的项目特定的包含文件 // #pragma once #define WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料 // Windows 头文件: #include // C 运行时头文件 #include
www.eeworm.com/read/212828/15148375

c 习题-22.c

//本程序只给出了算法思想 //读者可以自己完善本程序 Status LinkList_Divide(LinkList &L,CiList &A,CiList &B,CiList &C) //把单链表L的元素按类型分为三个循环链表.CiList为带头结点的单循环链表类型. { s=L->next; A=(CiList*)malloc(sizeof(CiLNode));p=A
www.eeworm.com/read/212828/15148432

c 习题-28.c

//本程序只给出了算法思想 //读者可以自己完善本程序 void BSTree_Insert_Key(BiThrTree &T,int x)//在后继线索二叉搜索树T中插入元素x { if(T->datartag) //T没有右子树时,作为右孩子插入 { p=T->rchild; q=(BiThrNode*)mall
www.eeworm.com/read/212828/15148469

c 习题-49.c

//本程序只给出了算法思想 //读者可以自己完善本程序 Status CreateBitree_SqList(Bitree &T,SqList sa)//根据顺序存储结构建立二叉链表 { Bitree ptr[sa.last+1]; //该数组储存与sa中各结点对应的树指针 if(!sa.last) { T=NULL; //空树 return; } ptr[1
www.eeworm.com/read/212828/15148518

c 习题-4.c

//本程序只给出了算法思想 //读者可以自己完善本程序 typedef *LNode[MAXSIZE] CHashTable; //链地址Hash表类型 Status Build_Hash(CHashTable &T,int m) //输入一组关键字,建立Hash表,表长为m,用链地址法处理冲突. { if(m
www.eeworm.com/read/209081/15227498

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/208856/15234281

cpp algo0211.cpp

void CreateList_L(LinkList &L, int n) { // 算法2.11 // 逆位序输入(随机产生)n个元素的值,建立带表头结点的单链线性表L LinkList p; int i; L = (LinkList)malloc(sizeof(LNode)); L->next = NULL; // 先建立一个带头结点
www.eeworm.com/read/208759/15237743

c main.c

#include "sntp.h" int main(int argc, char **argv) { int sockfd; char buf[MAXLINE]; ssize_t n; socklen_t salen, len; struct ifi_info *ifi; struct sockaddr *mcastsa, *wild, *from;