The Complete SPRLIB & ANNLIB

STOCK-values

- constants used in the allocation routines (LOCAL)

SYNOPSIS

NET_STOCK 10 Allocate 10 NET structures at a time.
LAYER_STOCK 50 Allocate 50 LAYER structures at a time.
MAP_STOCK 100 Allocate 100 MAP structures at a time.
UNIT_STOCK 100 Allocate 100 UNIT structures at a time.
UNITVAL_STOCK 1000 Allocate 1000 UNIT_VALUE structures at a time.
LINK_STOCK 1000 Allocate 1000 LINK structures at a time.
WEIGHT_STOCK 500 Allocate 500 WEIGHT structures at a time.
WEIGHTVAL_STOCK 1000 Allocate 1000 WEIGHT_VALUE structures at a time.
DATASET_STOCK 10 Allocate 10 DATASET structures at a time.
SAMPLE_STOCK 10000 Allocate 10000 SAMPLE structures at a time.

NOTE

SPRANNLIB provides allocation functions for datasets, networks and other structures that allocate a pool of structures at a time from the operating system and processes allocation requests from these pools. The above constants determine (at compile-time) the size of the pools.

SEE ALSO

STOCK-variables, malloc_net, malloc_dataset, malloc_netlib, malloc_local

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998