Files
pplus-web/mojo/corpus/quest/starters/MQ_105.mojo
T
2026-10-05 03:03:38 +00:00

9 lines
202 B
Mojo

# Ring-buffer helpers for the sensor ingest loop
def grow_capacity(n: Int) -> Int:
return n # TODO: should double the buffer's capacity
def main():
print("New capacity:", grow_capacity(21))