Warning, /testsuites/samples/unlimited/unlimited.doc is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-2-Clause
0002
0003 # COPYRIGHT (c) 1989-1997.
0004 # On-Line Applications Research Corporation (OAR).
0005 #
0006 # The license and distribution terms for this file may in
0007 # the file LICENSE in this distribution or at
0008 # http://www.rtems.org/license/LICENSE.
0009 #
0010
0011 This file describes the directives and concepts tested by this test set.
0012
0013 test set name: test1
0014
0015 directives:
0016 _Object_Allocate, _Object_Free, _Object_Extend_information,
0017 _Object_Shrink_information
0018
0019 concepts:
0020
0021 a. Verifies when the auto-extend is false the number of objects does
0022 not grow, and the number of objects is the maximum number specified
0023 in the Configuration table.
0024
0025 b. Verify the re-allocation of index numbers, and a block of objects is
0026 freed while another remains yet all it objects are not in
0027 use. Four blocks of the allocation size of objects are created,
0028 then the first and third blocks are freed. Only the first
0029 block's memory will be released, while the second remains. This
0030 is due the allocation hystersis.
0031
0032 c. Allocate as many objects are the work-space can hold. Free objects
0033 from a number of blocks with-out freeing the blocks. Free the remaining
0034 blocks.
0035