mask计算错误
当mask = 11011000的时候,mask |= mask >> 2这个时候的值应该为11111110
This commit is contained in:
parent
f89ef4cf59
commit
177a432595
@ -738,7 +738,7 @@ HashMap 构造函数允许用户传入的容量不是 2 的 n 次方,因为它
|
|||||||
|
|
||||||
```
|
```
|
||||||
mask |= mask >> 1 11011000
|
mask |= mask >> 1 11011000
|
||||||
mask |= mask >> 2 11111100
|
mask |= mask >> 2 11111110
|
||||||
mask |= mask >> 4 11111111
|
mask |= mask >> 4 11111111
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user