代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/223339/14644719
cpp algo0203.cpp
Status InitList_Sq(SqList &L) { // 算法2.3
// 构造一个空的线性表L。
L.elem = (ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if (!L.elem) return OK; // 存储分配失败
L.length = 0;
www.eeworm.com/read/223195/14649886
cpp mysvmclassifier.cpp
// MySVMClassifier.cpp: implementation of the CMySVMClassifier class.
//
//////////////////////////////////////////////////////////////////////
//#include "stdafx.h"
//#include "SVM.h"
#include
www.eeworm.com/read/120093/14812980
c fitness.c
/*
SGPC: Simple Genetic Programming in C
(c) 1993 by Walter Alden Tackett and Aviram Carmi
This code and documentation is copyrighted and is not in the public domain.
All rights reserved.
www.eeworm.com/read/219502/14878369
cpp algo0203.cpp
Status InitList_Sq(SqList &L) { // 算法2.3
// 构造一个空的线性表L。
L.elem = (ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if (!L.elem) return OK; // 存储分配失败
L.length = 0;
www.eeworm.com/read/217300/14970075
c p1-3.c
#include
#include
#include
#include
char *get_current_dir()
{
char *buffer;
char *value;
int size = 0;
/*确定当前工作目录路径名的最大长度于size,当PATH_MAX 不确定时,
www.eeworm.com/read/215234/15066662
cpp get_matrix.cpp
#include "LDPC_head.h"
#include
matrix_bit *get_matrix()
{
matrix_bit *matrix;
unsigned int i;
unsigned int j;
FILE *fp;
matrix=(struct matrix_bit *)malloc(sizeof(struct ma
www.eeworm.com/read/208919/15231008
c memcpy.direct.c
/*
Example demonstrating speed of memory copying in both directions
*/
#include
// CONFIGURATION
#define __READ_AFTER_WRITE // uncomment this line to
// read memo
www.eeworm.com/read/208856/15234267
cpp algo0203.cpp
Status InitList_Sq(SqList &L) { // 算法2.3
// 构造一个空的线性表L。
L.elem = (ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if (!L.elem) return OK; // 存储分配失败
L.length = 0;
www.eeworm.com/read/207008/15284254
h gc_inl.h
/*
* Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
* Copyright (c) 1991-1995 by Xerox Corporation. All rights reserved.
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPR
www.eeworm.com/read/171934/5391054
h su_alloc.h
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: Pekka Pessi
*
* This library is free software; you can redistribut