line of code中文,line of code的意思,line of code翻译及用法

2026-03-21 17:34 浏览次数 19

line of code

英[lain ɔv kəud]美[laɪn ʌv kod]

程式编码行;[计] 代码行

line of code 片语

片语

source line of code如源代码的数量

line of codecodeprogram code程式码

End-of-line code行末码

line of code for代码行

line of code 例句

英汉例句

  • the first line of code in listing 11 calculates the number of messages to be deleted according to the formula described above.

    清单11中第一个代码行根据上面的公式计算要删除的消息数量。

  • note: some code listings may have a backslash character, 「\」, to indicate the line of code is continuous but has been formatted for readability.

    注意:有些代码清单有反斜杠字符「\」,这表示代码行是连续的,但为了可读性,这里对其格式作了调整。

  • it「s entirely possible that the test doesn」t check whether the line of code produces the correct result.

    完全有可能存在这样的情况:测试并没有检查代码行是否生成正确结果。

  • the detailed analysis functions of this tool enable the administrator to see detailed flows and metrics, including a leak detection analysis that points out the line of code responsible for the leak.

    管理员利用此工具的详细分析功能可以查看详细的流程和度量,包括泄漏检测分析,指出造成泄漏的代码行。

  • as you debug your code, you「ll notice the middle view provides the php file with the active line of code currently being computed as highlighted.

    在对代码进行调试时,您会注意到,显示php文件的中间视图会将当前计算的代码行突出显示。

  • 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.

    那就是说,如果函数有确定的有效值集合或范围可作为参数,可以将检验参数是否有效的断言放在该函数代码的第一行。

  • in such cases, error logs from the application, or stack traces from the application dumps, often provide little or no help in pinpointing the exact line of code where the problem originates.

    在这种情况下,应用程序错误日志、或应用程序转储中的堆栈跟蹤,通常很难为找出产生问题的确切代码行提供实际的帮助。

  • once you find the line of code in question, determine the value of the variables in that method, how the method was called, and specifically why the error occurred.

    一旦您发现了代码中出错的行,请确定该方法中变量的值、方法被调用的方式以及关于错误如何发生的详细情况。

  • you can use the line of code shown in listing 6 to specify a default value for an argument that is absent.

    您能够使用清单6中所示代码行来为缺失的参数指定默认值。

  • you can remove the commented line of code if you want to wait a specified amount of time.

    如果您要等待一段精确数量的时间,您可以清除这个代码的注释行。

  • this execution flow, presented in a textual or graphical fashion, points a developer directly to the line of code involved.

    这个执行流程,以文本或者图表的形式显示,开发人员可以直接指出所包含的代码行。

  • for example, a probe can represent something as simple as invoking a system call or more complicated interactions such as a particular line of code being executed.

    例如,探针可以表示简单的系统调用,也可以表示更加复杂的交互,比如执行特定的代码行。

  • you can also use error messages to your advantage because they display the exact line of code that threw or generated an error.

    也可以用出错消息为自己服务,因为它们会显示抛出或生成错误的正确代码行。

  • each line of code serves its purpose and resides in the right place.

    代码的每一行,都应恰如其分地展现出其原有目的。

  • this line of code creates a connection to the page above and allows you to start reading it much like a local file.

    这行代码将创建一个与以上页面的连接,并允许您开始像读取一个本地文件一样读取它。

  • in general, minor changes in the translation materials are usually isolated risks, unlike functional modifications where one bad line of code can disrupt the stability of the entire system.

    一般而言,翻译资料中的微小更改通常是孤立的风险,不同于功能上的修改,其中一行出错的代码可以破坏整个系统的稳定性。

  • no hard rule dictates how long a line of code should be.

    没有硬性规定一个代码行应该多长。

  • believe it or not, this example is just a single, chained, line of code spread out with whitespace.

    不管您是否相信,这个示例只是一行满是空白的被链接的代码。

  • in fact, i don」t have to debug very much when i「m taking small enough steps, because the source of a problem becomes obvious: it」s got to be that line of code i just wrote.

    实际上,在我执行一些小到一定程度的步骤时,我不必进行太多的调试工作,因为问题的根源会变得很明显:它就出在我正在编写的那行代码上。

  • after this line of code is executed the list will contain only expressions where the left and right side are objects and the operator is either 「==」 or 「!=」.

    在这行代码被执行之后,列表将只包含那些左右两侧都是对象,并且操作符或者为 「==」或者为 「! =」的表达式。

  • to add a record definition, place the cursor on the last line of code in the editor.

    要添加一条记录定义,将光标移到编辑器的最后一行代码上。

  • line coverage simply indicates that a particular line of code was exercised.

    行覆盖只是指出代码的哪些行被执行。

  • double-clicking on the created rule takes you to the line of code in the file that has the problem (figure 20).

    双击被创建的规则,定位到问题所在的文件的代码行上面(请参见图20 所示)。

相关热词