As a result, the allocation of a sufficiently large object can fail if no free chunk of memory is large enough to satisfy the request.
结果,如果没有足够大的自由内存块能够满足请求的需要,则分配一个很大的对象就会失败。
No need to create an interface and stub out an entire mock object - you can strategically override that one method and return a simple mocked-out response.
无需创建接口和去掉整个模拟对象的存根—您可以有选择地重写方法并返回一个简单的模拟响应。
This is a specific form of weak consistency; the storage system guarantees that if no new updates are made to the object, eventually all accesses will return the last updated value.
这是弱一致性的一种特殊形式;存储系统保证如果对象没有新的更新,最终所有访问都将返回最后更新的值。
There can be no side effects on immutable objects, and caching a reference to an immutable object is always safe from alias problems.
不可变对象上没有副作用,并且缓存不可变对象的引用总是安全的,不会出现别名问题。
A code block is simply a block of code that returns a value, and if no value is returned then a NULL object is returned.
代码块就是将返回一个值的一组代码,如果没有返回值,那么会返回一个NULL对象。
No one will object to a code of living which respects the peace and harmony of others.
没有人会反对维护他人安祥与和谐的道德生活守则,没有人会反对培养心念的专注,。
And so the net, the sum of all forces on that object there is no net force on that wheel but there is a net torque, and that's why it's going to precess.
所以综合,物体受的所有力,车轮不会受到净力,但是有一个,净作用力,那就是我要推进的。
Until the advent of EJB technology, there was no way to restrict access to an object or method by a particular user.
直到EJB技术出现后,才能够限制特定用户访问某个对象或方法。
The particle, Kochen and Specker showed, is like a cheating player. They found it out by showing that no single object satisfies all the "questions" (or all 33 axes) at once.
Kochen和Specker的证明表明粒子就像是个使诈的玩家,理由是,不可能有单一的物体同时满足所有的“问题”(在这里是那33个轴)。
There is really no need to put this object on a session anymore, since Portal will maintain it for us and make it available from the request.
确实没有必要再把这个对象放在会话中,因为门户为我们维护它并且可从 request 获取它。
Otherwise, there can be confusion over whether an empty array is a null object, an array with no elements, or an array with a single object containing null or empty values.
否则,可能对一个空数组是null对象还是没有任何元素的数组,亦或带有一个对象且此对象包含null或空值的数组产生混淆。
The Parse_Dps extractor can be used to generate a master page of a document only when it USES only one object template, in which no object attributes occur.
当Parse_Dps提取器只使用一个对象模板时,可以用于只生成文件的主页面,其中的对象模板中没有对象属性。
In other words, there is no way to tell a lazy object apart from an eager one outside of the realm of the entity manager (and it really doesn't matter within).
换句话说,在实体管理器之外(在实体管理器内也没关系)无法把非活动(lazy)对象与 活动(eager) 对象区分开。
The allocate() method lets you allocate an object with a given lifetime. For example, when no parameters are required
allocate()方法让您能够分配具有给定生存期的对象。
If you haven't provided a no-argument one, this is your last chance to add some state to the object!
如果您没有提供一个无参数构造函数的话,那么这是您给对象添加一些状态的最后机会!
For that, he included a class of object that his subjects would have learned, by experience, have a tendency to move, but which past evolution could have had no purchase on: motorised vehicles.
为此,他收集了一系列他的受试者已经凭经验有所了解的物体。它们有移动的趋势,但在长期的进化进程中所不可能接触到的物体:汽车。
During the application run, the references between the objects are changed such that object a now points to an unprocessed object, which is no longer referred to by any other location in section III.
在应用程序的运行期间,对象之间的引用会发生变化,因此对象A现在指向一个未处理对象,该对象不再被II i段中的任何其他位置引用。
No two threads will be able to execute methods against those objects at the same time (on a per-object basis, obviously).
不会存在两个线程同时调用该对象的方法的情况(显然是以对象为基础的)。
That is, there is no programmatic object within the system that will represent the kid; rather, the kid is a physical user of the system.
也就是说,系统里没有程序性的对象表示小孩;更准确的说,小孩是系统的物理用户。
No, because nothing is actually crossing the surface of the moon - the dot isn't an actual object, it is just a series of photons in the laser beam hitting the surface.
其实不是这样,这是因为此时并没有什么实际的东西真正地横跨了月球的表面-亮点不是一个实体,它仅仅是击中月球表面激光束里一系列的光子。
PHP is no exception, with a number of database APIs and variations on data Object patterns available.
PHP也不例外,有很多数据库api和数据对象模式的变体可以选择。
When a single object is loaded, no fewer queries are run than if lazy association is used.
当装载单一对象时,运行的查询并不比使用惰性关联时少。
There is no point in trying to explain that the object of tennis is to beat the other player, not to look like a dashing guest chez Gatsby.
若此就试图将网球解释为以击败其他球员为目标,而非优雅地去盖茨比家做客,就显得毫无必要了。
However, there is no automatic mapping if, for example, a different term is used in British English or American English to refer to the same object.
然而,它不会自动映射表示相同对象的词汇,例如英国英语和美国英语中的不同词汇。
If you've never encountered test-driven development (see Resources), you might object that no one would write such a simple-minded implementation.
如果您从未接触过由测试驱动的开发(请参阅参考资料),那么您可能也会认为人人都能编写如此头脑简单的实现。
If you've never encountered test-driven development (see Resources), you might object that no one would write such a simple-minded implementation.
如果您从未接触过由测试驱动的开发(请参阅参考资料),那么您可能也会认为人人都能编写如此头脑简单的实现。
应用推荐