Back to results
US 10,768,861 B1Granted
In-place safe decompression
AssigneeMicrosoft Technology Licensing, LLC
InventorsXin Huang, Derek E. Gladding, Bartosz T. Nyczkowski, Michael Sterling
Life of this patent
Estimating the term…
Abstract
A method for providing in-place safe decompression of a data stream includes utilizing a stored offset to allocate a memory space for a decompression operation. The stored offset represents a maximum offset by which a write pointer position of an output stream exceeds a read pointer position for a corresponding input stream during in-place decompression of the compressed data stream.
Claims20
A method comprising:
- processing an instruction to decompress a compressed data stream stored in association with an in-place safe (IPS) offset, the IPS offset representing a maximum offset by which a write pointer position of an output stream exceeds a read pointer position for a corresponding input stream during in-place decompression of the compressed data stream;
- allocating a memory space for storing the input stream and the output stream during the in-place decompression of the compressed data stream, the memory space having a size selected based on the IPS offset and a size of the output stream;
- and
- decompressing the compressed data stream in-place within the allocated memory space.
1 more element
A system comprising:
- memory;
- and
- an in-place safe (IPS) offset determination tool stored in the memory that:
- tracks locations of a read pointer and a writer pointer while decompressing a compressed data stream;
- and
- identifies, based on the tracked locations, an IPS offset representing a maximum offset by which a position of the write pointer exceeds a position of the read pointer;
- a file generator stored in the memory that stores the compressed data stream in association with a location of IPS offset;
- and
- a file reader stored in the memory that allocates a memory space for decompression of the compressed data stream, the memory space having a size based on the IPS offset.
6 more elements
One or more memory devices storing processor-readable instructions for executing a computer process comprising:
- processing an instruction to decompress a compressed data stream stored in association with an in-place safe (IPS) offset, the IPS offset representing a maximum offset by which a write pointer position of an output stream exceeds a read pointer position for a corresponding input stream during in-place decompression of the compressed data stream;
- allocating a memory space for storing the input stream and the output stream during the in-place decompression of the compressed data stream, the memory space having a size selected based on the IPS offset and a size of the output stream;
- and
- decompressing the compressed data stream in-place within the allocated memory space.
1 more element
Dependencies are inferred from the claim text.