代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/288039/7097182

c jmemnobs.c

/* * jmemnobs.c * * Copyright (C) 1992-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying READ
www.eeworm.com/read/189342/7115026

c fillheap.c

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

c jmemnobs.c

/* * jmemnobs.c * * Copyright (C) 1992-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying READ
www.eeworm.com/read/151043/7142619

cpp algo0209.cpp

Status ListInsert_L(LinkList &L, int i, ElemType e) { // 算法2.9 // 在带头结点的单链线性表L的第i个元素之前插入元素e LinkList p,s; p = L; int j = 0; while (p && j < i-1) { // 寻找第i-1个结点 p = p->next;
www.eeworm.com/read/463779/7175410

c jmemnobs.c

/* * jmemnobs.c * * Copyright (C) 1992-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README fi
www.eeworm.com/read/461831/7218839

c alloc.c

//不易发生错误的内存分配器的实现。 #include #include "alloc.h" #undef malloc void *alloc( size_t size ) { void *new_mem; //请求所需的内存,并检查确实分配成功。 new_mem = malloc( size ); if( new_mem == NULL
www.eeworm.com/read/456569/7345042

c 049.c

#include #define PROG "./vul" #define HEAP_LEN 128 int main(int argc, char **argv) { char **env; char **arg; char heap_buf[150]; char eggshell[]= /* Mudge's */
www.eeworm.com/read/454633/7386577

cpp algo0209.cpp

Status ListInsert_L(LinkList &L, int i, ElemType e) { // 算法2.9 // 在带头结点的单链线性表L的第i个元素之前插入元素e LinkList p,s; p = L; int j = 0; while (p && j < i-1) { // 寻找第i-1个结点 p = p->next;
www.eeworm.com/read/453496/7418352

c fillheap.c

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

c fillheap.c

#include #include void main(void) { char *buffer1, *buffer2, *buffer3; int i, state; buffer1 = malloc(100); buffer2 = malloc(200); buffer3 = malloc(300)