In that case, the contents of pointer gonzo - a 4-byte memory address - live in the data segment. The actual string it points to does not, however.
在这个示例中,指针在数据段中占用了4个字节,但是指针所指向的字符串则不在数据段中。
That is the address in memory in the heap of the first byte that the user typed in.
那是用户输入的第一个字节在内存中堆的地址。
Every byte in memory has to have an "address" for a process to be able to locate it.
内存中的每一个字节都必须有一个“地址”,以便让进程可以找到它。
The part of a two-part memory address that remains constant and provides a reference point from which the location of a byte of data can be calculated.
保持恒定的两部分内存地址的一部分并提供一个基准点,从这里可以计算一个字节数据的位置。
If each address references a byte of storage, a 16-bit physical address would allow a processor to address 64kb of memory.
如果每个地址引用一个存储字节,那么一个16位物理地址将允许处理器寻址64KB内存。
Big-endian means that the most significant byte is stored at the lowest memory address and the least significant byte is stored at the highest memory address.
Big -endian是将高位字节存储在内存的低地址中,将低位字节存储在内存的高地址中。
Little-endian means that the least significant byte is stored at the lowest memory address and the most significant byte is stored at the highest memory address.
Little - endian是将低位字节存储在内存的低地址中,将高位字节存储在内存的高地址中。
However, this new code now assumes that the starting address is 16-byte aligned, and also that it has enough padding on the end that the next data element in memory is also 16-byte aligned.
然而,这段新代码假定起始地址是按照16字节对齐的,并且末尾也有足够的填充位,因此内存中下一个数据元素也是16字节对齐的。
Each byte offset identifies a memory address used by a machine code instruction.
每个字节位移用于标识一个机器代码指令使用的内存地址。
Why can't you access a 4 byte long variable in a single memory access on an unaligned address(i. e. not divisible by 4), as it's the case with aligned addresses?
为什么你不能访问一个4字节长的变量在未对齐地址(即不被4整除)一个内存访问,因为它与对齐地址的情况?
When the object is later re-created from its byte string, it will be a new in-memory object identical in structure and value to the original, though located at a different memory address.
当对象后来从其字节串重建时,内存中新建的对象与原对象具有相同的结构和值,但位于不同的内存地址。
When the object is later re-created from its byte string, it will be a new in-memory object identical in structure and value to the original, though located at a different memory address.
当对象后来从其字节串重建时,内存中新建的对象与原对象具有相同的结构和值,但位于不同的内存地址。
应用推荐