代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/167185/5462087
c allocip.c
allocip(p_p_block,n) /* allocate an integer pointer */
int n;
int **p_p_block;
{
/*
assume a 4 byte 32 bit integer
program calls malloc to establish storage for a block of n integers
p_block is a
www.eeworm.com/read/167185/5462188
c allocsp.c
allocsp(p_p_block,n) /* allocate a short pointer */
int n;
short **p_p_block;
{
/*
assume a 2 byte 16 bit short
program calls malloc to establish storage for a block of n shorts
p_block is a point
www.eeworm.com/read/167185/5462190
c alloccp.c
alloccp(p_p_block,n) /* allocate a char pointer */
int n;
char **p_p_block;
{
/*
assume an 1 byte 8 bit char
program calls malloc to establish storage for a block of n char
p_block is a pointer t
www.eeworm.com/read/167185/5462191
c allocdp.c
allocdp(p_p_block,n) /* allocate a double pointer */
int n;
double **p_p_block;
{
/*
assume an 8 byte 64 bit double
program calls malloc to establish storage for a block of n doubles
p_block is
www.eeworm.com/read/167185/5462202
c allocip.c
allocip(p_p_block,n) /* allocate an integer pointer */
int n;
int **p_p_block;
{
/*
assume a 4 byte 32 bit integer
program calls malloc to establish storage for a block of n integers
p_block is a
www.eeworm.com/read/162614/5530821
c 20050321-1.c
/* This caused an ICE on powerpc-linux-gnu due to not
up-to-date life info (PR middle-end/20177). */
/* { dg-do compile } */
/* { dg-options "-O2 -fmodulo-sched" } */
extern void * malloc (long)
www.eeworm.com/read/162614/5540500
c fail26-frag.c
#include
#include
#include
int main ()
{
char *foo;
__mf_set_options ("-check-initialization");
foo = (char *)malloc (1);
/* These two operations each expand to a rea
www.eeworm.com/read/158865/5593264
c sts.c
/* sts.c -- Implementation File (module.c template V1.0)
Copyright (C) 1995 Free Software Foundation, Inc.
Contributed by James Craig Burley.
This file is part of GNU Fortran.
GNU Fortran is f
www.eeworm.com/read/475726/6776479
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/370633/9589849
h memchk.h
#ifndef __MEMCHK_H__
#define __MEMCHK_H__
/*----------------------------------------------------------------------------*/
/*------------------------------------------------------------------------