static ffi.Pointer<HashLock> $allocate( ffi.Allocator $allocator, { required int spin, }) => $allocator<HashLock>() ..ref.spin = spin;