代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/440995/7678218
txt 新建 文本文档.txt
/* void brinv(double a[],int n)
{
int *is,*js,i,j,k,l,u,v;
double d,p;
is=malloc(n*sizeof(int));
js=malloc(n*sizeof(int));
for (k=0; k
www.eeworm.com/read/435730/7786277
h head.h
#include "math.h"
#include "stdlib.h"
#include "stdio.h"
#include "malloc.h"
#include "string.h"
www.eeworm.com/read/307145/13727780
c ch08_05.c
/* Listing 8.5 */
FOO f = {0};
FOO *p;
p = malloc(n * sizeof *p);
if(p != NULL)
{
for(i = 0; i < N; i++)
p[i] = f;
}
www.eeworm.com/read/119864/6081533
readme
This is a fast malloc implementation that I wrote several years ago.
I later used it as the basis of GNU malloc. My version differs from
the GNU version in that it does not support debugging hooks, a
www.eeworm.com/read/409897/11307643
makefile
LibCMallocPath = $(LibCPath)/malloc
LibCMallocSrc = $(LibCMallocPath)/malloc.cc $(LibCMallocPath)/free.cc
www.eeworm.com/read/131716/14132222
makefile
all: test
test: test.o my_malloc.o
cc test.o my_malloc.o -o test
test.o: test.c my_malloc.h
my_malloc.o: my_malloc.c my_malloc.h
www.eeworm.com/read/163821/5509088
readme
This is a fast malloc implementation that I wrote several years ago.
I later used it as the basis of GNU malloc. My version differs from
the GNU version in that it does not support debugging hooks, a
www.eeworm.com/read/287474/8685501
c gf2_ldpc.c
// GF(2) LDPC encoding/decoding simulator,
// (c) 2005-2006 by Seishi Takamura @ Stanford University / NTT (Nippon Telegraph and Telephone)
// Absolutely no warranty.
#include
#include
www.eeworm.com/read/383699/8926656
c libgloss.c
/* printf in "CLib" will call printf_hook.
_SemiPrintf makes IDE can hook "printf" action.
User don't want to hook "printf" when __OPTIMIZE__.
function prototype:
void printf_hook (unsig