代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/171367/9759553
c var.c
#include"var.h"
p_value value_set_data ( l_word type, void *data ) {
p_value o = malloc(sizeof(t_value));
o->type = type;
o->data = data;
return o;
};
void free_value ( p_value
www.eeworm.com/read/414255/11122878
c salloc.c
#include "salloc.h"
#include
#include
#include
static void *null_pointer_check(void *ptr)
{
if (ptr == 0)
{
fprintf(stderr, "Out of memory\n");
exit(1);
www.eeworm.com/read/414255/11123201
c salloc.c
#include "salloc.h"
#include
#include
#include
static void *null_pointer_check(void *ptr)
{
if (ptr == 0)
{
fprintf(stderr, "Out of memory\n");
exit(1);
www.eeworm.com/read/411734/11230753
cpp algo0217.cpp
void difference(SLinkList &space, int &S) { // 算法2.17
// 依次输入集合A和B的元素,在一维数组space中建立表示集合(A-B)∪(B-A)
// 的静态链表, S为头指针。假设备用空间足够大,space[0].cur为头指针。
int i, j, k, m, n, p, r;
ElemType b;
Init
www.eeworm.com/read/411301/11249018
c solicit.c
#include "stdhead.h"
#include "solicit.h"
#include "clilib.h"
#include "parse.h"
struct DHCP_MESSAGE * create_solicit_message (char *interface_name)
{
struct DHCP_MESSAGE * dhcp_message_ptr = mal
www.eeworm.com/read/334162/12628149
c rfftw_test.c
/*
* Copyright (c) 1997-1999, 2003 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic
www.eeworm.com/read/334162/12628153
c fftw_test.c
/*
* Copyright (c) 1997-1999, 2003 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic
www.eeworm.com/read/204429/15339841
c gnutella.c
/*-*-linux-c-*-*/
/*
* gnewtellium - Newtella for Unix
* Copyright (C) 2001 Elias Athanasopoulos
*
* This program is free software; you can redistribute it and/or modify
* it under the terms
www.eeworm.com/read/204429/15339848
h memory.h
#ifndef NEWTELLA_MEMORY_H
#define NEWTELLA_MEMORY_H
#define newtella_malloc(x) _newtella_malloc(x, __FILE__, __LINE__)
#define newtella_free(x) _newtella_free(x, __FILE__, __LINE__)
gpointer _newtel
www.eeworm.com/read/203291/15362834
c turbo_code_log_map.c
/*----------------------------------------------------------
* Copyright (c) 2003, 北京邮电大学移动通信实验室
* All rights reserved.
*
* 文件名称:turbo_code_Log_MAP.c
* 文件标识:
* 摘 要:Turbo编译码实现函数文件.
*
* 当前版本: