diff options
| author | Enrique | 2025-01-06 00:50:11 +0100 |
|---|---|---|
| committer | Enrique | 2025-01-06 00:50:11 +0100 |
| commit | 789169d70d24ff2c1c9804f0149d0508de6dfcfa (patch) | |
| tree | 088ec2ce664a13aeeb3603d0eee6c737caff7190 /list/rulez.txt | |
| download | soikk-libs-789169d70d24ff2c1c9804f0149d0508de6dfcfa.tar.xz soikk-libs-789169d70d24ff2c1c9804f0149d0508de6dfcfa.tar.zst | |
First upload
Diffstat (limited to 'list/rulez.txt')
| -rwxr-xr-x | list/rulez.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/list/rulez.txt b/list/rulez.txt new file mode 100755 index 0000000..65c7ce5 --- /dev/null +++ b/list/rulez.txt @@ -0,0 +1,20 @@ + push + static + if space l[size++] = d + dynamic || naive + if !space realloc + if space l[size++] = d + + push_i + static + no sneed + dynamic || naive + if !space realloc move + l[i] = d, size++ + + pop + static + l[size--] = {0} + dynamic || naive + l[size--] = {0} + if space < limit realloc |
