fn countListCapacity(first_node: ?*Node) usize
fn countListCapacity(first_node: ?*Node) usize { var capacity: usize = 0; var it = first_node; while (it) |node| : (it = node.next) { // Compute the actually allocated size excluding the // linked list node. capacity += node.size.toInt() - @sizeOf(Node); } return capacity; }