代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/427492/8939945
c filter.c
#include
#include
#include
int main()
{
int frames = 256;
short * input;
input = (short *)malloc(frames * 4);
short * output;
output = (short *)malloc(frames *
www.eeworm.com/read/366687/9803840
c hash.c
#include "lpkit.h" /* only for MALLOC, CALLOC */
#include
#include
/* hash functions for open hashing */
hashtable *create_hash_table(int size)
{
hashtable *ht;
MALLOC(ht,
www.eeworm.com/read/360598/10085526
txt 八皇后.txt
#include
struct NOD
{
char ch;
NOD *next;
};
NOD *create()
{
NOD *head=NULL;
NOD *pLast=NULL;
NOD *pNew=NULL;
pLast=head=(NOD*)malloc(sizeof(NOD));
head->ch=
www.eeworm.com/read/164559/10103315
cpp configure.cpp
#include "string.h"
#include "stdio.h"
#include "utils.h"
#include "configure.h"
struct Outline* malloc_outline()
{
struct Outline* outline = (struct Outline*)malloc(sizeof(struct Outli
www.eeworm.com/read/161836/10366777
c functions.c
#include
#include
#include"definition.h"
LinkList FormList()//正向形成链表
{
ElemType temp;
LinkList h, head, end;
if( !( h=head=(LinkList)malloc(sizeof(Node)) ) ){
print
www.eeworm.com/read/274335/10875510
c xm-pattern-generate.c
#include
#include
#include
#include
#include "xm_lib.h"
#define MALLOC malloc
/*
* createRandomNoteSequence - generates a string of 'length' random notes
*
www.eeworm.com/read/274335/10875714
c xm-rand-pattern.c
#include
#include
#include
#include
#include "xm_lib.h"
#define MALLOC malloc
/*
* createRandomNoteSequence - generates a string of 'length' random notes
*
www.eeworm.com/read/459754/7264893
c binary_tree.c
#include
#include
struct TNode{
char data;
struct TNode *lchild;
struct TNode *rchild;
};
typedef struct TNode Node;
void init(Node **node)
{
*node = (Node *)malloc(sizeof(No
www.eeworm.com/read/442647/7648340
h li2.h
#include"stdio.h"
#define
#define OK 1
#define ERRER 0
typedef struct Node
{char data;
struct Node*next;
}Node,*LinkList;
InitList(LinkList *L)
{*L=(LinkList)malloc(sizeof(Node));
(
www.eeworm.com/read/245644/12786145
c hash.c
#include "lpkit.h" /* only for MALLOC, CALLOC */
#include
#include
/* hash functions for open hashing */
hashtable *create_hash_table(int size)
{
hashtable *ht;
MALLOC(ht,