Sign in Join
FPDoc Onlineexperiment

TDynamicDataQueue.ConsistencyCheck procedure

Member of TDynamicDataQueuepublicIn unit DynQueue

Checks for errors in queue settings, item storage space, or item content.

Declaration

pascal
procedure ConsistencyCheck

Description

ConsistencyCheck is a procedure used to raise an exception when an error is detected in queue settings, its item storage space, or the content for item data. ConsistencyCheck raises an exception when the following conditions are detected:

  • Size contains a negative non-zero value.
  • MinimumBlockSize is larger than MaximumBlockSize.
  • MinimumBlockSize is less than sixteen (16) bytes.
  • Internal storage has not been assigned, but Size contains a non-zero value.
  • The item capacity is zero (0) or a negative value.
  • Internal index positions for Top and new items contain a negative value.
  • Internal index positions for Top and new items are larger than the capacity for the queue.

ConsistencyCheck is NOT used in the current implementation.

Errors

Raises an Exception when an error condition is found in the queue settings, its storage space, or the items in the queue. The exception message is: 'TDynamicDataQueue.ConsistencyCheck'.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.