代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/231996/14212092
h pbc_memory.h
// requires
// * stdlib.h
#ifndef __PBC_MEMORY_H__
#define __PBC_MEMORY_H__
//memory allocation functions
extern void *(*pbc_malloc)(size_t);
extern void *(*pbc_realloc)(void *, size_t);
extern void
www.eeworm.com/read/227427/14425714
aix_5l_notes
[ From: Freddie M ]
Here is a howto for dmalloc using AIX 5L and xlc
For xlc compiler:
1. CC='xlc_r' ./configure --enable-threads
2. settings.h
ifndef LOCK_THREADS
#define LOCK_THREADS 1
www.eeworm.com/read/117726/14906760
c mm.c
/*
* mm-naive.c - The fastest, least memory-efficient malloc package.
*
* In this naive approach, a block is allocated by simply incrementing
* the brk pointer. A block is pure payload. There a
www.eeworm.com/read/117724/14907464
c mm_1.c
/*
* mm-naive.c - The fastest, least memory-efficient malloc package.
*
* In this naive approach, a block is allocated by simply incrementing
* the brk pointer. A block is pure payload. There a
www.eeworm.com/read/116266/14981654
h nymem.h
extern char *malloc(),*realloc();
extern char *ny_malloc(),*ny_realloc();
extern void ny_free();
extern unsigned ny_sbuf_size;
extern char *ny_sbuf;
/* #define MALLOC(x) ny_malloc(x,&ny_sbuf,&ny_sbu
www.eeworm.com/read/208930/15230653
h mem_align.h
#ifndef _MEM_ALIGN_H_
#define _MEM_ALIGN_H_
#include "../portab.h"
void *xvid_malloc(size_t size,
uint8_t alignment);
void xvid_free(void *mem_ptr);
#endif /* _MEM_ALIGN_H_ */
www.eeworm.com/read/172980/5381241
c memp.c
/*
* Copyright (c) 2001, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi
www.eeworm.com/read/169697/5413157
c ad_write_coll.c
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
*
* Copyright (C) 1997 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*/
#include "adio.h"
#include "adio_extern.h"
#ifde
www.eeworm.com/read/168845/5434608
hpp sys_allocator.hpp
// Copyright (C) 2000 Stephen Cleary
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
www.eeworm.com/read/162614/5529057
c wredundant-decls-1.c
/* PR 16684: no redundant declaration warnings should issue the first
time a built-in function is declared.
{ dg-do compile }
{ dg-options "-Wredundant-decls" } */
void *malloc (__SIZE_TYPE_