代码搜索:realloc
找到约 1,059 项符合「realloc」的源代码
代码结果 1,059
www.eeworm.com/read/139477/13154630
cc garray.cc
#include
#include
#include "GArray.h"
#include "Util.h"
#ifdef SGI
/////////Template Instantiation Stuff////////////
#pragma instantiate GArray
#pragma instantiate GArray
www.eeworm.com/read/323831/13314093
h wordchainelempool.h
// Copyright (C) 2003 Darren Moore (moore@idiap.ch)
//
// This file is part of Torch 3.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with
www.eeworm.com/read/307145/13727712
c c11_014.c
#include
/* ... */
T *tmp;
tmp = realloc(p, NewNumElems * sizeof *p);
if(tmp != NULL)
{
/* the resizing worked */
p = tmp;
}
else
{
/* The resizin
www.eeworm.com/read/304449/13794208
txt test8_5.txt
#include
#include
void upcase(char *inputstring, char *newstring);
int main(void)
{
char *string;
upcase("Hello",string);
printf("str1=%s \n", stri
www.eeworm.com/read/304449/13794285
txt test8_5.txt
#include
#include
void upcase(char *inputstring, char *newstring);
int main(void)
{
char *string;
upcase("Hello",string);
printf("str1=%s \n", stri
www.eeworm.com/read/140156/5794889
c stringconcat.c
/* -*- mode: c -*-
* $Id: StringConcat.c,v 1.3 2001/10/20 15:43:19 nuffer Exp $
* http://www.bagley.org/~doug/shootout/
*/
/*
#include
#include
#include
#i
www.eeworm.com/read/131315/5938793
awk mmtrace.awk
#
# Awk program to analyze mtrace.c output.
#
$1 == "+" { if (allocated[$2] != "")
print "+", $2, "Alloc", NR, "duplicate:", allocated[$2];
else
allocated[$2] = $3;
}
$1 == "-" { if
www.eeworm.com/read/131315/5943276
c test1.c
#include
struct tstruct {
char c;
int i;
float f;
};
extern char *malloc();
extern char *valloc();
extern char *realloc();
extern char *calloc();
extern char *memalign();
exte
www.eeworm.com/read/126411/6017617
awk mtrace.awk
#
# Awk program to analyze mtrace.c output.
#
$1 == "+" { if (allocated[$2] != "")
print "+", $2, "Alloc", NR, "duplicate:", allocated[$2];
else
allocated[$2] = $3;
}
$1 == "-" { if
www.eeworm.com/read/119864/6082045
c testmalloc.c
#include
#include
#include
struct list {
struct list *next;
};
int main(void)
{
int z=999;
int *y=&z;
int *x=NULL;
struct list *save;
struct list *lp;
int i;