** Check whether real size of the array is a power of 2. ** (If it is not, 'alimit' cannot be changed to any other value ** without changing the real size.) */
| 276 | ** without changing the real size.) |
| 277 | */ |
| 278 | static int ispow2realasize (const Table *t) { |
| 279 | return (!isrealasize(t) || ispow2(t->alimit)); |
| 280 | } |
| 281 | |
| 282 | |
| 283 | static unsigned int setlimittosize (Table *t) { |