由于引用计数是如此简单,大部分程序员都自已去实现它,而不是使用库。
Since reference counting is so simple, most programmers implement it themselves rather than using libraries.
例如,一个简单的词汇分析器可能会为输入的单词进行计数。
For instance, a simple lexical analyzer might count the words in its input.
例如,在那个简单的行计数程序的例子中,实际上不需要解析器。
For instance, in the case of the simple line-counting program, there's no real need for a parser.
生成阀值计数的流程从概念上来说非常简单。
The process of generating threshold counts is conceptually simple.
稍微简单的一种模式是相对寻址模式,它会根据当前程序计数器来计算地址。
A similar mode is relative addressing mode, which calculates the address based on the current program counter.
有些只是简单的计数问题,如计算出有多少请求它的服务,每天有多少搜索服务等等。
Some are just simple counting problems, such as figuring out how many requests it serves a day, how many searches it serves a day, what the average time it takes to process those transactions is, etc.
Counter是一个简单的应用程序,它输出一个计数并包括两个链接:+和-。
Counter is a simple application that prints a count and includes two links: + and -.
因此下面的修改将利用这个事实,创建当前波形与所有存储在 *.vertex文件中的声波纹之间的偏差数量的简单计数。
This fact will be used by the modification shown below to create a simple count of the number of deviations between the current waveform and all of the stored voice prints from the *.vertex files.
在最近的另一项研究中,墨尔本大学的巴特沃斯博士和罗伯特·丽芙对5到6岁英语母语的儿童进行计数和简单加法进行观察。
In another recent piece of work, Dr Butterworth and Robert Reeve of the University of Melbourne watched (English-speaking) five - and six-year-olds counting and doing simple sums.
WebSphereMQ提供队列及其操作的简单抽象,每种操作带有一些选项,例如消息到期时间和重试计数。
While WebSphere MQ provides simple abstractions of queue and its operations, each operation comes with a number of options, such as message expiry time and retry count.
清单1显示了D trace脚本的一个简单例子,它计算每个进程发出的系统调用的数量(注意,使用字典将计数和进程关联起来)。
Listing 1 shows a simple example of a DTrace script that counts the number of system calls made by each process. (Note the use of the dictionary to associate counts with processes).
引用计数很简单,但是需要编译器的重要配合,并且增加了赋值函数(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).
但是请记住,许多Web数据流都可以用定类计数数据表示,而我讨论的推论技术将使您能做比报告简单的计数数据更多的事情。
Remember, however, that many Web data streams can be represented in terms of nominal count data and that the inferential techniques I discuss will allow you to go beyond reporting simple count data.
现在您可以了解如何通过扩展插件为本地数据库的records表提供简单的记录计数器来操作简单的Derby数据库。
Now you can find out how to manipulate a simple Derby database by extending the plug-in to provide a simple records counter for the records table of the local database.
您应当检查badcalls 数目,确保它不是太高(您可以根据调用统计数据计算一个简单的百分比)。
You should check that the badcalls number is not too high (you can calculate a simple percentage against the calls statistic).
<g:each>标记的status属性是个简单的计数器字段(请注意这个值用在下一行的ternary语句中,用来将CSS样式设为even或odd)。
The status attribute in the <g:each> tag is a simple counter field. (Notice this value is used on the next line in a ternary statement that sets the CSS style to either even or odd.)
这种类的例子可能是各种计数器操作、简单的计算等等。
The examples of such classes can be various counters operations, simple calculations, etc.
目前为止的示例(计数器和堆栈)都是非常简单的非阻塞算法,一旦掌握了在循环中使用CAS,就可以容易地模仿它们。
The examples so far -- counter and stack -- are very simple nonblocking algorithms and are easy to follow once you grasp the pattern of using CAS in a loop.
第二部分是一个非常简单的统计信息实现,为添加、修改和删除增加了计数器。
The second part is a very simple statistics implementation which increases counters for additions, modifications, and deletions.
其中一个非常简单—只是一些股票计数。但是,即使是特别简单的东西也常常具有非常具体的上下文。
One is bog simple-just a count of shares, but even the simple things are often contextualized to a very fine degree.
清单2提供了用于计数器类的一个简单的类。
它适用于任何统计数据,而不只是平均值这样的简单数据。
It works for any statistic, not just simple ones like the mean.
要处理这个问题,最简单的方法是设计数据库以避免冲突性更新。
The easiest way to handle this problem is to design the database to avoid conflicting updates.
在尝试提高特定报告性能时,有一个简单的方法可以确定需要收集哪些统计数据。
When trying to improve performance of a specific report, there is a simple method for determining which statistics are worth collecting.
对于一个简单的工人,我们提供一个基本的单词计数功能。
清单1给出一个简单的UDF,它处理对象的基线数据不存在或者发生计数器翻转的情况(这种情况不太可能出现,但是能够处理)。
Listing 1 shows a simple UDF for handling cases where baseline data for an object does not exist, or where counter rollover has occurred (an unlikely scenario, but it is handled).
我们将提供更多可用统计数据给开发者以便其分析用户需求,在未来我们希望让开发者管理、开发和发行本地插件更简单。
We'll make more statistics available to you so you can analyze your user base, and over time we hope to make it easier for you to manage, build, and release localized plugins.
每个博客都可以做一个简单测试,三个不同的统计服务会提供不同的统计数据。
As every blogger can easily attest, three different stats programs will give you three different Numbers.
使用实例变量count中的内容呈现了一个标题,该变量包含了一个简单计数器的值。
renders a heading with the content in the instance variable count, which contains the value of a simple counter.
在以下关于锁定机制的讨论中,我们首先看一下原子运算符,它可以保护简单变量(计数器和位掩码(bitmask))。
In the following review of locking mechanisms, we first look at the atomic operators, which provide protection for simple variables (counters and bitmasks).
应用推荐