因为所有对象都是从8字节边界开始,并且大小可以被8整除,所以底部的3位不用于表示大小;我们将其作为标志,用于表示对象的不同状态。
As all objects start on an 8 byte boundary, and the size is divisible by 8, the bottom 3 bits are not used for the size; we use them for flags to indicate different states of the object.
发现可被100整除的年份不一定是闰年,除非它能被400整除。
Years that are divisible by 100 are not leap years, unless they're also divisible by 400.
这组数正是我们想要检查是否可被3或5整除的那些数。
This is exactly the set of Numbers we want to check to see if they are divisible by 3 or 5.
应用推荐