$allocate static method

Pointer<HashTable> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<Void> memory,
  3. required Pointer<Hash> hash,
  4. required Pointer<HashLock> lock,
  5. required int hash_mask,
  6. required int lock_mask,
  7. required int n_hash,
  8. required int n_lock,
  9. required int date,
})

Implementation

static ffi.Pointer<HashTable> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Void> memory,
required ffi.Pointer<Hash> hash,
required ffi.Pointer<HashLock> lock,
required int hash_mask,
required int lock_mask,
required int n_hash,
required int n_lock,
required int date,
}) => $allocator<HashTable>()
..ref.memory = memory
..ref.hash = hash
..ref.lock = lock
..ref.hash_mask = hash_mask
..ref.lock_mask = lock_mask
..ref.n_hash = n_hash
..ref.n_lock = n_lock
..ref.date = date;