Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这段代码来自linux内核源代码。$~3 到底是什么意思?我知道 $3 表示一个立即数,但是带前导符号 ~ 是什么意思?
按位补码。因此,与 ~3 进行与运算意味着清除两个最低位。