代码搜索:realloc
找到约 1,059 项符合「realloc」的源代码
代码结果 1,059
www.eeworm.com/read/209211/4983148
c compat.c
#include "cc.h"
#include "compat"
/*
* fake mallocs
*/
void*
malloc(ulong n)
{
return alloc(n);
}
void*
calloc(ulong m, ulong n)
{
return alloc(m*n);
}
void*
realloc(void*, ulong)
{
fprint(2,
www.eeworm.com/read/304961/3783380
txt _notes.txt
sha*.c - from tomlibcrypt
1) Ensure that the "sources" file includes the lib path to tomlibcrypt
2) Comment out the lines:
extern void *XMALLOC(size_t n);
extern void *REALLOC(void *p, size_t
www.eeworm.com/read/367274/9763555
pl findleak.pl
#!/usr/bin/perl
# From: Ed Beroset
my %mem = {};
my %alloc = {};
while()
{
if (/realloc\((0x[0-9a-f]+).*\).*returns \((0x[0-9a-f]+)/)
{
www.eeworm.com/read/335984/12485141
pl findleak.pl
#!/usr/bin/perl
# From: Ed Beroset
my %mem = {};
my %alloc = {};
while()
{
if (/realloc\((0x[0-9a-f]+).*\).*returns \((0x[0-9a-f]+)/)
{
www.eeworm.com/read/283498/9015635
asm getsm.asm
StdGrp group stdlib,stddata
stddata segment para public 'sldata'
stddata ends
;
stdlib segment para public 'slcode'
assume cs:stdgrp
;
extrn sl_malloc:far, sl_realloc:far, sl_free:far
www.eeworm.com/read/460770/7241068
pl findleak.pl
#!/usr/bin/perl
# From: Ed Beroset
my %mem = {};
my %alloc = {};
while()
{
if (/realloc\((0x[0-9a-f]+).*\).*returns \((0x[0-9a-f]+)/)
{
$mem
www.eeworm.com/read/453925/7403733
c test.c
/* test.c: testing routines for regex.c. */
#include
#ifdef STDC_HEADERS
#include
#else
char *malloc ();
char *realloc ();
#endif
/* Just to be complete, we make both the sys
www.eeworm.com/read/398515/7941739
cpp 线性.cpp
#include
#include
#include //包含malloc,realloc,sizeof函数的头文件
typedef int ElemType;
typedef struct LinkList//定义
{
ElemType data;
struct LinkList *next;
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/129888/14219973
cpp segy.cpp
#include "stdafx.h"
#include "segy.h"
#include
#include
#include
#include
#include
#include
using namespace std;
void * SEGY_realloc (vo