In addition, the template adds simple logging to each function by printing out to the command line the name of the function called.
此外,所调用的函数的名称将输出到命令行,通过这种方式,模板即可为各函数添加简单的日志。
For example, in our applications, the standard error message will be displayed in the message line, just above the function key line in the lower part of screen.
例如,在我们的应用程序中,标准错误信息将显示在消息行中,正好在屏幕下部的功能键显示区之上。
That is, if a function has a certain set or range of valid values for its arguments, an assertion to this effect can be placed as the first line of code in the function.
那就是说,如果函数有确定的有效值集合或范围可作为参数,可以将检验参数是否有效的断言放在该函数代码的第一行。
Get in the habit of remembering to add that extra character whenever you use the line limit on this function.
应养成以下习惯:只要对此函数使用行限制,就添加该额外字符。
The objective function on line 20 minimizes the total food cost as the total of each decision variable (amount of food) multiplied by that food's cost per unit.
第20行的目标函数要对食物的总体成本实现最小化,该值是每个决策变量(食物数量)乘以每单位食物成本的结果。
Function CARDINALITY, used in line 15, returns the number of elements in the input array.
函数CARDINALITY用于第15行,返回输入阵列中的元素数量。
With this captured information, we can create a list of source file names, function names and the line Numbers for the functions.
使用捕获的信息,我们可以创建源文件名、函数名和函数行号的列表。
It has been omitted in Listing 2, so the last line of the function will be returned.
清单2忽略了这个关键字,因此函数的最后一行将被返回。
For each line in the line buffer for a CU, check for the low address match to find the first line number for the function.
要获得CU的行缓冲的每一行,则需要检查低位地址匹配以找到函数的第一行的行号。
This definitely isn't the most verbose of error messages, but it points to the function and the precise line number that has the offending assumption.
这肯定不是最详细的错误消息,但是它指出了具有错误假设的函数和确切行号。
It tells you, if you take the line integral of the gradient of a function, what you get back is the function.
它说,如果你对一个函数的梯度做线积分,就能得到原函数。
The (right curly brace) is aligned with the line containing the beginning of the declaration of the function.
(右大括号)与声明函数的那一行代码头部对齐。
Line 20 defines the objective function, which is just Rylon's profit (revenue - costs).
第20行定义了目标函数,它是Rylon公司的利润(收入-成本)。
In the default Settings or Application Settings,.net has choices for line and function modes.
在默认设置或Application设置中,. NET拥有对行和函数模式的选择。
The first line of a function definition, also known as the method signature, begins with def (shorthand for define).
函数定义的第一行也称为方法签名(method signature),以def开头(def是define这个单词的缩写)。
The main command prompt within bash provides both the ability to edit the command line and a history function, remembering individual command lines so that you can execute them again.
bash中的主命令提示符同时提供了编辑命令行的能力和历史记录功能,后者记住各个命令行,以便您能够再次执行它们。
The last parameter is the variable that you declared in line 1 of the function that defines the options for your LiveGrid, in Listing 5.
最后一个参数是清单5中函数的第1行定义的变量,该变量定义用于LiveGrid的选项。
The first line defines a function called square that takes an argument and emits its square root.
第一行定义一个名为square的函数,该函数可接受参数并发出其平方根。
After the data structures, state variables, and function definitions are in place, add the load_shadow_dynamics function at line 3163.
在数据结构、状态变量和函数定义就绪后,请在第3163行中添加load_shadow_dynamics函数。
The function then grabs every line in the current file (getline(1,'$')) and calls the built-in writefile() function to write them to disk.
函数随后获取当前文件(getline(1,'$'))中的每一行并调用内置的writefile() 函数来将它们写入到磁盘中。
The first line in the loadGrid function specifies the options for the LiveGrid.
loadGrid函数中的第一行指定LiveGrid的选项。
The next line registers the retrieveByType function so that it is exposed as a Web service operation.
下一行注册 retrieveByType函数以将其公开为Web服务操作。
The line function takes four arguments, representing the points between which a line is drawn.
line函数接受四个参数,代表的是要在其间绘制线条的点。
The second line indicates that the helloPressed function should be called when you click Press Me.
第二行指明在您单击PressMe时应调用helloPressed函数。
Every HTML page turns into a small PHP script with a skimpy line with the date function tucked in somewhere.
每个HTML页面都变成一个只有有限几行的小php脚本,日期函数隐藏在某个地方。
It generates a hash table from the predetermined list of valid command-line options and a lookup function whose time complexity is o (1).
它将从预定的有效命令行选项列表和时间复杂度为O(1)的查找函数中生成一个散列表。
In Listing 10, the first line defines the types the function will use.
在清单10中,第一行定义了函数使用的类型。
The distinction is spurious: could the new ministers function in their “front-line” jobs without the back-up of civil servants?
假设这些差异:在没有公务员的帮助下,新的内阁大臣是否能够做好他们的基本工作吗?
Since all the logic is now in the text_line PostScript function, the line template itself is trivial-each element translates directly into a call to the text_line PostScript function.
由于所有的逻辑现在都在text_linePostScript函数中,因此line模板本身变得微不足道—每个元素都直接转换为对text_line PostScript函数的调用。
In our example, pressing F5 just after the debug perspective displays causes the first line of the drupal_bootstrap function within the bootstrap.inc file to display.
在我们的示例中,在调试透视图显示之后马上按F5,就会突出显示bootstrap . inc文件中drupal_bootstrap的第一行。
应用推荐