theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
MkBuffer256C

MkBuffer256S - the final class of abstract class MkBufferC with 256 byte ILS-SizeMore...

+ Collaboration diagram for MkBuffer256C:

Topics

 MkBuffer256C_Class_Define_C_API
 MkBuffer256S - low level definition, access and cast …
 

Data Structures

struct  MkBuffer256S
 the final class of MkBufferS with 256 byte ILS-SizeMore...
 

Macros

#define MkBuffer256S_ils_size   (256)
 256 bytes I)instance L)ocal S)torage - the memory that adds the final-class to the abstract-class.
 

Detailed Description

MkBuffer256S - the final class of abstract class MkBufferC with 256 byte ILS-Size

C-Kernel-Details

The ABSTRACT-CLASS MkBufferS is used to store MkTypeE data in an MkBufferS::storage

A new MkBufferS is always preallocated with the predefined ILS-storage (MkBufferS::ils_data), but can switch to a MALLOC-storage if the storage requirements of the user exceed the predefined MkBufferS::ilsS::size.

‍A MkBufferS never run out of storage.

The basic goal of the ILS-storage technology is to minimize the usage of MALLOC, this mean that the MkBufferS::ilsS::size should be large enought to be sufficient for the user needs.

The following conditions must always be met for the ILS memory:

The ABSTRACT-CLASS MkBufferS is missing the ILS-storage, the FINAL-CLASSES are:

MkBuffer64C, MkBuffer256C and MkBuffer1024C

See also
MkBufferListC, MkBufferStreamC

Macro Definition Documentation

◆ MkBuffer256S_ils_size

#define MkBuffer256S_ils_size   (256)

256 bytes I)instance L)ocal S)torage - the memory that adds the final-class to the abstract-class.

Definition at line 5901 of file LibMkKernel_mk.h.