代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/252514/12277393
c main.c
////////////////////////////////////////////
#include "stdio.h" //
#include "math.h" //
#include "malloc.h" //
#include "stdlib
www.eeworm.com/read/148696/12442794
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/130490/14189963
c knn.c
/* Copyright (C) 2001-2002 Mikael Ylikoski
* See the accompanying file "README" for the full copyright notice */
/**
* @file
* K-Nearest-Neighbour algorithm.
* FIXME: fungerar inte
*
* @param
www.eeworm.com/read/130490/14189974
c wma.c
/* Copyright (C) 2002 Mikael Ylikoski
* See the accompanying file "README" for the full copyright notice */
/**
* @file
* Weighted Majority Algorithm (WMA) for linear-max learning algorithm.
*
*
www.eeworm.com/read/130490/14189981
c perceptron.c
/* Copyright (C) 2001-2002 Mikael Ylikoski
* See the accompanying file "README" for the full copyright notice */
/**
* @file
* Perceptron learning algorithm.
* FIXME remove bias term (use autobia
www.eeworm.com/read/129922/14216944
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/128628/14288263
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/230045/14307823
c vindex.c
/* vindex.c -- Vectors of si_index
*
* Mark Johnson, 22nd May 1997
*/
#include
#include "vindex.h"
#include "mmm.h"
#include "hash-templates.h"
vindex
make_vindex(const si
www.eeworm.com/read/229694/14325162
cpp fill_box.cpp
#include
#include
#include
typedef struct ele{
int vno;
struct ele *link;
}ELE;
typedef struct hnode{
int remainder;
ELE *head;
struct hnode *next;
www.eeworm.com/read/127777/14334168
c misc.c
#include
char *create_string(s)
char *s;
{
char *p = (char *) malloc(strlen(s) + 1);
if(p==NULL) internal_error("Cannot malloc in create-string");
strcpy(p,s);
re