Changeset 11393 in vbox
- Timestamp:
- Aug 13, 2008 3:17:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstUuid.cpp
r8245 r11393 106 106 CHECK_EXPR(memcmp(&Uuid3, &Uuid, sizeof(Uuid)) == 0); 107 107 108 #if 0 /** @todo make less verbose and print the bits that remain unchanged. */ 109 /* 110 * checking the clock seq and time hi and version bits... 111 */ 112 for (unsigned i = 0; i < 1024; i++) 113 { 114 RTUUID Uuid4; 115 RTUuidCreate(&Uuid4); 116 RTPrintf("tstUuid: %d %d %d %d-%d %d %d %d %d %d %d %d-%d %d %d %d ; %d %d %d %d-%d %d %d %d %d %d %d %d-%d %d %d %d\n", 117 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(0)), 118 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(1)), 119 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(2)), 120 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(3)), 121 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(4)), 122 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(5)), 123 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(6)), 124 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(7)), 125 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(8)), 126 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(9)), 127 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(10)), 128 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(11)), 129 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(12)), 130 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(13)), 131 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(14)), 132 !!(Uuid4.Gen.u16ClockSeq & RT_BIT(15)), 133 134 135 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(0)), 136 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(1)), 137 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(2)), 138 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(3)), 139 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(4)), 140 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(5)), 141 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(6)), 142 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(7)), 143 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(8)), 144 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(9)), 145 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(10)), 146 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(11)), 147 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(12)), 148 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(13)), 149 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(14)), 150 !!(Uuid4.Gen.u16TimeHiAndVersion & RT_BIT(15)) 151 ); 152 } 153 #endif 154 108 155 /* 109 156 * Summary.
Note:
See TracChangeset
for help on using the changeset viewer.