代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/475955/6770951
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/475726/6776481
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/474431/6809308
c a_client.c
/*
** A program that uses the less error-prone memory allocator.
*/
#include "alloc.h"
void
function()
{
int *new_memory;
/*
** Get space for a bunch of integers
*/
new_memory = MA
www.eeworm.com/read/472768/6865204
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/393536/8276884
c buffers.c
/* ***** BEGIN LICENSE BLOCK *****
* Version: RCSL 1.0/RPSL 1.0
*
* Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the file
www.eeworm.com/read/293359/8298251
c heap.c
#include
char *ptr1, ptr2[4096];
int main()
{
ptr1 = malloc(4096);
free(ptr1);
return 0;
}
www.eeworm.com/read/293183/8310870
c qld.c
/*
* QLD.C
*
* A Matlab MEX interface to Prof. K. Schittkowski's (Univ. of Bayreuth,
* Germany) and Prof. M.J.D. Powell's (Univ. of Cambridge, UK) FORTRAN QLD
* routine, kindly provided by Prof
www.eeworm.com/read/174305/9597848
c function.c
#ifndef __FUNCTION_C__
#define __FUNCTION_C__
#include
BYTE dev_Return = 0;
BYTE GetLastDelimiterPos(char * string, char substr)
{
PWORD len = malloc(sizeof(WORD));
PBYTE
www.eeworm.com/read/174254/9599366
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/370339/9605434
c dmhelper.c
#include "dmhelper.h"
#include
#include
/* returns 1 if c is in str, 0 if not */
int checkString(char *str, char c) {
while (*str++) {
if (*str == c) {
return 1;