Method for comparing data structures that cross address space boundaries
Abstract
A method in accordance with the invention involves the normalization of a C language-type data structure received by a process in a distributed computing environment (DCE) to ensure that padding bits are consistently used. The method steps may advantageously be performed by a client process prior to and subsequent to a remote procedure call (RPC) to ensure that the padding bits are not undesirably changed as a result of the RPC. The method steps can also be performed by a server process to ensure that the structures it receives in RPCs are consistent in their use of padding bits. Normalization of the data structure permits a memcmp( ) or similar comparison function to be used to compare data structures without the risk that dissimilar padding bits will result in a false negative from the comparison.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 32.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, executed by a first process in a first computer system, of normalizing a data structure having a first member definition structure which includes at least one member and at least one padding bit, said data structure being transmitted to the first process from a second process executing in a second computer system using a remote procedure call, comprising the steps of: (a) receiving, on said first computer system, the data structure; (b) performing, by said first process in said first computer system, a logical bitwise AND operation of the data structure with a template structure an
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 32 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (4)
- Kernighan, Ritchie, The C Programming Language, 1978 (Prentice Hall New Jersey). See specifically, chapter 6 and Appendix A, section 8.5.
- Kernighan, Ritchie, The C Programming Language, 1978 (Prentice-Hall New Jersey). See specifically, chapter 6 and Appendix A, section 8.5.
- Rosenberry, Kenney and Fisher, Understanding DCE, 1992 (O Reilly and Associates, Inc., Sebastol, Cal.)
- Rosenberry, Kenney and Fisher, Understanding DCE, 1992 (O'Reilly and Associates, Inc., Sebastol, Cal.)