diff options
Diffstat (limited to 'include/08.heap/deo17')
| -rw-r--r-- | include/08.heap/deo17 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/08.heap/deo17 b/include/08.heap/deo17 new file mode 100644 index 0000000..d20be4c --- /dev/null +++ b/include/08.heap/deo17 @@ -0,0 +1,3 @@ + if (bm[x] == 0) { + /* count free blocks */ + for (y = 0; bm[x + y] == 0 && y < bneed && (x + y) < bcnt; ++y); |
