代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/367457/9746768
lnt lib-ole.lnt
// BSTR functions (part of OLE Automation)
-sem( SysAllocString, @p == malloc(1p) || @p == 0, 1p )
-sem( SysAllocStringByteLen, @P == malloc(2n+1) || @p == 0 )
-sem( SysAllocStringLen, @p == ma
www.eeworm.com/read/367342/9755722
c fillheap.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
int i, state;
buffer1 = (char *) malloc(100);
buffer2 = (char *) malloc(200);
buf
www.eeworm.com/read/171367/9759509
c volctrl.c
/******************************************************************
* SEAL 2.0 *
* Copyright (c) 1999-2002 SEAL Developers. All Rights Reserve
www.eeworm.com/read/171367/9759576
c inputbox.c
/******************************************************************
* SEAL 2.0 *
* Copyright (c) 1999-2002 SEAL Developers. All Rights Reserve
www.eeworm.com/read/171268/9763887
c lqueue.c
/*链队列*/
#include
typedef int datatype;
typedef struct node
{
datatype data;
struct node *next;
}QNode;
typedef struct
{
QNode *front,*rear;
}LQueue;
www.eeworm.com/read/270082/11048999
c chk_disk.c
#include
#include
#include
void main(void)
{
struct fatinfo fat;
long sector, total_sectors;
void *buffer;
getfat(3, &fat);
total_sectors = fa
www.eeworm.com/read/415872/11049823
txt 172[1].microsoft程序员测试题.txt
Microsoft程序员测试题 (经典)——算法题ZZ
shury 发表于 2004-12-4 17:54:00
(说明:这些题就不是什么花样了,考的是你的基础知识怎么样。再聪明而没
有实学的人都将会被这些题所淘汰。)
1.链表和数组的区别在哪里?
2.编写实现链表排序的一种算法。说明为什么你会选择用这样的方法?
3.编写实现数组排序的一种算法。说明为什么你会选择用这 ...
www.eeworm.com/read/270032/11050905
c utah.c
/*
file: utah.c
description: interface to Utah RLE toolkit
author: A. T. Campbell
date: October 27, 1989
*/
#ifndef lint
static char sccsid[] = "%W% %G%"; /* SCCS info */
#endif lint
#inclu
www.eeworm.com/read/415674/11058632
c 53.c
#include
#include
#include
int main()
{
char *mempointer;
char buffer[] = "This is a test of the mtrace function";
/调用函数mtrace来记录内存泄露与溢出**/
mtrace();
//sete
www.eeworm.com/read/415023/11086082
h stdafx.h
// stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
//
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料
// Windows 头文件:
#includ