代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/316872/3586022
c pcspeaker.c
#include
#include
#include
static __init int add_pcspkr(void)
{
struct platform_device *pd;
int ret;
pd = platform_device_alloc("pcspkr",
www.eeworm.com/read/298155/3874486
dat funtc136.dat
函数名称: farfree
函数原型: void farfree(void far *ptr)
函数功能: 释放由farmalloc()和faralloc()分配的内存
函数返回:
函数说明: ptr 被释放的指针
所属文件:
www.eeworm.com/read/298155/3874643
dat funtc68b.dat
read
#include
#include
#include
#include
#include
#include
int main(void)
{
void *buf;
int handle, bytes;
buf = m
www.eeworm.com/read/298155/3874685
dat funtc292.dat
函数名称: sbrk
函数原型: void *sbrk(int incr)
函数功能: 为数据段增加内存
函数返回:
函数说明: incr 数据段增加的字节数据
所属文件:
www.eeworm.com/read/293422/3930939
svn-base util-list.c.svn-base
#include "matchbox-keyboard.h"
List *
util_list_alloc_item(void)
{
return util_malloc0(sizeof(List));
}
int
util_list_length(List *list)
{
int result = 1;
list = util_list_get_first(list);
www.eeworm.com/read/286235/4041029
c dbgalloc.c
#include
#include
#include
#include
#include
#include
#ifdef DEBUG_ALLOC
#define ALIGN_MASK 7
typedef struct _DBGM
www.eeworm.com/read/447901/1693572
h socklnd_lib-linux.h
#define DEBUG_PORTAL_ALLOC
#ifndef EXPORT_SYMTAB
# define EXPORT_SYMTAB
#endif
#ifndef __LINUX_SOCKNAL_LIB_H__
#define __LINUX_SOCKNAL_LIB_H__
#ifndef AUTOCONF_INCLUDED
#include
#en
www.eeworm.com/read/447738/1694629
d align2b.d
# ld: --defsym data_align=32 -T align2.t
# objdump: --section-headers
[^:]+: +file +format.*
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn
+0 +\.text +[^ ]* +0+ +0+ .*
+CONTENTS, +ALLOC, +LO
www.eeworm.com/read/447738/1694660
d align2a.d
# ld: --defsym data_align=16 -T align2.t
# objdump: --section-headers
[^:]+: +file format.*
Sections:
Idx +Name +Size +VMA +LMA +File +off +Algn
+0 +\.text +[^ ]* +0+ +0+ .*
+CONTENTS, +ALLOC, +LO
www.eeworm.com/read/440906/1778266
c eb133a.c
// Build don't link:
// Gives ICE 109
// From: Klaus-Georg Adams
// Reported against EGCS snaps 98/06/28.
int main()
{
try {
}
catch (std::bad_alloc) {