由买买提看人间百态

topics

全部话题 - 话题: 0x0008
(共0页)
h**o
发帖数: 548
1
来自主题: Programming版 - what is difference between 0x0008 and 8?
const ushort PERS_ID_GIF_OPT_LEVEL = 0x0008;
what does it mean? why not represent it as 8?
Thanks,
g**d
发帖数: 723
2
来自主题: Hardware版 - 硬盘坏道?
Disk: Maxtor DiamondMax 10 (ATA/133)
SMART support is: Available
SMART overall-health self-assessment test result: PASSED
198 Offline_Uncorrectable 0x0008 252 235 000 Old_age Offline
- 1
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours)
LBA_of_first_error
# 1 Short offline Completed: read failure 60% 9303
29573615
这个按理说是坏道吧? 但是我format成ext3, 或NTFS都没有报错阿? 用WINDOWS查磁
盘也不报错. 又不敢
g*****g
发帖数: 34805
3
来自主题: Programming版 - what is difference between 0x0008 and 8?
No difference, for binary mask, it means 00001000.
People think this is clear.
l***8
发帖数: 149
4
来自主题: Programming版 - what is difference between 0x0008 and 8?
Yeah it is much cleaner to define a binary mask for bits 9 thru 13 as 0x3e00
, instead of the decimal "15872".
(共0页)