代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/229812/4751850
for alloc.for
DIMENSION A(:)
* N = 592953
* N = 600000
N = 6000
PRINT '(A,X,Z8)', 'N location is', LOC( N )
IF( ALLOCATED( A ) )THEN
PRINT *, 'A is allocated'
ELSE
www.eeworm.com/read/305566/3772117
in alloc.in
4 : size of fast dimension (n1)
3 : size of slow dimension (n2)
www.eeworm.com/read/366702/2877200
f90 alloc_alloc_expr_1.f90
! { dg-do compile }
program fc011
! Tests fix for PR20779 and PR20891.
! Submitted by Walt Brainerd, The Fortran Company
! and by Joost VandeVondele
! This program violates requir
www.eeworm.com/read/366702/2877221
f90 alloc_alloc_expr_2.f90
! { dg-do compile }
! This tests the fix for PR29343, in which the valid ALLOCATE statement
! below triggered an error following the patch for PR20779 and PR20891.
!
! Contributed by Grigory Zagorodne
www.eeworm.com/read/192259/8391288
c alloc.c
#include "db.h"
/* Allocate & initialize a DB structure, and all the buffers it needs */
DB *
_db_alloc(int namelen)
{
DB *db;
/* Use calloc, to init structure to zero */
if ( (db
www.eeworm.com/read/191079/8433971
h alloc.h
//
// spectral toolkit
// copyright (c) 2005 university corporation for atmospheric research
// licensed under the gnu general public license
//
#ifndef __alloc__
#define __alloc__
namespace spectr
www.eeworm.com/read/189298/8477406
h alloc.h
/*
** Definitions for a less error-prone memory allocator.
*/
#include
#define malloc DON'T CALL malloc DIRECTLY!
#define MALLOC(num,type) (type *)alloc( (num) * sizeof(type) )
ex
www.eeworm.com/read/189298/8477411
c alloc.c
/*
** Implementation for a less error-prone memory allocator.
*/
#include
#include "alloc.h"
#undef malloc
void *
alloc( size_t size )
{
void *new_mem;
/*
** Ask for the re
www.eeworm.com/read/189219/8484356
c alloc.c
#include "db.h"
/* Allocate & initialize a DB structure, and all the buffers it needs */
DB *
_db_alloc(int namelen)
{
DB *db;
/* Use calloc, to init structure to zero */
if ( (db = calloc(1
www.eeworm.com/read/389093/8548823