mask计算错误

当mask = 11011000的时候,mask |= mask >> 2这个时候的值应该为11111110
This commit is contained in:
Jingui Ren 2018-09-18 10:31:09 +00:00 committed by GitHub
parent f89ef4cf59
commit 177a432595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -738,7 +738,7 @@ HashMap 构造函数允许用户传入的容量不是 2 的 n 次方,因为它
```
mask |= mask >> 1 11011000
mask |= mask >> 2 11111100
mask |= mask >> 2 11111110
mask |= mask >> 4 11111111
```