Flexible data structure layout for data structure including bit-field data members
Abstract
The invention produces data structure layout in a flexible manner that enables the data structures of a computer program to be layed out in a manner that conforms to constraints imposed by a particular computer system on which the program is implemented and that enables the produced data structure layout to be used with different computer systems having different constraints. Thus, the invention is particularly useful with systems that require close control of data structure layout and that have unique requirements for that layout. Embedded real-time systems, which are often implemented on hardware which is designed and optimized for a particular application, are one example of the type of system with which the invention can advantageously be used. The invention additionally allows a user to specify various parameters that control aspects of the manner in which data structure layout is achieved and, therefore, certain characteristics of the data structure layout. The parameters can be specified to achieve a data layout that provides a desired combination of program execution speed and required memory capacity.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for laying out data members of a data structure, the data members including bit-field data members, the method comprising the steps of: accepting as input i) an identifier of each data member, ii) a data type for each data member, and iii) a data type size for each data member; accepting as input the value of a parameter specified by a user, the parameter indicating, if the structure is an unpacked structure, an increment that defines where a new allocation unit for a bit-field data member will start relative to the allocation unit for the previous data member, the increment being e
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- "Teach Yourself C++ in 21 days" by Jessie Liberty 1st Edition pp. 37, 62, 586-610, 657-658, no date.
- "The C programming Language 2nd Edition" by Kenighan et al. pp. 147-150, 185-189, 215-219.
- Bijan, Programming Byte by Byte (Fortran), Text Book, pp. 540 543 Apr. 1984.
- Bijan, Programming Byte by Byte (Fortran), Text Book, pp. 540-543 Apr. 1984.
- Teach Yourself C in 21 days by Jessie Liberty 1st Edition pp. 37, 62, 586 610, 657 658, no date.