diff options
Diffstat (limited to 'include/08.heap/heap8.c')
| -rw-r--r-- | include/08.heap/heap8.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/08.heap/heap8.c b/include/08.heap/heap8.c new file mode 100644 index 0000000..fd64ff9 --- /dev/null +++ b/include/08.heap/heap8.c @@ -0,0 +1,5 @@ + /* reserve room for bitmap */ + bcnt = (bcnt / bsize) * bsize < bcnt ? bcnt / bsize + 1 : bcnt / bsize; + for (x = 0; x < bcnt; ++x) { + bm[x] = 5; + } |
