始终正确处理返回动态分配的内存引用的函数返回值。
Always properly handle return values of functions returning references of dynamically allocated memory.
能给其他函数返回值。
函数返回值将在第4天“表达式和语句”中详细讨论。
Returning values from functions is discussed in detail on Day 4, "Expressions and Statements."
你通常会把函数返回值赋给拥有更特定类型变量的时候遇到这样的错误。
You usually see this error when you assign a value returned from a function to a variable with a more specific type.
当您使用一个字符串作为从一个函数返回值,它将正常工作。
When you are using a string literal as a return value from a function, it will work properly.
EditText构造函数也覆盖构造函数返回值,如清单2 所示。
The EditText constructor also overrides the constructor return value, as Listing 2 shows.
然而,如果有任意一个函数返回值使用了名称,那么所有函数返回值都必须使用名称。
However, if any returned value of the function has a name, then all must have names.
当进行条件分支、向函数传递值、从函数返回值以及其他操作时,首选槽内的值才是关键的。
When doing conditional branching, passing values to functions, returning a value from a function, and several other scenarios, the value in the preferred slot is the one that matters.
盲目信任(Blind faith):缺乏对bugfix或子函数返回值的正确性检查。
Blind faith: Lack of checking of (a) the correctness of a bug fix or (b) the result of a subroutine.
如果成功,则此函数返回值缓存的大小,如果指定的名称并不是一个合法的环境变量名,则返回0。
This function returns the size of the value buffer on success and 0 if the name specified is not a valid environment variable name.
任何函数的返回值都是子句(在我们的示例中只有一行)中最后一个表达式的结果。
The return value of any function is the result of the last expression in that clause (in our examples there is only one line).
例如,必须用参数形式包括进类型信息,必须用函数形式返回值和所有变量的类型。
For example, you must include type information with arguments, return values with functions, and types for all variables.
c语言没有包含一种内置的功能来处理异常,因此默认情况下,如果您不处理函数的返回值,它就会将其忽略。
C doesn't include a built-in capability to handle exceptions, so by default it ignores any function returns if you don't do anything with them.
如果启用了模式感知(参阅后面的 模式感知),这些类型的值可以来自转换的输入文档或者函数的返回值。
Values of these types can come from the input document of a transformation, if schema awareness is in effect (see Schema awareness further ahead), or as the return value of a function.
注:这是远程过程的参数数量,包括REFCURS OR参数,但是不包括函数的返回值。
Note: This is the number of parameters of the remote procedure — including REFCURSOR parameters, but not including the return value of functions.
服务器通过另一个 XML编码的SOAP信封返回响应,这一次是函数的返回值。
The response from the server is sent back as another XML-encoded, SOAP envelope, this time with the return value from the function.
函数和返回值。
这里的udr一词通常用来指代返回值的函数。
Here the term UDR is used generically to refer to functions that return a value.
您也可以将函数的返回值和test或while之类的命令结合使用来控制分支和循环。
You might also use return values from functions with command such as test or while to control branching or looping.
所以increment函数不带入参,也不返回值,它也没做什么。
So this function increment takes nothing, returns nothing, and yet it does something.
函数还可返回值(更为正式的说法是:对象),包括像tuple这样的python容器。
The function can also return a value (or, more formally, an object), including a Python container like a tuple.
清单2.适当处理readapi函数的返回值。
Listing 2. Proper handling of the read API function return value.
当您调用带有包含数字 1 到 5的list或tuple 的函数时,返回值会显示在屏幕上。
The returned value is displayed to the screen when you call the function with a list or tuple holding the numbers 1-5 inclusive.
filetype(name )函数的返回值 —常量FILE或常量DIR — 将文件系统中的每一项整理到相应的slot 中。
The return value of the function filetype( name )—either the constant FILE or the constant DIR—collates each item in the file system into its appropriate slot.
但是为了一致性,每次调用分派器都会返回一个从控制传播内容的所有函数中返回的返回值列表。
For uniformity, however, every call to a dispatcher returns a list of return values from all functions that control what was propagated to.
你可以可以为变量指明数据类型,输入参数,来自函数的返回值,用户自定义函数以及模板。
You are also able to specify data types for variables, input parameters, return values from functions, user-defined functions and templates.
通过在出口点应用跟踪钩子并指定函数原型,可以探测函数的退出/返回值。
Tracing of exit/return value of a function is possible by applying trace hook at exit point and specifying function prototype.
该构造函数的返回值是一个节点,可以使用与上面示例中相同的方式将其添加到树中。
The return value of this constructor is a node that you can add to the tree in the same way as the nodes in the above example.
当服务器从客户端收到请求后,服务器执行本地函数,并将该函数的返回值返回给客户端。
When the server receives the request from the client, the server executes the local function and returns the return value for the function to the client.
日志记录提供了故障前应用程序状态的详细信息,如变量的值、函数的返回值等等。
Logging provides the maximum amount of detail of the application state before the failure, such as value of variables, return value of functions, and so on.
应用推荐