代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/196292/8101684
h stack_alloc.h
/* Copyright (C) 2002 Jean-Marc Valin
File: stack_alloc.h
Temporary memory allocation on stack
Redistribution and use in source and binary forms, with or without
modification, are pe
www.eeworm.com/read/142806/12917509
h pthread_alloc.h
/*
* Copyright (c) 1996-1997
* Silicon Graphics Computer Systems, Inc.
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby gra
www.eeworm.com/read/142806/12917538
h stl_alloc.h
/*
* Copyright (c) 1996-1997
* Silicon Graphics Computer Systems, Inc.
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby gra
www.eeworm.com/read/329332/12959928
c ag_alloc.c
#include "ag_private.h"
#include
#include
void *agAlloc(uint16 sz)
{ return PanicNull(malloc(sz)); }
www.eeworm.com/read/329073/12984227
c check_alloc.c
/* Author: Rainer Hegger Last modified: Jul 15, 1999 */
#include
#include
void check_alloc(void *pnt)
{
if (pnt == NULL) {
fprintf(stderr,"Couldn't allocate enough memory.
www.eeworm.com/read/141545/13002288
rc global_alloc.rc
#include "windows.h"
#include "Global_Alloc.h"
MYAPP ICON DISCARDABLE "GENERIC.ICO"
MYAPP MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit",
www.eeworm.com/read/141545/13002290
h global_alloc.h
#define IDM_EXIT 100
#define IDM_TEST 200
#define IDM_ABOUT 301
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About (HWND, UINT, WPARAM
www.eeworm.com/read/141545/13002292
mak global_alloc.mak
# Nmake macros for building Windows 32-Bit apps
all: Global~1.exe
# Update the resource if necessary
Global~1.res: Global~1.rc Global~1.h
rc -r -fo Global~1.res Global~1.rc
# Update t
www.eeworm.com/read/141545/13002295
cpp global_alloc.cpp
#include
#include "Global_Alloc.h"
#if defined (WIN32)
#define IS_WIN32 TRUE
#else
#define IS_WIN32 FALSE
#endif
#define IS_NT IS_WIN32 && (BOOL)(GetVersion() < 0x
www.eeworm.com/read/327775/13062196
asv suboptimal_alloc.asv
%输入参数:aa,K,与最佳算法中的一样
%输出参数:每个子信道上应分配的功率,与
function y=suboptimal_alloc(aa,K)
M=4;
a=2*(sqrt(M)-1)/(sqrt(M)*log2(sqrt(M)));
b=3/(M-1);
Pmax=K;
sum2=0;
sum1=0;
for k=1:K
%if aa(k)>=exp(-b*lamda