Download src/buffer_stats.ads from Snapkitty/sovereign-ada-rtx: direct link, hf CLI and curl.
- Browser
- Download file 645 Bytes
-
https://huggingface.co/Snapkitty/sovereign-ada-rtx/resolve/main/src/buffer_stats.ads
- Command line
-
hf download hf://Snapkitty/sovereign-ada-rtx/src/buffer_stats.ads
-
curl -L -o buffer_stats.ads https://huggingface.co/Snapkitty/sovereign-ada-rtx/resolve/main/src/buffer_stats.ads
645 Bytes
| with Core_Types; use Core_Types; | |
| with Memory_Structures; | |
| package Buffer_Stats is | |
| function Occupancy_Percent (Buf : Memory_Structures.Buffer) return Natural; | |
| function Remaining_Capacity (Buf : Memory_Structures.Buffer) return Length_Type; | |
| function Is_Nearly_Full (Buf : Memory_Structures.Buffer; Threshold : Natural) return Boolean; | |
| function Average_Byte (Buf : Memory_Structures.Buffer) return Byte; | |
| function Max_Byte (Buf : Memory_Structures.Buffer) return Byte; | |
| function Min_Byte (Buf : Memory_Structures.Buffer) return Byte; | |
| function Sum_Bytes (Buf : Memory_Structures.Buffer) return Word32; | |
| end Buffer_Stats; | |