代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/246537/4493922
c xti_setopt.c
#include "unpxti.h"
int
xti_setopt(int fd, int level, int name, void *optval, socklen_t optlen)
{
int rc;
struct t_optmgmt *req, *ret;
struct t_opthdr *topt;
req = T_alloc(fd, T_OPTMGMT, T_
www.eeworm.com/read/246537/4493924
c xti_getopt.c
#include "unpxti.h"
int
xti_getopt(int fd, int level, int name, void *optval, socklen_t *optlenp)
{
int rc, len;
struct t_optmgmt *req, *ret;
struct t_opthdr *topt;
req = T_alloc(fd, T_OPTM
www.eeworm.com/read/242310/4555000
h cdib.h
// cdib.h 对CDib类中数据和函数进行进行声明
#ifndef _INSIDE_VISUAL_CPP_CDIB
#define _INSIDE_VISUAL_CPP_CDIB
class CDib : public CObject
{
public:
enum Alloc {noAlloc, crtAlloc, heapAlloc}; // 枚举类型,表示内存分配的
www.eeworm.com/read/238453/4614949
h cdib.h
// cdib.h 对CDib类中数据和函数进行进行声明
#ifndef _INSIDE_VISUAL_CPP_CDIB
#define _INSIDE_VISUAL_CPP_CDIB
class CDib : public CObject
{
public:
enum Alloc {noAlloc, crtAlloc, heapAlloc}; // 枚举类型,表示内存分配的
www.eeworm.com/read/220801/4839149
h cdib.h
// cdib.h 对CDib类中数据和函数进行进行声明
#ifndef _INSIDE_VISUAL_CPP_CDIB
#define _INSIDE_VISUAL_CPP_CDIB
class CDib : public CObject
{
public:
enum Alloc {noAlloc, crtAlloc, heapAlloc}; // 枚举类型,表示内存分配的
www.eeworm.com/read/216499/4892665
listing .listing
-rw-r--r-- 1 3 1025 1148 May 14 1975 alloc.c
-rw-r--r-- 1 3 1025 37 May 14 1975 calloc.c
-rw-r--r-- 1 3 1025 508 May 14 1975 cclose.c
-rw
www.eeworm.com/read/209559/4968054
h dma-mapping.h
#ifndef _ASM_DMA_MAPPING_H
#define _ASM_DMA_MAPPING_H
#include
#include
void *dma_alloc_noncoherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, i
www.eeworm.com/read/209211/4982818
makefile
ROOT=..
include ../Make.config
LIB=libdraw.a
OFILES=\
alloc.$O\
arith.$O\
bytesperline.$O\
chan.$O\
defont.$O\
drawrepl.$O\
icossin.$O\
icossin2.$O\
rectclip.$O\
rgb.$O
default: $(LIB)
$(L
www.eeworm.com/read/209211/4983424
c reg.c
#include "gc.h"
Reg*
rega(void)
{
Reg *r;
r = freer;
if(r == R) {
r = alloc(sizeof(*r));
} else
freer = r->link;
*r = zreg;
return r;
}
int
rcmp(void *a1, void *a2)
{
Rgn *p1, *p2;
int