代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/109026/6176863
h osdep.h
//==========================================================================
//
// include/netinet6_osdep.h
//
//
//
//================================================================
www.eeworm.com/read/107896/6187705
c mem.c
#include
void* __malloc(size_t size)
{
void* result = NULL;
result = (void *)malloc(size);
return result;
}
void __free(void* p)
{
if(p != NULL)
www.eeworm.com/read/106385/6194104
cpp heapgen.cpp
/*========================================================================
//
// heapgen.cpp
//
// Helper file for heapgen.tcl
//
//==========================================================
www.eeworm.com/read/105029/6200412
c zstrmov.c
#include
#include
void Zstrmovf( char *s, int l, int p )
{
char *t;
if((t=(char*)malloc(l-p))!=NULL){
memcpy(t,s+p,l-p);
memcpy(s,t,l-p);
free(t);
}
www.eeworm.com/read/103192/6220847
c zalloc.c
/*** zalloc - hoookable ztools allocator
*
* Modifications
* 15-Dec-1988 mz Created
*/
#include
char * (*tools_alloc) (unsigned) = (char * (*)(unsigned))malloc;
www.eeworm.com/read/102071/6234521
c gsm_create.c
/*
* Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
* Universitaet Berlin. See the accompanying file "COPYRIGHT" for
* details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
www.eeworm.com/read/102068/6234554
c gsm_create.c
/*
* Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
* Universitaet Berlin. See the accompanying file "COPYRIGHT" for
* details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
www.eeworm.com/read/101082/6242633
mk makelocal.mk
# @(#)Makelocal.mk 4.1 ULTRIX 7/2/90
include $(GMAKEVARS)
LINTFLAGS = -p
ARFILE= libmalloc.a
OBJS = malloc.o
include ../Makelocal_$(MACHINE).mk
malloc.o: malloc.c
all: llib-lmalloc.ln
tools
www.eeworm.com/read/101082/6242634
c llib-lmall.c
/* @(#)llib-lmall.c 1.1 */
#include "malloc.h"
/* Lint Library for Malloc(3x) */
/* MALLOC(3X) */
/* malloc, calloc, realloc and free are checked
/* by the c library lint file
*/
int mallopt (cmd, val
www.eeworm.com/read/101082/6248569
h util.h
#ifndef lint
/* @(#)util.h 1.1 ULTRIX 6/28/86 */
/****************************************************************
* *
* Licensed to Digital Equipment Corporation, Maynard, MA *
* Copyrigh