MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / allocate

Method allocate

projects/Python/proto/fbe.py:284–285  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

282
283 # Allocate memory in the current write buffer and return offset to the allocated memory block
284 def allocate(self, size):
285 return self.buffer.allocate(size)
286
287 # Remove some memory of the given size from the current write buffer
288 def remove(self, offset, size):

Callers 15

set_beginMethod · 0.45
create_beginMethod · 0.45
serializeMethod · 0.45
set_beginMethod · 0.45
create_beginMethod · 0.45
serializeMethod · 0.45
set_beginMethod · 0.45
create_beginMethod · 0.45
serializeMethod · 0.45
set_beginMethod · 0.45
create_beginMethod · 0.45
serializeMethod · 0.45

Calls

no outgoing calls

Tested by 15

set_beginMethod · 0.36
create_beginMethod · 0.36
serializeMethod · 0.36
set_beginMethod · 0.36
create_beginMethod · 0.36
serializeMethod · 0.36
set_beginMethod · 0.36
create_beginMethod · 0.36
serializeMethod · 0.36
set_beginMethod · 0.36
create_beginMethod · 0.36
serializeMethod · 0.36