You should consider avoiding or limiting the use of inline code.
应注意避免或限制使用内联代码。
There are two styles of code render blocks: inline code and inline expressions.
程式码转译区块具有两种样式:内嵌程式码和内嵌运算式。
Code render blocks define inline code or inline expressions that execute when the page is rendered.
程序码转译区块会定义网页呈现时所执行的内嵌程序码或内嵌运算式。
This topic describes requirements for code-behind as well as an alternative inline code mechanism for code in XAML.
本主题描述代码隐藏的要求以及在XAML中的代码的可选内联代码机制。
I emit an error message and replace the return value with 0, instead (remember: every inline code block returns an object).
我发出错误信息,将返回值替换为0(请记住:每个内联代码块都返回一个对象)。
Authorization checking performed in this way will be somewhat slower than inline code, particularly when invoked through a separate process.
以这种方式执行的授权检查将比内联代码慢一点,尤其是在通过单独的进程来调用的时候。
The usage of the tool is simple: it searches the entire web page for inline code and provides the developer with contextual information about the inline code it finds.
该工具使用很简单:搜索整个网页的内嵌代码,为开发人员提供内联代码前后关系的信息。
Unlike the older ASP-style view engine, the boundaries between view and inline code are quite subtle and it is quite possible that many languages are syntactically incompatible.
与老式的ASP风格的视图引擎不同,视图与内联代码之间的界限变得相当薄,很多语言从语法上就无法实现。
You can define metadata in other ways besides keeping it inline with the code.
除了将元数据与代码内联之外,还可以用其他方法定义元数据。
The only legitimate use of inline comments is when you have some very complex algorithm that you need to have some thoughts about beside the code.
唯一需要使用内联注释是在你编写了非常复杂的算法,你需要在代码旁边记录说明你的想法。
The UML to C++ transformation provides two options for generating code for an inline function.
UML到 C++ 的转换为生成一个内联函数的代码生成提供了两个选项。
Table 1 provides a snippet of code to demonstrate the simplicity and usability of inline methods.
表1中的代码片段演示了内联方法风格的简单性和易用性。
The user of your script will never know the difference, except that the first invocation of Inline-enabled code takes a little time to complete the compilation of the embedded code.
使用您脚本的用户不会看出其中的不同,只不过第一次调用使用内联的代码时,程序将多花一点时间来完成对嵌入代码的编译。
Otherwise, the presence of inline comments indicates that you've written code that needs explanation, meaning that it cries out for refactoring.
否则,内联注释的出现表明你写的代码需要解释说明,意味着这些代码需要被重构。
Simpler code because there is no need to maintain context, as the message is processed inline.
由于消息在行内处理,不必维护上下文,因此代码更简单。
This means that inline cache code no longer use node objects.
也就是说内联缓存将不会在使用节点对象。
The other possible branches in the code are either inline functions (which can, obviously, be inlined by the compiler), or are easily branch-eliminated by the compiler.
其他代码要么是内联函数(显然可以由编译器进行内联),要么是可以由编译器轻松消除分支的代码。
I think inline comments are quite important, and aid in creating visual whitespace as well which prevents the code from appearing cluttered and messy.
我觉得行内注释非常重要,有助于创建可见的空白,而且不会让代码看起来混乱不堪。
Self-documenting code is not code with lots of inline comments.
自我记录的代码并不是拥有大量在线评论的代码。
We've seen some internal code where making it inline (ie, as a value type) improved perf as it decreased working set.
我们看到过很多内部代码,使用值类型来提高性能,同时减小工作集大小。
Listing 3. Generated Code for an inline function in header file.
列表3.在头文件中为一个内联函数所生成的代码。
Listing 5. Generated Code for an inline function using the DINLINE_HEADER option.
列表5.使用DINLINE_HEADER选项为一个内联函数生成代码。
The related generated code is shown in Listing 4 (Inline) and Listing 5 (By reference).
产生的相关代码显示在列表4 (Inline)和列表5中(仅供参考)。
Listing 6 shows the same code after I used the Inline refactoring.
清单6显示执行了Inline重构的代码。
JSNI can be considered the Web equivalent of inline assembly code. You can use it to.
JSNI可以视为内联汇编代码的web对等物,可以用来。
Entering we [city-state or zip code] into Ubiquity will display the current weather inline: the temperature, smog condition, wind velocity and humidity.
输入命令we加上城市名称或者邮政编码,就可以通过内联的方式显示该地区的天气预报,包括温度、空气质量、风向和湿度。
Using schema-based config also gives developers code completion and inline documentation in most Xml editors.
通过使用基于schema的配置,大多数Xml编辑器都会提供代码补全及内联文档的功能。
To do so, add additional code to the inline script block you created earlier (see Listing 4). Listing 9 shows the inline script block.
为此,需要在前面创建的内联脚本块(见清单4)中添加代码。
Instead, hot call sites are more likely to be inlined to keep the code size small while still getting inline function benefits.
相反,热调用点(hot call site)更可能被内联,以使代码尽量短小,同时仍获得内联函数的优点。
HTML 4 has five different inline elements to represent subtly different variations of computer code: var, code, KBD, tt, and samp.
HTML4用5个不同的内联元素表示略有差异的计算机代码:var、code、kbd、tt和samp。
应用推荐