pass by reference 双语例句
全部
1·By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
2·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.
参数按值传递的话,任何对该参数的修改都不会反射到调用这个方法的程序,使用按引用传递参数的人可能对这一点搞到困惑。
3·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 通过引用传递选项才能够带来收益。
4·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)来调用它们。
5·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),并避免必需的对象复制操作。
6·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.
Object Request Broker (ORB) 通过引用传递选项确定,在处理 EJB 请求中涉及的参数对象时应该使用通过引用传递还是通过值传递语义。
7·In Listing 6, the connector can either pass the result inline or by reference.
在清单6中,连接器可以以内联或引用的方式传递结果。
8·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)。
9·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方法。
10·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 元素通常用于按引用传递参数,而不是按值传递,后者需要对参数做复制。
