代码搜索:realloc

找到约 1,059 项符合「realloc」的源代码

代码结果 1,059
www.eeworm.com/read/104551/15690121

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/281718/9137885

h c_buffer.h

//---------------------------- // C_buffer - template class for implementing fixed-sized buffer with automatic // allocation, de-allocation, member-access. //---------------------------- #ifndef
www.eeworm.com/read/281232/10255208

c s35_sms.c

/*************************************************************************** * copyright : (C) 2002 by Hendrik Sattler * * mail : post@hendrik-sattle
www.eeworm.com/read/142909/12908566

ss startup.ss

.module .text /* on reprend les variables globales */ li_i _vars li_i _getvars jsr 4 pop /* lancement de 'main' puis 'exit' */ li_i _argv ld_i li_i _argc ld_i li_i main jsr 8 li_i exit
www.eeworm.com/read/137285/13335123

h smartall.h

/* Definitions for the smart memory allocator */ #ifdef SMARTALLOC extern char *sm_malloc(), *sm_calloc(), *sm_realloc(), *actuallymalloc(), *actuallycalloc(), *actuallyrealloc(); extern voi
www.eeworm.com/read/307145/13727776

c ch08_02.c

/* Listing 8.2 */ char *ReadTextFile(FILE *fp, int *Error) { size_t size = 0; size_t len; char *p = NULL; char *q; char buffer[128]; *Error = 0; while(fgets(buffer, sizeof b
www.eeworm.com/read/307145/13727777

c ch08_04.c

/* Listing 8.4 */ static char *buffer = NULL; static size_t bufsize = 0; size_t len = strlen(s) + 1; while(len > bufsize) { p = realloc(buffer, bufsize * 2); if(p != NULL)
www.eeworm.com/read/307145/13727781

c ch08_03.c

/* Listing 8.3 */ static char *buffer = NULL; static size_t bufsize = 0; while(strlen(s) >= bufsize) p = realloc(buffer, bufsize * 2); if(p != NULL) { bufsize *= 2
www.eeworm.com/read/307145/13727782

c ch08_01.c

/* Listing 8.1 */ char *ReadTextFile(FILE *fp) { size_t size = 0; size_t len; char *p = NULL; char buffer[128]; while(fgets(buffer, sizeof buffer, fp)) { len = strlen(bu
www.eeworm.com/read/147331/5732783

c envz_strip.c

/* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. * * Permission to use, copy, modify, and distribute this software * is freely granted, provided that this notice is preserved.