Changeset 65642 in vbox for trunk/src/VBox/Runtime/common/rand
- Timestamp:
- Feb 7, 2017 11:28:56 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/rand/randadv.cpp
r62477 r65642 222 222 { 223 223 case 4: 224 pb[3] = (uint8_t)(u32 >> 24); 224 pb[3] = (uint8_t)(u32 >> 24); /* fall thru */ 225 225 case 3: 226 pb[2] = (uint8_t)(u32 >> 16); 226 pb[2] = (uint8_t)(u32 >> 16); /* fall thru */ 227 227 case 2: 228 pb[1] = (uint8_t)(u32 >> 8); 228 pb[1] = (uint8_t)(u32 >> 8); /* fall thru */ 229 229 case 1: 230 230 pb[0] = (uint8_t)u32; … … 254 254 { 255 255 case 8: 256 pb[7] = (uint8_t)(u64 >> 56); 256 pb[7] = (uint8_t)(u64 >> 56); /* fall thru */ 257 257 case 7: 258 pb[6] = (uint8_t)(u64 >> 48); 258 pb[6] = (uint8_t)(u64 >> 48); /* fall thru */ 259 259 case 6: 260 pb[5] = (uint8_t)(u64 >> 40); 260 pb[5] = (uint8_t)(u64 >> 40); /* fall thru */ 261 261 case 5: 262 pb[4] = (uint8_t)(u64 >> 32); 262 pb[4] = (uint8_t)(u64 >> 32); /* fall thru */ 263 263 case 4: 264 pb[3] = (uint8_t)(u64 >> 24); 264 pb[3] = (uint8_t)(u64 >> 24); /* fall thru */ 265 265 case 3: 266 pb[2] = (uint8_t)(u64 >> 16); 266 pb[2] = (uint8_t)(u64 >> 16); /* fall thru */ 267 267 case 2: 268 pb[1] = (uint8_t)(u64 >> 8); 268 pb[1] = (uint8_t)(u64 >> 8); /* fall thru */ 269 269 case 1: 270 270 pb[0] = (uint8_t)u64;
Note:
See TracChangeset
for help on using the changeset viewer.