代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/298336/3866966

svn-base quadspace.cpp.svn-base

#include "common/quadSpace.h" void *QuadSpace::allocBuffer(size_t sizeofAnObject) { return malloc(sizeofAnObject * NumSubSpaces); }
www.eeworm.com/read/398200/2395137

c bplist-dynamic.c

//========================================================================== // // bplist-dynamic.c // // Dynamic breakpoint list. // Currently only statically allocated. (ie NO_MALLOC
www.eeworm.com/read/432144/8624482

c 4.4 一般复矩阵求逆 cinv.c

#include "stdlib.h" #include "stdio.h" int cinv(ar,ai,n) int n; double ar[],ai[]; { int *is,*js,i,j,k,l,u,v,w; double p,q,s,t,d,b; is=malloc(n*sizeof(int)); js=malloc(n*sizeof
www.eeworm.com/read/382774/9000628

cpp 二叉排序树的实现er.cpp

#include #include #include // malloc()等 #include // INT_MAX等 #include // EOF(=^Z或F6),NULL #include // atoi() #include // eo
www.eeworm.com/read/282367/9098260

c dma.c

static int malloc_buffer() { printk("malloc buffer\n"); if ((csi_data_buf = (U32 *) __get_free_pages(GFP_KERNEL, 8))) // 128 pages = 128x4K = 512K { dma_buf_phy_addr = virt_to_phys((void *
www.eeworm.com/read/281888/9127813

c dma.c

static int malloc_buffer() { printk("malloc buffer\n"); if ((csi_data_buf = (U32 *) __get_free_pages(GFP_KERNEL, 8))) // 128 pages = 128x4K = 512K { dma_buf_phy_addr = virt_to_phys((void *
www.eeworm.com/read/178154/9417000

c mem.c

#ifndef __malloc_C__ #define __malloc_C__ #include "def.h" #include "cfg.h" static char *ptr=(char*)0; static char *buffer=(char*)0; static DT_INT nLen=0; void MEM_Init(void* buff,DT_INT le
www.eeworm.com/read/363677/9940361

txt calculationofcprogramminglanguage.txt

#include #include #include // malloc()等 #include // INT_MAX等 #include // EOF(=^Z或F6),NULL #include // atoi() #include // eof
www.eeworm.com/read/161836/10366686

c function.c

#include #include #include"definition.h" int InitStack(SqStack *S) //创建一个空栈 { S->base=(int *)malloc( INIT_SIZE * sizeof(int) ); if(!S->base) //空间分配失败 return 1; //空间分配
www.eeworm.com/read/438976/7718592

txt 新建 文本文档.txt

#include // cin 及 cout #include // 用到申请内存函数 malloc() 和释放内存函数 free() #include // 字符串处理 #include // 文件操作(读文件) #include #defin