In this case, you tell the filter code to pay attention to the parameter count, and it should be 0.
在这种情况下,您告诉过滤器代码要注意参数的数量,并且它应当为0。
To contribute your filter code, see Resources for links to contact the community and submit your .ny file to the program maintainers.
要贡献您的过滤器代码,请参见参考资料 中的链接,用这些链接与社区取得联系,并将您的 .ny文件提交给程序维护人员。
To filter, you can either restrict the list of rules that are applied, or instruct Code Review to apply the rules to a limited set of classes.
为了实现过滤,你可以严格定义使用的规则或者对一些限定的类应用特定的一些规则来进行代码复查。
So I wrote a filter function that, given a node, determines whether it starts an XML island. Listing 2 shows the code.
于是我编写了一个过滤器函数,判断给定的节点是否启动了一个XML岛,清单2显示了该代码。
The code in Listing 2 is intended to pull from the list either all transactions if no filter is specified or a single transaction together with the related project information.
清单2中的代码旨在查询到列表中的所有交易(若没有指定过滤条件的话)或者单个交易以及相关的项目信息。
Ebay is perhaps the largest company to embrace the local buying trend, allowing users to filter by ZIP code to find local merchants.
易趣也许是支持本地购买趋势的最大公司,它使用户能够通过过滤邮政编码找到当地商户。
When the results are generated, you can filter and view them and, if the rule supplies a quick fix feature, you can repair the source code.
当结果被生成的时候,您能够过滤并且查看它们,并且如果该规则提供一个快速修复特性的话,您还能够修复该资源代码。
The code for the title filter is shown in Listing 3.
清单3所示的是标题过滤器的代码。
This challenge message contains instructions for the sender to reply in order to be added to the whitelist (the response message must contain the code generated by the whitelist filter).
这个质询消息包含让发送者答复的指示,以便将其加到“白名单”中(这个响应消息必须包含由“白名单”过滤器生成的代码)。
The original code feeds the output of the filter into a tee element, which then goes both to an image sink (used to save JPEG files when needed) and to the screen.
原始代码将过滤器的输出提供给一个tee元素,然后传送到一个图像接收器(用来在需要时保存JPEG文件)和屏幕上。
RichFaces USES a filter to process code received on Ajax requests.
RichFaces使用一个过滤器来处理Ajax请求中接收到的代码。
The following code creates a find by hostname filter on the HWSystem metadata that will return an HWSystem data object with the desired hostname, if one is found.
下面的代码创建一个针对HWSyste m元数据的findbyhostname过滤器,该过滤器将返回具有所需主机名的HWSystem数据对象(如果找到一个的话)。
Listing 2 shows the code snippet to filter the task by the order number using the Human task Manager.
清单2显示了使用HumanTask Manager通过订单号过滤任务的代码片段。
The Stripper is a good example of a SAX filter, a piece of code that takes a stream of SAX events as input and produces another stream of SAX events as output.
Stripper是SAX过滤器的一个良好示例,这是以SAX事件流作为输入,并生成另一个SAX事件流作为输出的一段代码。
Assuming this filter is applied to the metadata for HWSystem that was defined in Listing 1, the code needed to perform this find by hostname query using the mediator would look like the following.
假定将此过滤器应用于清单1中定义的HWSystem的元数据,则通过中介执行该findbyhostname查询所需的代码如下所示。
The filter method in Listing 9 accepts a list and a criteria (a code block specifying how to filter the list) and iterates over the list, adding each item to a new list if it matches the predicate.
清单9中的filter方法接受了一个list和一个criteria(指定如何过滤列表的代码块)并对列表进行遍历,将满足谓语的项添加到一个新列表中。
The Groovy version of filter() is findAll(), which accepts a code block specifying your filter criteria.
Groovy版本的filter()是findAll(),它可接受一个指明过滤条件的代码块。
Vim has good support for automatic edit-time code layout (see: help indent.txt and: help filter).
Vim很好地支持编辑时自动代码布局(见:helpindent . txt和:helpfilter)。
The text box at the bottom of this view allows you to search, filter, and color code the work items.
这个视图底端的测试盒可以允许您搜索,筛选,以及用颜色标码工作条目。
Of course, you can filter on zip code values and return elements unrelated to street addresses.
当然,您可以根据邮政编码的值进行过滤,返回与街道地址无关的元素。
The filter extension helps provide more complete assessment of input while reducing repetitive code writing efforts.
过滤器扩展功能将帮助提供更完整的输入评估,同时减少重复代码编写工作。
Per the code, if there is a category given then it is used to filter the list of restaurants that are shown.
根据代码,如果有一个给定类别,那么它将用于筛选所显示的餐馆列表。
If these functions are being called from your game code, you can manage the representation of the chat window and even filter or modify the chat traffic.
如果从游戏代码中调用这些功能,就可以管理聊天窗口的显示方式,并过滤或修改聊天通信流。
Finding design flaws around particular aspects becomes easier if you can quickly filter along certain dimensions, narrowing the parts of your code you should investigate further.
如果可以沿着某些维快速地筛选,收缩应该进一步研究的范围,就很容易找到某些方面的设计缺陷。
But, unlike filter , a map always keeps every element of a list, replacing each value with the result of evaluating the code on that value.
不过,与filter不同的是,map通常保留列表的每个元素,使用对每个值应用代码得到的结果替换这些值。
Here is the code presented when the first filter template is chosen.
下面显示的是在选择了第一个筛选模板时的代码。
The code above created a servlet filter that will intercept incoming HTTP requests.
上述代码创建了一个servlet筛选器,它会拦截传入的HTTP请求。
I use the -a and -d parameters to filter my output to exclude code segments, which I know aren't what I'm looking for.
我使用- a和-d参数对输出进行筛选,以排除代码程序段,因为我知道需要查找的是哪些文件。
The call to filter converts the string that is passed as its second argument to a piece of code, which it then applies to each element of the list that is passed as its first argument.
调用filter将作为第二个参数传递的字符串转换成一段代码,然后将该代码应用到作为第一个参数传递的列表的每个元素。
The query uses a WHERE clause to filter the contents of the weather.bylocation table and retrieve a weather forecast for the specified zip code.
该查询使用WHERE 子句来筛选weather.bylocation表的内容并检索指定邮政编码的天气预报。
应用推荐