(n, alignment)
| 151 | |
| 152 | @staticmethod |
| 153 | def _roundup(n, alignment): |
| 154 | # alignment must be a power of 2 |
| 155 | mask = alignment - 1 |
| 156 | return (n + mask) & ~mask |
| 157 | |
| 158 | def _new_arena(self, size): |
| 159 | # Create a new arena with at least the given *size* |
no outgoing calls
no test coverage detected