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.
我遇到了一些令人费解的代码:
int mask = someFunction(); mask>>=1; // What does this line do?
我以前从未见过这种模式,并想了解它在做什么。
与 相同mask = mask >> 1。与所有带有=.
mask = mask >> 1
=