代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/210804/15192071
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/208856/15234303
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/206867/15287733
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/205541/15313940
c component_demix.c
/*****************************************************************************/
/* Copyright 1998, Hewlett-Packard Company */
/* All rights reserved
www.eeworm.com/read/205541/15313989
h local_services.h
/*****************************************************************************/
/* Copyright 1998, Hewlett-Packard Company */
/* All rights reserved
www.eeworm.com/read/172258/5388495
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/172258/5388595
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/172258/5388660
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/172258/5388760
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/167657/5454947
c link.c
#include
#include "common.h"
int
addnode(node_t *head, data_t *data)
{
node_t *temp;
temp=(node_t*)malloc(sizeof(node_t));
if (temp==NULL) {
perror("malloc");
return -1;
}
memcpy(&