发明名称 |
Method for comparing data structures that cross address space boundaries |
摘要 |
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.
|
申请公布号 |
US5774719(A) |
申请公布日期 |
1998.06.30 |
申请号 |
US19930002168 |
申请日期 |
1993.01.08 |
申请人 |
DIGITAL EQUIPMENT CORPORATION |
发明人 |
BOWEN, STEVEN J. |
分类号 |
G06F9/46;(IPC1-7):G06F13/00 |
主分类号 |
G06F9/46 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|