代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/325387/3484542
c ngx_shmem.c
/*
* Copyright (C) Igor Sysoev
*/
#include
#include
#if (NGX_HAVE_MAP_ANON)
ngx_int_t
ngx_shm_alloc(ngx_shm_t *shm)
{
shm->addr = (u_char *) mmap(NULL, shm->siz
www.eeworm.com/read/316872/3597445
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, g
www.eeworm.com/read/316872/3599263
h dma-mapping.h
#ifndef __ASM_SH_DMA_MAPPING_H
#define __ASM_SH_DMA_MAPPING_H
#include
#include
#include
struct pci_dev;
extern void *consistent_alloc(struct pci_dev *h
www.eeworm.com/read/312636/3669872
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/307948/3720609
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/296064/3908376
c pipe_server.c
#include
#include
#include
#include
#include
#if (0)
int client()
{
co_rc_t rc;
co_daemon_handle_t ha
www.eeworm.com/read/296064/3908390
c reactor.c
#include
#include
#include
#include
#include "reactor.h"
co_rc_t co_os_reactor_select(co_reactor_t handle, int m
www.eeworm.com/read/296064/3908465
c filesystem.c
#include
#include
#include
#include
co_rc_t co_os_fs_inode_to_path(co_filesystem_t *fs, co_
www.eeworm.com/read/292685/3950439
c ngx_shmem.c
/*
* Copyright (C) Igor Sysoev
*/
#include
#include
#if (NGX_HAVE_MAP_ANON)
ngx_int_t
ngx_shm_alloc(ngx_shm_t *shm)
{
shm->addr = (u_char *) mmap(NULL, shm->siz
www.eeworm.com/read/271955/4220443
h rqui_dialog.h
#ifndef rqui_dialog_h
#define rqui_dialog_h
#include
RQ_DECLARE_OBJECT(rqui_dialog_t);
rqui_dialog_t rqui_dialog_alloc(const char *title, const char *message);
void rqui_dialog_show_mo