代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/370188/9611452

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/173623/9646901

cpp global.cpp

#include "global.h" void *operator new(size_t sz){ return MALLOC(sz); } void operator delete(void *p){ FREE(p); } void *operator new[](size_t sz){ return MALLOC(sz); } void ope
www.eeworm.com/read/369257/9657747

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/173270/9664014

htm 8580.htm

.fst{padding:0px 15px;width:770px;border-left:0px solid #000000;border-right:0px solid #000000} .fs
www.eeworm.com/read/173137/9671094

c dmalloc.c

/* * mpatrol * A library for controlling and tracing dynamic memory allocations. * Copyright (C) 1997-2002 Graeme S. Roy * * This library is free software; you can redistr
www.eeworm.com/read/368369/9699755

cpp main.cpp

/************************************************* **主函数实现 *************************************************/ #include "rope.h" int main() { int n,m,a,b; //n为图的节点数,m为绳子数,a与b共同确定每一个结点在图中
www.eeworm.com/read/367990/9720239

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/367865/9725328

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;
www.eeworm.com/read/171718/9739901

h xsize.h

/* xsize.h -- Checked size_t computations. Copyright (C) 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the G
www.eeworm.com/read/367457/9746640

lnt lib-ole.lnt

// BSTR functions (part of OLE Automation) -sem( SysAllocString, @p == malloc(1p) || @p == 0, 1p ) -sem( SysAllocStringByteLen, @P == malloc(2n+1) || @p == 0 ) -sem( SysAllocStringLen, @p == ma