Lines Matching refs:struct
15 import struct
255 Because values are packed into a memoryview as bytes, the struct
265 # - N * 8 bytes: `struct` format string for each element
322 requested_size = struct.calcsize(
335 struct.pack_into(
342 struct.pack_into(
348 struct.pack_into(
354 struct.pack_into(
364 struct.unpack_from(
377 v = struct.unpack_from(
393 transform_code = struct.unpack_from(
409 struct.pack_into(
417 struct.pack_into(
428 (v,) = struct.unpack_from(
472 struct.pack_into(new_format, self.shm.buf, offset, encoded_value)
478 return struct.unpack_from("q", self.shm.buf, 0)[0]
485 "The struct packing format used by all currently stored items."
492 "The struct packing format used for the items' storage offsets."
497 "The struct packing format used for the items' packing formats."
502 "The struct packing format used for the items' back transforms."