代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/295750/6964845

c allocer.c

/* (c) John Berthels 2005 . See COPYING for license */ #include #include int main(void) { const int malloc_size = 100 * 4096; const int chunk_siz
www.eeworm.com/read/296774/7113737

h xm-next.h

#include "m68k/xm-m68k.h" /* malloc does better with chunks the size of a page. */ #define OBSTACK_CHUNK_SIZE (getpagesize ())
www.eeworm.com/read/296774/7114013

h xm-next.h

#include "i386/xm-i386.h" /* malloc does better with chunks the size of a page. */ #define OBSTACK_CHUNK_SIZE (getpagesize ())
www.eeworm.com/read/151043/7142583

cpp algo0203.cpp

Status InitList_Sq(SqList &L) { // 算法2.3 // 构造一个空的线性表L。 L.elem = (ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType)); if (!L.elem) return OK; // 存储分配失败 L.length = 0;
www.eeworm.com/read/140797/7147092

c realloc.c

/* * realloc.c */ #include #include #include "malloc.h" /* FIXME: This is cheesy, it should be fixed later */ void *realloc(void *ptr, size_t size) { struct free_arena_he
www.eeworm.com/read/454633/7386541

cpp algo0203.cpp

Status InitList_Sq(SqList &L) { // 算法2.3 // 构造一个空的线性表L。 L.elem = (ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType)); if (!L.elem) return OK; // 存储分配失败 L.length = 0;
www.eeworm.com/read/450993/7474088

txt dynamic multi.txt

/* allocate2D /* function to dynamically allocate 2-dimensional array using malloc. /* /* accepts an int** as the "array" to be allocated, and the number of rows and /* columns. */ void
www.eeworm.com/read/448997/7520527

cpp algo0203.cpp

Status InitList_Sq(SqList &L) { // 算法2.3 // 构造一个空的线性表L。 L.elem = (ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType)); if (!L.elem) return OK; // 存储分配失败 L.length = 0;
www.eeworm.com/read/448801/7525864

h stdlib.h

/*-------------------------------------------------------------------------- STDLIB.H Standard functions. Copyright (c) 1988-1997 Keil Elektronik GmbH and Keil Software, Inc. All rights reserved
www.eeworm.com/read/445746/7591258

cpp tmndec.cpp

//////////////////////////////////////////////////////////////////////////// // // // Project : VideoNet version 1.1. // Description : Peer to Peer Video Conferencing over the LAN. //