AUTHTABLE(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

πŸ’– AUTHTABLE(3) β€” AUT STRUCTURE DEFINITIONS πŸ’–

okay bestie, welcome to section 3 of the manual (that's the library-functions girlies ✨), and today's main character is the authtable structure. she's a hash table. she's iconic. let's get into it 🫢


✨ NAME ✨

authtable β€” hash table structure


🌸 DESCRIPTION 🌸

so basically? the authtable structure is what we use to describe a hash table. like, it's the little ID card the hash table carries around. no cap πŸ’…

the declarations you need to actually work on authtable live in the header file /labo/include/aut101.h, where '101' is the actual aut version (so don't come for me if your number is different, it's giving version-dependent, iykyk).

the following C structure supports the description of a hash element β€” and yes, you're getting the whole thing, character for character, because we do not paraphrase structs in this house:

typedef struct authtable
{
  authelem βˆ—TABLE;
  long      TABLE_SIZE;
  long      NUMBER_ELEM;
  long      NUMBER_ADD;
  long      NUMBER_SCAN;
  long      NUMBER_DEL;
  long      NUMBER_STRETCH;
} authtable;

and now the field-by-field breakdown, because every single one of these matters πŸ”₯

TABLE

TABLE is the hash element array. the actual storage, the moment, the whole vibe.

TABLE_SIZE

TABLE_SIZE is the size of the hash table.

NUMBER_ELEM

NUMBER_ELEM is the number of element in the hash table. (yes, "element", singular, that's what it says, we respect the original wording in this group chat πŸ™ˆ)

NUMBER_ADD

NUMBER_ADD is the number of added elements.

NUMBER_SCAN

NUMBER_SCAN is the number of scans to find an element. the little search counter that's been through some things 😭

NUMBER_DEL

NUMBER_DEL is the number of deleted elements.

NUMBER_STRETCH

NUMBER_STRETCH is the number of hash table stretch. she stretched, she's thriving 🧚


🌈 SEE ALSO 🌈

aut(1), authtable(3),


πŸ‘‘ BUG REPORT πŸ‘‘

this tool is under development at the ASIM department of the LIP6 laboratory.

we need your feedback to improve documentation and tools. fr fr, like actually, tell them things, they're listening 🫢


and that's the page!! mwah πŸ’‹

little sign-off from the source: this beauty comes from ASIM/LIP6, dated October 1, 1997 β€” vintage, archival, still slaying βœ¨πŸ’–πŸŽ€