代码搜索:realloc
找到约 1,059 项符合「realloc」的源代码
代码结果 1,059
www.eeworm.com/read/199468/7849561
h arraymalloc.h
////ArrayMalloc.h//多维数组的动态开辟和删除。
#include
//////C////
//1D
float* MallocFloat1( int n)
{float * p;
p=(float*)malloc(n*sizeof(float));
return p;
}
void FreeFloat1(float *p)
www.eeworm.com/read/146114/12670578
c string.c
/*
* string.c
*
* string handling routines
*
* (C)1999 Stefano Busti
*
*/
#include
#include
#include "string.h"
int str_assign(char **pstr, char *text)
{
char *p;
i
www.eeworm.com/read/311266/13632982
cpp osdc.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreem
www.eeworm.com/read/147331/5730591
c memory.c
/* WinBond bug report
malloc() returns 0x0.
test the memory calls. These test sbrk(), which is part of glue.c
for most architectures.
*/
#include
#define BUFSIZE 80
main()
{
www.eeworm.com/read/143434/5757846
h misc.h
/* Copyright (C) 2002 Jean-Marc Valin */
/**
@file misc.h
@brief Various compatibility routines for Speex
*/
/*
Redistribution and use in source and binary forms, with or without
modificat
www.eeworm.com/read/129770/5970126
dat funtc76.dat
函数名 realloc
函数原型 void * realloc(void * p,unsigned size);
功能 将p所指出的已分配内存区的大小改为size,size可以比原来分配的空间大或小.
返回值 返回指向该内存区的指针.