因为所有对象都是从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.
值- 1表示没有大小限制。
这种格式的优点在于磁盘映像的大小与表示映像的物理文件的大小不同。
The advantage of this format is that the size of the disk image is not the same as the physical file representing the image.
- >> Is there a data type for representing 1,024 bits or -- >> David: Good question.
>,有没有能表示1024位大小的数据类型或-,>>,大卫:好问题。
We'll adapt the convention that we'll measure angle in a radian.
我们要适应它,以后都用弧度来表示角的大小
Well, int is almost always 32 bits at least so far as we've seen so, in fact, any time I draw a pointer hence force I'm just going to draw a square as well because they are, in fact, the same size usually in memory.
嗯,int几乎总是32位的,至少我们至今所看到的是这样的,每次我用一个正方形表示一个指针,因为实际上他们,在内存中的大小是一样的。
应用推荐