| 303 | // Allocator* a = allocator(attr); |
| 304 | struct AllocatorAttributes { |
| 305 | void set_on_host(bool v) { value |= (static_cast<int>(v)); } |
| 306 | bool on_host() const { return value & 0x1; } |
| 307 | void set_nic_compatible(bool v) { value |= (static_cast<int>(v) << 1); } |
| 308 | bool nic_compatible() const { return value & (0x1 << 1); } |
no outgoing calls