StorageBuffer.allocate: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/storage_buffer.bend as StorageBuffer Lines 9-12 of stelliferous@0.0.2.0/storage_buffer.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/storage_buffer.bend&start_line=9&end_line=12 import Base import stelliferous@0.0.2.0/proofs/storage_certificate.bend as Certificate # Construction records evidence once, without visiting the owner or carrying # certificates through the elementwise loop. def allocate(~Element: Data,+depth: Nat,+value: Element,length: Nat) -> Buffer: Buffer{Array.new(Element,depth,value),length,Certificate.allocated(Element,depth,value)} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.new https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_certificate.bend&name=allocated https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/storage_buffer.bend&name=Buffer