代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/110432/15533625

c dynlist.c

/* Chapter 12 - Program 1 */ main() { struct animal { char name[25]; char breed[25]; int age; } *pet1, *pet2, *pet3; pet1 = (struct anima
www.eeworm.com/read/109811/15547668

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/109651/15552779

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/108494/15585331

c xmalloc.c

/* * xmalloc.c * * Simple error-checking version of malloc() * */ #include #include void *xmalloc(size_t size) { void *p = malloc(size); if ( !p ) { fprintf(stderr
www.eeworm.com/read/108423/15586160

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/108322/15588539

cpp fnshare.cpp

/* 版权声明: 本文件版权为易语言作者吴涛所有,仅授权给第三方用作开发易语言支持库,禁止用于其他任何场合。 */ // 使用指定文本数据建立易程序中使用的文本数据。 char* CloneTextData (char* ps) { if (ps == NULL || *ps == '\0') return NULL;
www.eeworm.com/read/107346/15608719

cpp asmutils.cpp

#include "stdafx.h" #include "asmutils.h" #include #include #include "memory.h" #include "error.h" unsigned int line = 0; // track the line number in the te
www.eeworm.com/read/106670/15630680

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/105181/15675729

ec util.ec

#include $include datetime; char *transDate(char *Date) { char *str; str=(char*)malloc(20); *str=*(Date+6); *(str+1)=*(Date+7); *(str+2)=*(Date+8); *(str+3)=
www.eeworm.com/read/105103/15677884

c calloc.c

/*----------------------------------------------------------------------------- CALLOC.C is part of the C51 Compiler package from Keil Software. Copyright (c) 1995-2002 Keil Software. All rights re