Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

PlatformAddressFactory Class Reference

List of all members.


Static Public Member Functions

static PlatformAddress on (long value)
static PlatformAddress on (long value, long size)
static MappedPlatformAddress mapOn (long value, long size)
static PlatformAddress allocMap (long fd, long start, long size, int mode) throws IOException
static PlatformAddress alloc (long size)
 Allocates a contiguous block of OS heap memory.
static PlatformAddress alloc (long size, byte init)
 Allocates a contiguous block of OS heap memory and initializes it to a given value.

Member Function Documentation

static PlatformAddress on ( long  value  )  [static]

static PlatformAddress on ( long  value,
long  size 
) [static]

static MappedPlatformAddress mapOn ( long  value,
long  size 
) [static]

static PlatformAddress allocMap ( long  fd,
long  start,
long  size,
int  mode 
) throws IOException [static]

static PlatformAddress alloc ( long  size  )  [static]

Allocates a contiguous block of OS heap memory.

Parameters:
size The number of bytes to allocate from the system heap.
Returns:
PlatformAddress representing the memory block.

static PlatformAddress alloc ( long  size,
byte  init 
) [static]

Allocates a contiguous block of OS heap memory and initializes it to a given value.

Parameters:
size The number of bytes to allocate from the system heap.
init The value to initialize the memory.
Returns:
PlatformAddress representing the memory block.