sc::Memory...questQueue(3)

πŸ“¦
version 2.3.1 Β· 3 versions
, in fedora 43, fedora 44, ubuntu noble

πŸ’– sc::MemoryDataRequestQueue πŸ’–

okay bestie, so this is a page from the Library Functions Manual for MPQC β€” yes, the whole sc::Memory...questQueue(3) thing, the name got truncated in the header because Unix headers have zero chill, but the real one is down in NAME and it's sc::MemoryDataRequestQueue. slay. let's get into it πŸŽ€


✨ NAME ✨

sc::MemoryDataRequestQueue β€” literally just a queue for memory data requests, bestie. it queues. it requests. it's giving buffer energy πŸ’…


🌸 SYNOPSIS 🌸

πŸ¦‹ Public Types

okay so there's exactly one type situation going on here and it's an enum:

enum { MaxDepth = 1024 }

that's it. MaxDepth is 1024, no cap 🧒 (well, actually, 1024 is kinda the cap, but you get me).

πŸ‘‘ Public Member Functions

here's the whole lineup, no skips:

  • int n () const β€” tells you how many things are in the queue rn. it's a count. it's const. it's not gonna change anything, it's just gonna look πŸ‘€
  • void push (MemoryDataRequest &) β€” shoves a MemoryDataRequest in there. takes a reference, returns nothing, lives its life.
  • void pop (MemoryDataRequest &) β€” takes a MemoryDataRequest back out. also a reference, also returns nothing. very demure, very mindful.
  • MemoryDataRequest & operator[] (int i) β€” indexes into the queue by position i and hands you back a reference to that MemoryDataRequest. random access? in this economy? iconic.
  • void clear () β€” wipes the whole thing. zero survivors. ✨

🫢 Author 🫢

Generated automatically by Doxygen for MPQC from the source code.

not a human. not a vibe. just Doxygen doing its little robot thing πŸ€– so if you wanted to thank someone personally, bestie, there's literally no one to thank, it's generated. 😭


and that's the whole page!! no hidden options, no sneaky flags, no environment variables, no exit statuses β€” just a tiny little queue class living its truth 🌈

MPQC, Version 2.3.1 β€” mwah, sending you kisses, go push something onto a queue and feel powerful πŸ’–πŸ’…πŸ¦‹

πŸ“¦ where this page comes from