代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/245818/12779276
c names3.c
// names3.c -- use pointers and malloc()
#include
#include // for strcpy(), strlen()
#include // for malloc(), free()
struct namect {
char * fname; // u
www.eeworm.com/read/319472/13451300
c names3.c
// names3.c -- use pointers and malloc()
#include
#include // for strcpy(), strlen()
#include // for malloc(), free()
struct namect {
char * fname; // u
www.eeworm.com/read/315699/13537960
c names3.c
// names3.c -- use pointers and malloc()
#include
#include // for strcpy(), strlen()
#include // for malloc(), free()
struct namect {
char * fname; // u
www.eeworm.com/read/144212/5752771
c gmalloc.c
/* The malloc headers and source files from the C library follow here. */
/* Declarations for `malloc' and friends.
Copyright 1990, 91, 92, 93, 95, 96 Free Software Foundation, Inc.
Written M
www.eeworm.com/read/410432/11287572
c names3.c
// names3.c -- use pointers and malloc()
#include
#include // for strcpy(), strlen()
#include // for malloc(), free()
struct namect {
char * fname; // u
www.eeworm.com/read/157219/11729138
cpp 11_12.cpp
#include "stdio.h"
#include "malloc.h"
struct Person
{
char name[31];
int age;
char address[101];
};
void main()
{
struct Person *pt;
pt= (struct Person *)malloc(s
www.eeworm.com/read/222728/14678375
c arraylist.c
#include "arraylist.h"
ARRAYLIST *arraylist(void){
ARRAYLIST *res = (ARRAYLIST *)malloc(sizeof(ARRAYLIST));
res->list = (ARRAYLIST_ITEM *)malloc(sizeof(ARRAYLIST_ITEM));
memset(res->list,
www.eeworm.com/read/222728/14678437
c arraylist.c
#include "arraylist.h"
ARRAYLIST *arraylist(void){
ARRAYLIST *res = (ARRAYLIST *)malloc(sizeof(ARRAYLIST));
res->list = (ARRAYLIST_ITEM *)malloc(sizeof(ARRAYLIST_ITEM));
memset(res->list,
www.eeworm.com/read/16793/690717
xleaktrace
#! /usr/bin/awk -f
#
# xleaktrace - print unfreed memory using input generated by compact malloc
# tracing (malloc_set_trace(1))
#
# NOTE: we ignore `realloc' tags because they're just extra in
www.eeworm.com/read/475965/1374267
c names3.c
// names3.c -- use pointers and malloc()
#include
#include // for strcpy(), strlen()
#include // for malloc(), free()
struct namect {
char * fname; // u