Class: Ignis::Memory::PoolMemoryResource::Block
- Inherits:
-
Struct
- Object
- Struct
- Ignis::Memory::PoolMemoryResource::Block
- Defined in:
- lib/nvruby/memory/pool_memory_resource.rb
Overview
Block header for tracking allocations in the pool
Instance Attribute Summary collapse
-
#free ⇒ Object
Returns the value of attribute free.
-
#ptr ⇒ Object
Returns the value of attribute ptr.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Attribute Details
#free ⇒ Object
Returns the value of attribute free
18 19 20 |
# File 'lib/nvruby/memory/pool_memory_resource.rb', line 18 def free @free end |
#ptr ⇒ Object
Returns the value of attribute ptr
18 19 20 |
# File 'lib/nvruby/memory/pool_memory_resource.rb', line 18 def ptr @ptr end |
#size ⇒ Object
Returns the value of attribute size
18 19 20 |
# File 'lib/nvruby/memory/pool_memory_resource.rb', line 18 def size @size end |