position函数计数节点—元素和文本节点—即使文本只是空白。
The position function counts nodes-both elements and text nodes-even if the text is just white space.
与计数函数类似,当在一个规则中使用多个具有分组关键字的聚合,对分组与计数操作必须进行级联,如图14所示。
Like the counting function, when several aggregations with grouping keys are used in a rule, the group and count operations must be cascaded as shown in figure 14.
但是,如果使用具有相同分组关键字的多个聚合,或者对相同列进行计数的计数函数,其不会显著增加规则的执行时间。
But if you use multiple aggregations with the same grouping keys, or multiple counting functions that count the same column, it will not significantly increase the execution time of the rule.
影响任务复杂性的相关要素是不同分组关键字的数量,而不是在计数函数中所看到的,不同的所聚合列的数量。
The relevant factor that impacts the complexity of the job is the number of different grouping keys, not the number of different aggregated columns that you would see in counting functions.
不过,当您使用某个采用引用计数的数据结构时,您必须记得运行引用计数函数。
However, you must remember to run the reference counting functions whenever you are using a reference-counted data structure.
注意,如果多个计数函数或测试在同一列上运行,那么排序与计数操作仅需做一次。
Note that if several counting functions or tests operate on the same column, then the sort and count operations only need to be done once.
这个函数会挂起调用线程,直到这个信号量有一个非空计数为止。
This function suspends the calling thread until the semaphore has a non-zero count.
可利用如下函数及测试来计数一个列中值的数量
You can use the following functions and tests to count the number of values in a column
Reduce函数对发出的特定单词计数求和。
The Reduce function sums together all counts emitted for a particular word.
URL访问计数:map函数处理web页面的请求日志。
Count of URL Access Frequency: The map function processes logs of web page requests and outputs.
最后还需要对这些节点计数,XPath提供了count函数。
Finally, you want to apply a count of those nodes, which XPath lets you conveniently do with the count function.
引用计数很简单,但是需要编译器的重要配合,并且增加了赋值函数(mutator)的开销(这个术语是针对用户程序的,是从垃圾收集器的角度来看的)。
Reference counting is simple, but requires significant assistance from the compiler and imposes overhead on the mutator (the term for the user program, from the perspective of the garbage collector).
Xdebug将在49次函数调用后介入并得到图2(顺便说一句,main的初始调用用于启动程序计数作为第1次调用)。
Xdebug intervenes after 49 function calls and yields Figure 2. (By the way, the initial invocation of main to launch the program counts as the first frame.)
清单2显示了这个继承树(为了清晰起见,删除了实例计数器和构造函数代码)。
Listing 2 shows the inheritance tree (with the instance counter and constructor code removed for clarity).
每个条目显示调用函数的次数和关于函数调用的处理时间的统计数据。
Each entry shows the number of times that the function was called and statistics on the processing time for the function call.
查询用在PDH函数调用中更新它管理的计数器,因而获取性能数据。
Queries are used within PDH function calls to update the counters it manages, thereby obtaining performance data.
对于不报告计数器值的任何输出列(例如基于状态的输出),包装器直接返回底层监控表函数产生的数据,不做修改。
Any output columns that do not report counter values (for example, state based output) are returned directly from the underlying monitoring table function with no modification by the wrapper.
另外,内置函数和第三方的库不会知道或者可以使用您的引用计数机制。
Also, built-in functions and third-party libraries will not know about or be able to use your reference-counting mechanism.
函数的统计数据也不备份。
实际的聚集计算是通过DB2的max函数实现的,它使用这个经过编码的计数器找到最新的中间结果。
The actual aggregation is done by DB2's MAX function, which USES the encoded counter to find the last intermediate result.
返回给DB2的中间结果中包含着常用的计数器(DB 2max函数需要),以及当前分组到目前为止计算出来的实际加权平均数。
The intermediate result that is returned to DB2 contains the usual counter (needed for the DB2 MAX function) and the actual weighted average that we have so far for the current group.
这个二进制串由常用的计数器(DB 2max函数进行实际聚集计算时需要)、聚集对象的标识以及分组标识构成。
This binary string is comprised of the usual counter, which is needed for the DB2 MAX function to do the actual aggregation, the identifier for the aggregate object, and the group identifier.
每次使用函数或者测试时,必须依照所计数列对数据集进行排序。
Each time you use such a function or test, the data set must be sorted by the counted column before the occurrences of the values can be counted.
而是创建一个如下所示的函数,此函数也可以处理返回码,如果有必要,还可以增加错误计数器
you could create a function such as the following, which also handles the return code and, if needed, increases the error counter
在长时间监视计数器时,这尤其重要,因为PdhCollectQueryData函数返回的是运行的整个数据,而不是每秒的数据。
This is particularly important when monitoring a counter over time, since the PdhCollectQueryData function returns a running total, rather than data per second.
用于换页定界的页的逻辑大体上相同,只是稍稍简单一些,因为不需要行计数器:使用getc库函数逐个读取字符。
The logic used for form-feed-delimited pages is roughly the same, but slightly simpler, as there is no need for a line counter: Read char by char using the getc library function.
reduce函数将对计数器(只是一些值为1的整数)进行总计。因此,提供给我的是在目标地震文件中某一个日期出现的次数。
My reduce function will then sum up the counters (which are just integers with the value of 1), thus providing me with the number of times a date occurs in a target earthquake file.
count函数统计数组中的元素个数,所以在本例中 $elems应该等于3。
The count function counts the number of elements in an array, so you would expect $elems to equal 3 in the example.
组合计数器的最大数值是二进制计数器和反馈计数器的级数的函数。
The maximum count of a combination counter is thus a function of the number of stages of the binary and feedback counters .
组合计数器的最大数值是二进制计数器和反馈计数器的级数的函数。
The maximum count of a combination counter is thus a function of the number of stages of the binary and feedback counters .
应用推荐