jni函数返回的任何对象都会创建本地引用。
Local references are created for any object returned by a JNI function.
在提交表单数据后,此函数返回一个对xhr对象的引用(见清单8)。
After submitting the form data, the function returns a reference to the XHR object (see Listing 8).
load_module函数返回一个指向最新加载模块的模块引用。
The load_module function returns a module reference that refers to the newly loaded module.
callback—指的是当请求返回时将要调用的函数的引用。
Callback - a reference to a function that will be called when the request returns.
我们现在知道了这是一个函数指针类型,它可以引用任何有一个int类型参数并且返回一个string类型的方法。
We now know that this represents a function pointer type that can refer to any method taking a single int argument and returning a string.
如果函数没有静态数据,那么也就不存在返回静态数据的引用的问题。
There is no question of returning a reference to static data if the function doesn't have one.
始终正确处理返回动态分配的内存引用的函数返回值。
Always properly handle return values of functions returning references of dynamically allocated memory.
函数以xhtml格式返回关于从DB2返回的信用违约掉期中引用的所有公司的股票代号、公司名称、最高售价和币种的信息。
The function returns information in XHTML format about the stock symbol, company name, high sales price, and currency for all firms referenced in the credit default swaps returned from DB2.
如果二者不同,就修改代码以切换函数调用和函数返回上的TOC引用。
If they are different, it actually modifies your code to swap TOC references on function call and return.
现在已经创建了Scheme变量,接下来就可以调用scheme函数square2(这一次没有参数),并用相同的方式捕捉和取消引用返回值。
Now that the Scheme variable has been created, you can simply call the Scheme function square2 (this time without an argument) and follow the same process to grab and dereference the return value.
不返回对静态数据的引用,所有数据都由函数的调用者提供。
Does not return a reference to static data, and all data is provided by the caller of the function?
在前述的这个代码片段中,完成加载之后,从服务器返回的XML在data对象中被引用,此对象作为参数发送给最初传递的函数。
In the previous code snippet, after the load is completed, the XML returned from the server is referenced in the data object, which is sent as a parameter to the function originally passed.
线程1通过运行Singleton对象的构造函数并将引用返回给它,来完成对该对象的初始化。
Thread 1 completes the initialization of the Singleton object by running its constructor and returns a reference to it.
这个函数新建了一个新的Time对象,初始化了所有的值,然后返回了一个对新对象的引用。
The function creates a new Time object, initializes its attributes, and returns a reference to the new object.
笔者系统地分析了函数参数传递中值调用和引用调用以及函数值返回和引用返回的本质,并举例进行了说明。
The paper makes in-depth analysis about essence of call by values and call by references, return by value and return by reference, also explains these through some examples.
返回一个已注册对象的引用。用于在一个自定义函数里直接调用已注册的对象。
This returns a reference to a registered object. This is useful from within a custom function when you need direct access to a registered object.
最常见的情况是在返回值是被调用的对象的引用的函数里。
The most common case where we must use this is in functions that return a reference to the object on which they were invoked.
一个静态的公共函数,它返回了一个私有的静态数组的引用。
A public static method returns a reference to an array that is part of the static state of the class.
一个静态的公共函数,它返回了一个私有的静态数组的引用。
A public static method returns a reference to an array that is part of the static state of the class.
应用推荐