回值 - 翻译成英语

value
价值
的值
重视
数值
珍惜
珍视
看重
该值
the return
返回
回归
回报
回返
恢复
归还
return
归来
归 还
重返
a result
的 结果
造成
的 成果
导致
的 产物
因而
所致
values
价值
的值
重视
数值
珍惜
珍视
看重
该值

在 中文 中使用 回值 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
这个模式对于使用函数作为返回值(即从父函数中返回它们)有很大的限制。
This model is a big restriction for using functions as functional values(i.e. returning them from parent functions).
Rust警告我们没有使用read_line的返回值Result,说明有一个可能的错误没有处理。
Rust warns that we haven't used the Result value returned from read_line, indicating that the program hasn't handled a possible error.
也就是说函数/方法也可以是其他函数/方法的参数或者返回值,并可以把它们定义成变量等。
This means that functions/methods can be the parameters or return values of other functions/methods, you can assign them to variables, and so on.
另外,所有的函数都有返回值,如果你没有显示的告诉它返回什么,则返回None.
In addition, all functions have a return value, and if you do not show what to tell it to return, then returnNone.
但是,你通常应该记录所有的函数,它们的参数和返回值,或是任何不寻常的技术和方法。
But you usually need to document all functions, their arguments and return values, and also any interesting or unusual algorithm or technique.
如果命名了返回值,可以将其视为在函数第一行中声明的变量。
If a return value is named, it can be considered as being declared as a variable in the first line of the function.
在每个栈帧中,返回值就是结果值,即是n和recurse的乘积。
In each frame, the return value is the value of result, which is the product of n and recurse.
不过,如果你需要isEven是别的类型的话,你也可以为参数和闭包表达式中的返回值指定类型:.
If, however, you needed a version of isEven for a different type, you could type the argument and return value inside the closure expression.
Update这应该属于NamedReturnValueOptimization(NRVO)或者ReturnValueOptimization(RVO)返回值优化的范畴。
There are two versions of this optimization available, Named Return Value Optimization(NRVO) and Return Value Optimization(RVO).
一个带返回值的return语句不使用小括号”()”,除非它们以某种方式使返回值更为显见。
A return statement with a value should not use parentheses unless they make the return value more obvious in some way.
如果你真的要用任何scanf的变体,你要确保检查返回值,以确定找到了期待的值。
If you do use any scanf variant, be sure to check the return value to make sure that the expected number of items were found.
该结构包含有来自处理该消息的window程序的返回值,以及消息中的参数。
The structure contains the return value from the window procedure that processed the message, as well as the message parameters associated with the message.
如果你期望用户键入一个整型数,那么你可以试着将返回值转化为int:.
If you expect the user to type an integer, you can try to convert the return value to int.
与执行同样功能的函数所不同的是,参数与返回值可以是任意算术类型,甚至可以是指针。
Unlike a function to do the same thing, the arguments and returned value may have any arithmetic type or even be pointers.
G和H方法是正确的,这是因为所有可能的执行路径都以一个指定返回值的return语句结束。
The G and H methods are correct because all possible execution paths end in a return statement that specifies a return value.
但是在脚本中,如果你单单调用一个有返回值函数,返回值就永远丢失了!!
But in a script, if you call a fruitful function all by itself, the return value is lost forever!
只有函数,所有的函数都有返回值(尽管可能为None),并且所有的函数都以def开始。
Everything is a function, all functions return a value(even if it's None), and all functions start with def.
DAY函数返回值9,然后为该值加5天,得到结果14。
The DAY function returns the value 9, and 5 days are added to that, resulting in 14.
要返回值,只需将return(或计算值的表达式)放在return关键字之后即可。
To return a value, simply put the value(or an expression that calculates the value) after the return keyword.
对于类型论,函数类型接受值类型A并返回值类型B可写为A→B或BA。
In type theory, the type of functions accepting values of type A and returning values of type B may be written as A→ B or BA.
结果: 118, 时间: 0.0617

顶级字典查询

中文 - 英语