在派生类中重写时,计算对字节序列(从指定的字节指针开始)进行解码所产生的字符数。
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.
在派生类中重写时,将一组字符(从指定的字符指针开始)编码为一个字节序列,并从指定的字节指针开始存储该字节序列。
When overridden in a derived class, encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.
作为良好的实践,每当向指针写入值时,都要确保对可用字节数和所写入的字节数进行交叉核对。
As a good practice, whenever writing values to Pointers make sure to cross check the number of bytes available and number of bytes being written.
pte链的每一个条目使用4个字节来存储指向页表条目的指针,用另外4个字节来存储指向链的下一个条目的指针。
Each entry in the PTE chain USES 4 bytes to store a pointer to the page-table entry and an additional 4 bytes to store the pointer to the next entry on the chain.
每个在GC堆中分配的对象有一个8字节的头(同步块+方法表指针)。
Each object allocated on the GC heap has an 8-byte overhead (sync block + method table pointer).
如果参数为NULL,则openssl会将字符串写入到一个长度为256字节的静态缓冲区中,并返回指向该缓冲区的指针。
If this parameter is NULL, OpenSSL writes the string to a static buffer that is 256 bytes in length, and returns a pointer to that buffer.
dxferp:指向数据传输时长度至少为dxfer_len字节的用户内存的指针。
Dxferp: a pointer to user memory of at least dxfer_len bytes in length for data transfer.
假设有一个指针memoryArea,它指向一个10字节的内存位置。
Suppose there is a pointer memoryArea pointing to a memory location of 10 bytes.
我们假设s1是一个指针,就像箭头所表示的,指向这个字节。
Let's just assume that s1 is a pointer and as an arrow suggests it's pointing at this byte here.
当你的程序持续不断的收到系统发送的低内存警告;当你不得不与低级语言、字节级精度的指针与C结构打交道的时候,你怎么嗨的起来?
It's hard to get worked up about still dealing with low-level, per-byte-precise entities like pointers and C structs when your application is constantly receiving low-memory warnings from the OS.
我们可以认为userdata就是一个字节数组——字节可以表示指针、结构或宿主应用程序中的文件。
You can think of userdata as an array of bytes — bytes that might represent a pointer, a structure, or a file in the host application.
内存开销大约为(M +B)个字节(每个内存块开头的指针忽略不计)。
The overhead averages about (m + b) bytes (ignoring the Pointers at the beginning of each memory block).
所以,如果一个字节序列可以是一个指向一块被分配的内存的指针,那么收集器就将其标记为正在被引用。
So, if a sequence of bytes could be a pointer to a piece of allocated memory, it marks it as being referenced.
清单1中的代码将分配两个 512字节的内存块,然后指向第一个内存块的指针被设定为指向第二个内存块。
The code in Listing 1 allocates two 512-byte blocks of memory, and then the pointer to the first block is set to the second block.
函数可以自由使用288字节的内存,对于不调用其他函数的函数来说,这段内存物理上在堆栈指针之下。
Functions are free to use the 288 bytes that are physically below the stack pointer for functions that do not call other functions.
该函数接受一个指向用户空间缓冲区的指针、一个指向内存缓冲区的指针、以及一个以字节定义的长度。
This function accepts a pointer to a user space buffer, a pointer to a kernel buffer, and a length defined in bytes.
例如,一个链表在指针为4字节的系统上可能分配只包含两个指针的节点,也就是说只需要8个字节。
For example, a linked list on a system with 4-byte Pointers might allocate nodes holding only, say, two Pointers, requiring only 8 bytes.
将字符指针和字符字节声明为无符号类型的,这样可以防止8位字符的符号扩展问题。
Declare character Pointers and character bytes as unsigned to avoid sign extension problems with 8-bit characters.
在这个示例中,指针在数据段中占用了4个字节,但是指针所指向的字符串则不在数据段中。
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.
然后,当通过free将该指针传递回来时,我们只需要倒退几个内存字节就可以再次找到这个结构。
Then, when they pass the pointer back via free , we simply back up a few memory bytes to find this structure again.
为了释放内存,我们必须要做的惟一一件事情就是,获得我们给出的指针,回退size of (struct mem_control_block)个字节,并将其标记为可用的。
The only thing we have to do to free memory is to take the pointer we're given, back up sizeof (struct mem_control_block) bytes, and mark it as available. Here is the code for that.
由于向量指针所指向的值是16字节长的,因此会按照16字节的单位来移动;而char指针则是按照1个字节的单位来移动的。
Vector Pointers, since the value they point to is 16-bytes long, move forward in increments of 16 bytes, while char Pointers move forward in single-byte increments.
每个对象都有一些附加字节,通用语言运行库用来管理对象,如对象的虚表指针和同步锁定引用。
Every object has some additional bytes that the common language runtime USES to manage the object, such as the object's virtual table pointer and a reference to a sync block.
栈和一个栈指针配合工作,栈指针随时指示要存取的每个字或字节信息在栈中的位置。
The stack is coordinated with a stack pointer that keeps track of storage and retrieval of each byte or word of information in the stack.
指向一个包含文件名的缓冲区指针,这个文件名被用来初始化对话框上编辑控件的文件名。这个缓冲区至少要260个字节长。
Pointer to the buffer that contains the filename used to initialize the filename edit control on the dialog box. The buffer should be at least 260 bytes long.
这两个数据指针之间,有4个字节的间隔。
获取指向当前目标的指针的大小(以字节为单位)。
Gets the size, in bytes, of a pointer to the current target.
获取指向当前目标的指针的大小(以字节为单位)。
Gets the size, in bytes, of a pointer to the current target.
应用推荐