• The code shown in Listing 1 shows both a memory leak and a dangling pointer.

    显示列表1中的代码展示内存渗漏一个不断摆动的指针。

    youdao

  • If we don't need to do a GC, allocation is 1 moving a pointer forward and 2 clearing the memory for the new object.

    如果我们需要进行GC分配就是1指针前移2对象清除内存

    youdao

  • The next line, C3, takes the pointer in eax and stores it back into the instance reference at memory location 049388C8.

    行代码C3,获取 eax中的指针将其存储内存位置为 049388C8实例引用

    youdao

  • The virtual memory area (VMA) pointer needs to be added in as the first parameter followed by the usual four parameters (start, end, size, and protection flags).

    虚拟内存区域VMA指针作为第一参数然后四个常用参数startendsizeprotection标记)。

    youdao

  • For example, if t is the pool created using the pool interface and m is a pointer allocated from t, then t.free (m) returns the memory to t (it's added to t's free list).

    例如如果t使用pool接口来创建并且m是从t分配指针t. f ree (m)将把内存返回t(将添加t空闲内存列表)。

    youdao

  • Listing 1. Code with memory leak and dangling pointer (mem_errors.c).

    列表1 .带有一个内存渗漏一个不断摆动的指针的代码(mem_errors. c)。

    youdao

  • When strdup is called in foo , the namestr variable value is overwritten, thereby losing the pointer to the memory allocated in main , and that causes the leak.

    strdupfoo中被调用,这个namestr变量会被覆写从而丢失main内存分配指针导致渗漏。

    youdao

  • 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.

    为了释放内存我们必须惟一一件事情就是获得我们给出指针退size of (struct mem_control_block)个字节标记可用的。

    youdao

  • The main SPE program will receive an effective address pointer to a struct containing the size and pointer of a string in main memory.

    s PE程序接收到包含字符串大小指针struct有效地址指针。

    youdao

  • The clear_user function is used to zero a block of memory in user space. This function takes a pointer in user space and a size to zero, which is defined in bytes.

    clear_user函数用于用户空间内存清零。

    youdao

  • 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.

    清单1中的代码将分配两个 512字节内存然后指向第一个内存指针设定为指向第二个内存块。

    youdao

  • The benefits of GC to application developmentincluding pointer safety, leak avoidance, and freeing developers from needing to write custom memory-management toolingare well documented.

    应用程序开发GC益处——包括指针安全避免内存泄露以及使开发人员免于编写定制的内存管理工具——已经被很好地证明

    youdao

  • Instead of having multiple directly accessible arguments, you get a pointer into main memory and the SPE has to issue DMA requests to get the pointed-to data from main memory.

    它没有使用多个直接访问参数,而是使用一个指向存的指针,SPE需要发出dma请求主存中获取指针所指向数据

    youdao

  • The code at BE allocates the memory from the heap for the Singleton object and stores a pointer to that memory in eax.

    be代码Singleton对象分配内存一个指向该块内存的指针存储到eax中。

    youdao

  • Where exactly does namestr get written with another address value, and thereby lose the last pointer to memory allocated in main(), causing the leak?

    在什么地方namestr其它地址数值一起被编写,从而丢失分配main() 中的最后一个内存指针最终导致渗漏吗?

    youdao

  • This system call requires the file descriptor from shm_open and returns a pointer to memory.

    这个系统调用需要shm_open返回文件描述符,它返回指向内存的指针

    youdao

  • The system call is invoked with two arguments: a long integer containing the amount of memory to allocate and a long integer pointer to store the returned address.

    这个系统调用要求两个参数包含分配内存数量整数还有一个存储返回地址的长整数指针

    youdao

  • When you create a buffer, you just get a pointer to it, and that's the same memory that the GPU sees.

    创建缓冲区时,得到一个指针GPU也看到了同样内存

    youdao

  • Gets a pointer to an internal interface instance used to read and write metadata in memory.

    获取指向用于读写内存中的元数据内部接口实例指针

    youdao

  • The Clone Allocator concept is introduced to formalize the way pointer containers control memory of the stored objects (and not the Pointers to the stored objects).

    克隆分配器概念引入为了指针容器控制对象内存(不是指针内存)的方法进行规范化

    youdao

  • Initialized which include: adjusted stack pointer, the need to use the internal data memory of the initialization, set up the boot nc power output voltage and CPU interruption of the set.

    此中初始包括调解堆栈指针需要使用内部数据存储器初始化、设置数控电源开机输出电压以及CPU中断部分设置。

    youdao

  • In this context, an invalid pointer is one that points to an invalid region in memory, is NULL, contains an unaligned pointer, points to memory block smaller than necessary, and so on.

    这个上下文无效指针一个指向无效内存中的区域,是NULL包含一个不对齐的指针,指向的内存必须的还小等等

    youdao

  • The module can detect memory leak, write overflow, free wild pointer and mismatch using of memory functions of the executable files.

    可以检测内存泄漏、内存溢出释放指针内存管理函数匹配等问题。

    youdao

  • The third set contains segment registers that are used to specify these portions of memory, and the fourth set contains the instruction pointer.

    第二包含指针索引寄存器用于定位在一个特定内存部分信息。

    youdao

  • The pointer will have some random value that, with luck, will point into an area of memory that is not available to your program and the kernel will kill your program before it can do any damage.

    这个指针随机如果运气好的话,指向一个程序不可内存区域,那么内核将会在它造成什么伤害干掉你的程序。

    youdao

  • Through pointer mapping sets and fault model, it can detect bad deallocation, memory leak and null pointer dereference faults automatically and increase the testing efficiency.

    通过指针映射故障模型可以自动检测内存释放异常内存泄露指针引用等动态内存故障提高测试效率

    youdao

  • The method can be used to detect safety holes, such as illegal pointer references, memory leaks, and other resource leaks, at a low cost and with high flexibility.

    方法具有代价小,灵活性的特点,可用检查程序中指针非法引用内存泄漏其他资源泄漏安全漏洞

    youdao

  • Applying structure pointer and dynamic data structure, such as the linked list and queue in c, we have made the working software executed with less memory requirement and time overhead.

    并根据C语言结构功能强的特点,采用结构指针队列动态数据结构,使整个算法具有节省内存快速省时的特点。

    youdao

  • This method builds and analyzes pointer trees for programs and can detect and localize the dynamic memory errors effectively.

    方法程序建立分析指针能够有效地检测定位几类常见动态存储错误

    youdao

  • Well, it turns out on most computers an address of the location and memory, aka a pointer, is itself 32 bits.

    好的计算机内存地址或者说指针32位。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定