AUTH2TABLE(3)

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

okay bestie, gather round, we're reading auth2table(3) β€” yes it's from the AUT STRUCTURE DEFINITIONS corner of the manual and honestly? it ate. let's get into it πŸŽ€


✨ NAME ✨

auth2table β€” hash table structure 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so. the auth2table structure is literally there to describe a hash table with two keys. two of them. not one. two. the way that it just does that?? iconic.

the declarations you actually need in order to work on auth2table are chilling in the header file /labo/include/aut101.h, and the 101 in that path is the actual aut version β€” yes, it moves, keep up πŸ’…

and here's the C structure that supports the description of an hash element, no edits, no notes:

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

okay now the field-by-field tour, because every single one of these matters:

  • TABLE β€” this is the hash element array. the whole lineup, the squad, the cast. 🌈
  • TABLE_SIZE β€” the size of the hash table. how much room it's got to work with. πŸ’–
  • NUMBER_ELEM β€” the number of element in the hash table. that's the headcount, fr fr.
  • NUMBER_ADD β€” the number of added elements. every time something gets added, this one's keeping score. πŸ”₯
  • NUMBER_SCAN β€” the number of scans to find an element. yes, it counts the searching too, it's thorough like that. πŸ‘‘
  • NUMBER_DEL β€” the number of deleted elements. it remembers what's gone. πŸ’€
  • NUMBER_STRETCH β€” the number of hash table stretch. it stretches. and this counts it. ✨

🌸 SEE ALSO 🌸

aut(1), auth2table(3),


πŸ› BUG REPORT πŸ›

bestie this tool is under development at the ASIM department of the LIP6 laboratory, so be nice to it, it's doing its best 😭

and fr, they need your feedback to improve the documentation and the tools. so if something's weird, say something. that's the vibe check. πŸ™ˆ


and that's the whole page, you're officially fluent πŸ’œ this little gem comes to you from ASIM/LIP6, dated October 1, 1997 β€” yeah, it's vintage, and it still slays. bye bestie πŸ¦‹