Using the Shared memory object for writing.
使用共享内存对象写数据。
Memcached is a high-performance, distributed memory object caching system.
memcached是一个高性能、分布式的内存对象缓存系统。
It retains all the content and references structure of the original in-memory object.
它包含了原始内存中对象的所有内容和引用结构。
In Listing 4, you create the Shared memory object using the open_only and read_only attributes.
在清单4中,使用open_only和read_only属性创建共享内存对象。
This technique may end up only being applicable when using very large, in memory object collections.
这个技术目前只在使用大型的内存对象集合的情况下才可用。
For a process to use a Shared memory object, the process has to map the object in its address space.
使用共享内存对象的进程必须在自己的地址空间中映射对象。
Now take a look at the the reverse process — building an in-memory object model from a data stream.
现在看看相反的过程,从数据流建立内存对象模型。
Another benefit of using mapped_region is that both full and partial access to the Shared memory object is possible.
使用mapped_region的另一个好处是可以对共享内存对象进行完全和部分访问。
For example, if the Shared memory object cannot be created, an exception of type boost: : interprocess_exception is thrown.
例如,如果无法创建共享内存对象,就抛出类型为boost: interprocess_exception的异常。
In Figure 1, step 5 creates a component model. This allows a pairing of the XML node (now an in-memory object) with a GUI component.
在图1中,步骤5创建了一个组件模型,支持将这个XML节点(现在是内存对象)和一个GUI组件组成一对。
The other form of XML parsing is DOM (Document object model) -based, which forms an in-memory object model of the full XML structure.
xml解析器的另一个形式是基于DOM (DocumentObjectModel)的,它形成了完整XML结构的内存中的对象模型。
Similar to the case for a Shared memory object, a message queue that is opened only for reading will have the open_only attribute passed in the constructor.
与共享内存对象相似,对于以只读方式打开消息队列,应该把open_only属性传递给构造函数。
For every XUINode (the in-memory object representing any XML element) read in by the framework, a XUIComponent must be created to encompass the XUINode.
对于框架读入的每个XUINode(表示任意xml元素的内存对象),必须创建一个XUIComponent来包围XUINode。
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.
当对象后来从其字节串重建时,内存中新建的对象与原对象具有相同的结构和值,但位于不同的内存地址。
The object of great interest at the temple was a large marble tower built in memory of Buddha.
那庙里使人极感兴趣的东西是一座为纪念佛陀而修建的大理石巨塔。
A perfect tradeoff will be gained among the object accessing performance, the memory utilization and the Java chip system simplicity.
在对象访问速度,内存利用率和Java芯片系统复杂度之间合理折衷。
As we hinted in our last example, objects are only identical if they refer to the same object in memory.
正如在上一个示例所暗示的,只有在这些对象引用内存中同一个对象时,它们才是相同的。
From that you can recreate an object from the database, or place an object from memory into the database.
这样您就可以从数据库重新创建对象,或者将对象从内存放入数据库。
We focused on improving the memory usage per object.
我们集中精力改进每个对象的内存使用。
This might be important in large applications that support many different types of functionality, since the memory for the object is only allocated if the class is actually used.
这在支持很多不同类型功能的大型应用程序中可能很重要,因为只有在实际使用该类时,才会分配对象的内存。
The issue was caused by a custom tag engine, that kept large object lists in memory.
问题是由自定义标签引擎引起的,它会在内存中存放大型对象列表。
Runtime Analysis: Helps you to gain an understanding of how your application behaves during execution by providing insight into thread utilization, memory usage, and object behavior.
运行时分析:通过提供对线程、内存的使用和对象的行为的分析,帮助你去理解你的程序在执行的过程中是如何运转的。
At this point, you're probably wondering why I'm even talking about memory management, aliases, and object ownership.
此时,您可能正纳闷,为什么我还要讨论内存管理、别名和对象所有权。
Object pooling only helps reduce the memory required for class allocations and the time required for object creation and destruction.
对象池只是有助于减少类分配所需的内存以及对象创建和销毁所需的时间。
A transient variable enables the application to keep a copy in local memory, but rebuilds the object if using the backup copy.
临时变量允许应用程序在本地内存中保留副本,但可以在使用备份副本的情况下重新构建对象。
Profilers also often give information on object creation rates and memory consumption.
分析器还通常会给出关于对象创建速率和内存使用的信息。
The current memory area is consumed only by object allocations, so one approach to memory management is to use only a fixed number of objects or avoid them altogether.
当前存储区仅被对象分配消耗,因此内存管理的一种途径就是仅使用固定数量的对象,或者完全避免使用对象。
This helps identify potential unintentional object references causing memory leaks.
这有助于识别导致内存泄漏的潜在无意对象引用。
Additionally the memory needed to represent an object can vary depending on the action being performed.
此外,显示对象所需的内存根据正在执行的操作而变化。
Additionally the memory needed to represent an object can vary depending on the action being performed.
此外,显示对象所需的内存根据正在执行的操作而变化。
应用推荐