代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/370188/9611632
c heapwalk.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
struct heapinfo node = { NULL, 0, 0};
buffer1 = malloc(100);
buffer2 = malloc(200);
www.eeworm.com/read/367990/9720665
c heapwalk.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
struct heapinfo node = { NULL, 0, 0};
buffer1 = malloc(100);
buffer2 = malloc(200);
www.eeworm.com/read/171829/9735968
c heapwalk.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
struct heapinfo node = { NULL, 0, 0};
buffer1 = malloc(100);
buffer2 = malloc(200);
www.eeworm.com/read/171367/9759541
c cp.c
/******************************************************************
* SEAL 2.0 *
* Copyright (c) 1999-2002 SEAL Developers. All Rights Reserve
www.eeworm.com/read/270082/11049093
c heapwalk.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
struct heapinfo node = { NULL, 0, 0};
buffer1 = malloc(100);
buffer2 = malloc(200);
www.eeworm.com/read/415212/11080491
h ydirectenv.h
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
* Copyright (C) 2002-2007 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Ch
www.eeworm.com/read/269691/11082874
31 fig15.31
#include "apue.h"
#include
#define ARRAY_SIZE 40000
#define MALLOC_SIZE 100000
#define SHM_SIZE 100000
#define SHM_MODE 0600 /* user read/write */
char array[ARRAY_SIZE]; /* uninitialize
www.eeworm.com/read/269691/11083353
c tshm.c
#include "apue.h"
#include
#define ARRAY_SIZE 40000
#define MALLOC_SIZE 100000
#define SHM_SIZE 100000
#define SHM_MODE 0600 /* user read/write */
char array[ARRAY_SIZE]; /* uninitialize
www.eeworm.com/read/412155/11213480
c ch12-memleak.c
/* ch12-memleak.c --- demonstrate memory leaks with setjmp()/longjmp(). */
#include
#include /* for definition of ptrdiff_t on GLIBC */
#include
#include