查询
1 词典释义:
code blocks
时间: 2025-04-12 01:25:52

代码块

双语例句
  • Methods can have associated code blocks.

    方法可以有相关联的代码块。

  • Timing Code Blocks with a stopwatch.

    利用StopWatch类开发计时代码。

  • Can static code blocks throw exceptions?

    可以静态代码块抛出异常?

  • Code blocks, expressiveness, and idiomatic patterns.

    代码块、表达性和惯用模式。

  • Only methods or code blocks can be marked "synchronized".

    只有方法和代码块能被同步标记。

  • Minimize the number and length of synchronized code blocks.

    尽可能减少同步代码块的数量和长度。

  • This makes visually identifying code blocks much easier.

    这就大大方便了从视觉上识别代码块。

  • Methods, types, and code blocks can be defined as unsafe.

    方法、类型和可被定义为不安全的代码块。

  • It allows inspecting project code and finding similar code blocks.

    它对项目代码进行检查并且寻找相似的代码块。

  • Inside the byte code, there is no concept of code blocks as such.

    在字节码代码中,却没有代码作用域的概念。

  • I bet you missed this, it's hidden under a couple big example code blocks.

    打赌你错过了这一点,它隐藏在一个几个大的示例代码块。

  • A property USES code blocks that control how to set and retrieve its value.

    属性使用程序码区块,控制如何设定和撷取值。

  • When deciding which methods and code blocks to profile, focus on the big fish first.

    在判断需要分析哪些方法和代码块时,首先把重点放在关键点上。

  • So there is a many-to-many relationship between code blocks and business operations.

    因此代码块与业务操作之间存在多对多的关系。

  • Note that both code blocks above are valid under specs, but one is better than the other.

    虽然以上两种代码块都是有效的,但前者优于后者。

  • Rational Robot VU scripts are made up of repetitive code blocks that represent these steps.

    Rational Robot vu脚本是由代表这些步骤的重复代码块组合起来的。

  • To use performance profiling, we need to identify which code blocks need to be profiled.

    要使用性能分析日志,我们需要确定哪些代码块需要分析。

  • Note that each of the code blocks has kept track of a separate instance of very_local_variable.

    请注意,每个代码段都能追踪到very_local_variable的一个单独实例。

  • Normally, when an application makes a read call, the code blocks until there is data to be read.

    一般情况下,当应用程序调用read时,代码会阻塞,直到有数据可读。

  • After examining the two code blocks in Listing 3, see if you can determine which one performs better.

    在查看了清单3的两个代码块之后,可以看出哪块代码执行得更好。

  • Note that the first two code blocks within the new function are almost identical to those in the original.

    注意,新函数中的前两个代码块与原来函数几乎相同。

  • If you tend to post a LOT of code blocks, consider pasting the code in a Paste Bin and linking to it on your site.

    如果你有粘贴许多的代码块的倾向,考虑一下在一个粘贴板上粘贴代码,并且将代码链接到你的站点上。

  • Using Groovy's built-in curry method, I use product as the building block for two new code blocks: quadrate and octate.

    通过使用Groovy的内置curry方法,我使用product作为两个新代码块的构建块:quadrate和octate。

  • One of the advantages of using code blocks over a similar mechanism like anonymous inner classes lies in its conciseness.

    在类似匿名内部类的机制中使用代码块的一个优势是其简洁性。

  • Code block: it allows you to format text as code blocks. Simple select the text and format it by clicking the "code block" ToolBar button.

    代码块:这个编辑器允许你把文本格式化为代码块,只要简单地选中文本,然后点击“代码块”按钮来进行格式化即可。

  • With synchronous Web services application messaging, the application code blocks while waiting for the response message to be received.

    使用同步 Web 服务应用程序消息传递,应用程序代码在等待接收响应消息时阻塞。

  • Now, consider the same example written in Groovy, shown in Listing 7, which takes advantage of the more concise syntax offered with code blocks.

    现在看一下用Groovy编写的同样的示例,如清单7所示,它利用了代码块提供的更简洁的语法。

  • Performance profiling can be used to measure the time needed for the specified code blocks and find out what the performance bottleneck is.

    性能分析可用于测量指定代码块所需的时间,并找出性能瓶颈是什么。

  • It is trivial to pass code blocks as parameters, allowing the terse yet still readable commands.add (new command ({count + +}, {count —})) syntax.

    将代码块作为参数传入比较麻烦,但它支持简洁但仍然可读的commands . add (new command ({count++},{count——}))语法。