代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/486748/6526357

makefile

CC = gcc EXEC = main OBJS = main.o min_malloc.o CFLAGS = -O -g all:$(EXEC) $(EXEC): $(OBJS) $(CC) $^ -o $@ main.o: main.c $(CC) $(CFLAGS) -c $< -o $@ min_malloc.o: min_malloc.
www.eeworm.com/read/481239/6645588

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/481045/6656776

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/349895/6684016

c 53.c

#include #include #include int main() { char *mempointer; char buffer[] = "This is a test of the mtrace function"; /调用函数mtrace来记录内存泄露与溢出**/ mtrace(); //sete
www.eeworm.com/read/478902/6707836

h stdafx.h

#pragma once #define WIN32_LEAN_AND_MEAN #include #include #include #include #include #include #include #incl
www.eeworm.com/read/477671/6730647

cpp memcheck.cpp

//: C03:MemCheck.cpp {O} // From "Thinking in C++, 2nd Edition, Volume 2" // by Bruce Eckel & Chuck Allison, (c) 2001 MindView, Inc. // Available at www.BruceEckel.com. // Memory allocation tester
www.eeworm.com/read/476355/6757799

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/265322/11268416

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/264895/11295382

c pointer2.c

#include int main() { int *p1, *p2, a, b; a = 1; b = 20; /*给p1,p2动态分配内存*/ if((p1 = (int *)malloc(sizeof(int))) == NULL) { perror(malloc); return; } if((p2 = (int *)ma
www.eeworm.com/read/409272/11337385

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