代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/268707/11124799

c midtest.c

#include #include #include char *substr(char *s, int start, int n) { int i; char *p; s+=(start-1); p=(char *)malloc((n+1)*sizeof(char))
www.eeworm.com/read/411734/11230725

cpp algo0211.cpp

void CreateList_L(LinkList &L, int n) { // 算法2.11 // 逆位序输入(随机产生)n个元素的值,建立带表头结点的单链线性表L LinkList p; int i; L = (LinkList)malloc(sizeof(LNode)); L->next = NULL; // 先建立一个带头结点
www.eeworm.com/read/266116/11239884

cpp demo_type_cast_4_reinterpret_cast_1.cpp

//********************************************** // reinterpret_cast操作符进行指针之间类型转换 //********************************************** # include # include # include
www.eeworm.com/read/411028/11260473

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/335880/12491740

changes

Revision history for Perl extension Text::Reflow. 0.01 Fri Apr 7 11:03:39 2000 - original version 0.02 Fri Apr 7 17:32:01 2000 - Free the malloc-ed memory! 0.03 Fri Apr 7 17:32:01 2000 - Imp
www.eeworm.com/read/147525/12549129

h ydirectenv.h

/* * YAFFS: Yet another FFS. A NAND-flash specific file system. * ydirectenv.h: Environment wrappers for direct. * * Copyright (C) 2002 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar E
www.eeworm.com/read/147492/12550478

l pl3.l

/*extended: identifier are allowed to use dash;multiple-line coments allowed*/ %{ #include "pl3.tab.h" #include #include #include #include #include
www.eeworm.com/read/147410/12553883

c fillheap.c

#include #include void main(void) { char *buffer1, *buffer2, *buffer3; int i, state; buffer1 = (char *) malloc(100); buffer2 = (char *) malloc(200); buf
www.eeworm.com/read/248437/12558506

c gsm_crea.c

/* * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische * Universitaet Berlin. See the accompanying file "COPYRIGHT" for * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
www.eeworm.com/read/146802/12610491

cpp 01.cpp

#include #include struct node { int a[9] ; int g ; int f ; struct node *parent ; } ; struct node1 { struct node *t ; struct node1 *next ; } ; int tar