闭包可被视作一个遵循特别作用域规则且可以用作参数的代码块。
Think of a closure as a code block that you can use as an argument, with special scoping rules.
它可以缓存之前编译的snippet代码,支持参数变化。
This is a large cache of previously compiled snippet code that supports parameter variations.
Squeak支持闭包——也就是,使用成块代码作为参数——像这样。
Squeak supports closures — that is, using blocks of code as parameters — like this.
最后,我将介绍这个应用程序使用的详细代码和配置参数。
Finally, I'll describe the code level details along with the configuration parameters used for this application.
然而,清单7中的代码并不指定类型参数。
However, the code in Listing 7 doesn't specify the type parameters.
举一个极端的例子,可能没有对参数编制文档,而代码与缺省的参数集一起分发。
As an extreme case, parameters could be undocumented and the code distributed together with a default parameter set.
在这种情况下,您告诉过滤器代码要注意参数的数量,并且它应当为0。
In this case, you tell the filter code to pay attention to the parameter count, and it should be 0.
参数代码(多数情况下是可选的)
清单3显示了处理HTTP参数的代码段。
Listing 3 shows the section of the code that processes the HTTP parameters.
本文从描述 BAR文件的内容开始,然后引入可以修改参数的代码。
The article starts by describing the content of the BAR file and then introduces the code that can modify the parameters.
该符号将参数识别为代码块的持有者。
The ampersand identifies the parameter as the holder of a code block.
在发出查询之后,代码检查格式元素的请求参数。
After issuing the query, the code checks for a request parameter for a format element.
将模仿对象作为参数来调用域代码。
首先,我要处理的代码负责构建不带指定参数类型的类的描述。
First, I'll go through the code involved in building the description of a class with no parameter types defined.
错误代码和消息被作为OUT参数返回给调用者。
The error code and message are returned to the caller as OUT parameters.
在下面将看到系统调用的代码,它有四个参数。
Here you can see the code for the system call, with four parameters.
查询参数通过不同的代码层传递到BObjQuery。
Query parameters are passed through the different code layers to BObjQuery.
我期待您反馈您觉得容易优化且优化后能获得很大性能改善的参数,并将代码示例发送给我们。
I look forward to your feedback and code samples regarding what you feel are easy-to-tune parameters that provide large performance improvements.
提供使用关键字参数的能力不是必需的,但它可以使带有许多参数的代码变得清楚许多,而且不需要大量的额外工作。
Providing the ability to use a keyword argument is not essential, but it can make code with lots of arguments a lot clearer, and is not much extra work.
如果可映射,则Windows结构可以映射到特定的Linux结构(需要仔细检查类型、参数、返回代码等)。
If mappable, the Windows construct can be mapped to the specified Linux construct (s) by closely examining the types, parameters, return codes, and such.
其它参数需要填入合适的参数值来生成正确的代码。
Other parameters will need to have the appropriate Argument Values entered to generate the correct code.
在此调用代码中,我们将传入参数DataObject和希望更改的数据类型的名称。
In this calling code we pass in the parameters DataObject and the name of the data type we want to change.
后者的这个方法接受货币代码作为其第二个参数。
The latter method accepts a currency code as a second parameter.
与usernametoken示例一样,可以不使用cxf - client .xml文件,而是在客户机代码中配置安全参数。
Just as in the UsernameToken example, you can configure the security parameters in your client code as an alternative to using a cxf-client.xml file.
您能够使用清单6中所示代码行来为缺失的参数指定默认值。
You can use the line of code shown in Listing 6 to specify a default value for an argument that is absent.
该方法具有一个使用引号括起来的字符串参数和一个代码块。
The method takes a string parameter, enclosed in quotes, and a code block.
该包装类将参数格式化为类似上面代码的XML字符串。
The wrapper class would take care of formatting the arguments into an XML string resembling the code above.
Axis的调用机制主要基于Call;不过,SandeshaContext却是用于从客户机代码将额外的参数传递给特定于sandesha和axis的组件。
Axis's invocation mechanism is mainly based on Call; however, SandeshaContext is used to pass the additional parameters from client code to Sandesha and Axis-specific components.
处理参数的代码的复杂性,以及它的广泛性和数量,意味着应该将它当做Struts中的一等公民。
The complexity of the code for handling parameters, as well as its pervasiveness and quantity, suggests that it should be treated as a first-class citizen within Struts.
重要运行时参数的度量,包括内存使用、性能和代码覆盖。
Measurement of vital runtime parameters, including memory usage, performance, and code coverage.
应用推荐