group
group__libshare__mem
Memory manipulation routines.

Encryption, memory pools, and hashmaps.

define
SHMEM_MAGIC
0x2288882222888822
A 64bit arbitrary number which is gauranteed to be the same on high and low endian computers.
See
shmap_value_t structshmap__value__t compound shencode() group__libshare__memcrypt_1gac27f839caed815456e890576bdb71011 member
define
SHMEM32_MAGIC
((SHMEM_MAGIC >> 32) & 0xFFFFFFFF)
A 32bit arbitrary number which is gauranteed to be the same on high and low endian computers.
See
shmap_value_t structshmap__value__t compound shencode() group__libshare__memcrypt_1gac27f839caed815456e890576bdb71011 member
define
SHMEM16_MAGIC
((SHMEM_MAGIC >> 24) & 0xFFFF)
A 16bit arbitrary number which is gauranteed to be the same on high and low endian computers.
define
SHMEM8_MAGIC
((SHMEM_MAGIC >> 16) & 0xFF)
A single arbitrary byte (8 bits).
define
SHMEM_ENDIAN_MAGIC
0x12345678
A arbitrary 32bit number which is gauranteed to different on both and low endian computers.
Note
Specifies a hard-coded value that identifies a data segment.
shmap_value_t structshmap__value__t compound
define
SHMEM16_ENDIAN_MAGIC
((SHMEM_ENDIAN_MAGIC >> 16) & 0xFFFF)
A arbitrary 16bit number which is gauranteed to different on both and low endian computers.
Note
Specifies a hard-coded value that identifies a data segment.
shmap_value_t structshmap__value__t compound
define
SHMEM_PAD_SIZE
32
The byte padding size when allocating a stored value.
See
shencode() group__libshare__memcrypt_1gac27f839caed815456e890576bdb71011 member shmap_set() group__libshare__memmap_1ga66656d4db4b5580fe5f26c4c5dfea490 member