Use pass-by-reference only if you have to.
必要时才使用引用变量参数传递。
Pass-by-reference semantics is maintained across multiple distributed nodes.
在多个分布式节点间保持了Pass - by - reference语义。
However, you must be aware that these alternatives change the semantics of the interaction from pass-by-value to pass-by-reference.
然而,您必须注意到这些可供选择的方案会将交互方法从按值传递(pass - by - value)改变为按引用传递(pass - by - reference)。
In Listing 6, the connector can either pass the result inline or by reference.
在清单6中,连接器可以以内联或引用的方式传递结果。
By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
PHP 4 added the ability to pass and return by reference.
PHP4添加了基于引用的传递和返回功能。
To summarize, the ORB pass by reference option basically treats the invoked EJB method as a local call (even for EJBs with remote interfaces) and avoids the requisite object copy.
总的来说,OR B通过引用传递选项基本上将调用的EJB方法作为本地调用对待(甚至对于带远程接口的EJB),并避免必需的对象复制操作。
If an object created by a thread needs to do allocation internally, you must pass a reference to the thread itself to the object so that the allocate methods can be called when needed.
如果线程创建的对象需要在内部执行分配,您必须将对线程本身的引用传递给对象以便在需要时能够调用allocate方法。
The ORB pass by reference option will only provide a benefit when the EJB client (that is, servlet) and invoked EJB module are located within the same classloader.
仅当EJB客户机(即servlet)和所调用的 EJB模块位于相同的类加载器中时,ORB通过引用传递选项才能够带来收益。
If you're using EJB components and deploying them locally within the same JVM as the SOAP engine, then ensure that you deploy them such that they are called using pass by reference.
如果您正在使用EJB组件,并且将它们作为SOAP引擎部署在相同的JVM中本地部署它们,请确保部署它们,这样就可以通过引用传递(pass by reference)来调用它们。
The Object Request Broker (ORB) pass by reference option determines if pass by reference or pass by value semantics should be used when handling parameter objects involved in an EJB request.
ObjectRequestBroker (ORB)通过引用传递选项确定,在处理EJB 请求中涉及的参数对象时应该使用通过引用传递还是通过值传递语义。
The enable-call-by-reference element is generally used to pass parameters by reference rather than by value, which requires making a copy of the parameters.
enable-call-by-reference元素通常用于按引用传递参数,而不是按值传递,后者需要对参数做复制。
In Listing 6, the connector can either pass the result inline or by reference.
在清单6薸中,连接器可以以内联或引用的方式传递结果。
Your normal habit when passing an argument to a function should be to pass by const reference.
用常量引用给一个函数传递参数,是一种好的习惯。
How to pass parameter by reference to the proc?
如何通过引用传递参数的过程?
Why does this method pass 'stop' by reference instead of return?
为什么这个方法通过“停止”而返回参考?
With pass by value, any change to the parameter is not reflected in the calling routine. Those who have used pass by reference will probably find this confusing.
参数按值传递的话,任何对该参数的修改都不会反射到调用这个方法的程序,使用按引用传递参数的人可能对这一点搞到困惑。
Not only the high quality products are produced successfully and percent of pass is enhanced, but also the reference is provided for like products by investment casting.
不但成功生产出了高质量的产品,提高了产品的合格率,而且还为同类产品的熔模铸造提供了参考。
Your normal habit when passing an argument to a function should be to pass by const reference.
当给函数传递参数时,你要养成的良好习惯是传递常量引用。
For reference types, if you pass a parameter by value, it results in a copy of the reference to an object being passed.
重要事项对于引用类型,按值传递参数会得到对所传递对象的引用的副本。
Describes how to pass multidimensional arrays of integers by value and how to pass one-dimensional arrays by reference.
描述如何通过值传递多维整数数组以及如何通过引用传递一维数组。
If you use this variable to pass a reference to an instance of a class, the members of the instance can be modified by the thread-pool thread and used as return values.
如果您使用这个变数将参考传回类别的执行个体,则执行绪共用执行绪可以修改执行个体的成员,并当做传回值使用。
Describes how to pass strings by value, by reference, in structures, in classes, and in arrays.
描述如何通过值、通过引用、在结构中、在类中和在数组中传递字符串。
When you pass a reference-type parameter by value, it is possible to change the data pointed to by the reference, such as the value of a class member.
以传值方式传递参考型别参数时,它有可能会变更到参考指到的资料,例如类别成员的值。
When you pass a reference-type parameter by value, it is possible to change the data pointed to by the reference, such as the value of a class member.
以传值方式传递参考型别参数时,它有可能会变更到参考指到的资料,例如类别成员的值。
应用推荐