图1和图2 中的图表以每秒调用数为单位显示了吞吐率,把不同的实现调整到 1线程synchronized的情况。
The charts in Figure 1 and Figure 2 show the throughput in calls per second, normalized to the 1-thread synchronized case, of the various implementations.
如果不是所有的字符都能够在函数调用时排队,则最终的返回值是发送的字符数。
If not all characters could be queued in the call, the number of characters sent is the final return value.
调用并发性:并发调用服务或方法时执行的线程数。
Invocation concurrency: The number of threads of execution concurrently invoking a service or method.
我们用此来对这个酒鬼进行检查,我们的方式基本上是我们调用这个函数,输入时间,步数,还有这个酒鬼游荡的时间,还有田地。
And the way we basically tested the drunk, what would happen, is we would call this, passing in a time, the number of steps, the amount of time that the drunk was wondering, and the field.
在为本文进行的测试中,每次调用时我使用1000万的循环数,在1ghzPIIIm系统上运行。
In the test runs for this article, I used a loop count of 10 million for each call, running on a 1ghz PIIIm system.
这意味着清单10中的Drop实现实际上只通过借用调用者的线程执行操作,这会减少执行所有操作所需的线程数。
This means that the Drop implementation in Listing 10 could actually operate purely by borrowing callers' threads, reducing the number of threads required to carry out all the operations required.
该调用接收要运行的时钟节拍数作为其惟一的参数。
This call accepts as its only argument the number of ticks to run.
然而,您可能认为这样是不必要的,并且只会给跟踪输出添加更多混乱,因为您必须将该随机数作为一个参数传递给被调用的程序。
You may, however, decide that this is unnecessary and only adds more clutter to the trace output, given that you have to pass the random number as a parameter to the called programs.
当计时器的计时单元数达到零时,它将调用超时处理程序例程为该连接处理相应的超时。
When the number of ticks reaches zero for a timer, it calls the timeout handler routine to handle the corresponding timeout for that connection.
测试程序重复调用每种方法,使用一个大循环数,从而平均多次调用的时间衡量结果。
The test program calls each method repeatedly with a large loop count, averaging the time measurements over several calls.
为了判断两个堆栈是否是部分匹配,使用基于两个调用堆栈的平均堆栈长度的截止百分数。
To determine whether or not two stacks are a partial match, we use a percentage cut-off based on the average stack length of the two call stacks.
如果用户按下其他任何键,且输入了最小字符数或更多字符,则将对服务器发出异步调用,检索建议的JSON数组。
If the user presses any other key and has entered at least the minimum number of characters, an asynchronous call to the server is made to retrieve a JSON array of Suggestions.
如果用户输入了最小字符数(默认值:3),则应向服务器发出异步调用,填充建议列表。
If the user has entered the minimum number of characters (default: 3), then the asynchronous call should be made to the server to populate the suggestion list.
这将执行业务流程实例、调用中介流和调用适当的航空服务以检索乘客的里程数。
The business process instance is executed, the mediation flow is invoked, and the appropriate airline service is called to retrieve the passenger's mileage.
导入数据调用返回一个XML文档,详细记录了上载的结果 —上载的列数、总行数和其他信息。
The import data call returns an XML document that details the result of the upload—the number of columns uploaded, the total number of rows, and other information.
注意,更新数据库表中的数行只需一个API调用。
Note that only a single API call is needed in order to update several rows in the database table.
在这里,我们调用了range函数并将数1,000传递给它。
Here, we call the range function and pass in the number 1,000.
如果在两个线程交叠时调用rand,它就可能返回一个错误的随机数。
If calls to rand from two threads overlap, it is possible for the wrong Numbers to be returned.
第一个bean将基于一个随机数做出是否调用第二个bean的选择。
The first bean will make a choice, based on a random number, to either call the second bean or not.
如果该条目是一个目录,那么对这个目录递归地调用process_directory,并将其中所找到的条目数加到运行总数中。
If the entry is a directory, you recursively call process_directory on the directory, and add the number of entries it found to your running total.
表格模型提供了多种可以被JTablebean调用的方法,利用这些方法,JTable bean 就能获取一些信息,如表格的行数和列数,或者是用在特定表格单元的数据。
The table model provides several methods that the JTable bean calls to get such things as the number of columns and rows in the table, or the data for a particular table cell.
例如,假设实例化数的界限为42,并且使用用户提供的参数调用先前提到的nest方法。
For example, suppose the bound on the number of instantiations were 42 and the nest method mentioned earlier was being called with a user-supplied argument.
然而当API广泛使用时,计用引数就变得重要。以后的例子以后然而使用中我们会看到下列形式的调用。
When the API is used extensively, however, this task can become significant. In later examples, we'll see calls of these forms show up.
然而当API广泛使用时,计用引数就变得重要。以后的例子中我们会看到下列形式的调用。
When the API is used extensively, however, this task can become significant. In later examples, we'll see calls of these forms show up.
对于被调用方函数,为此函数中由当前函数调用的实例所分配的对象数。
For a callee function, the number of objects that were allocated by the instances of this function that were called by the current function.
对于被调用方函数,为此函数中由当前函数调用的实例所创建的对象数。
For a callee function, the number of objects that were created by the instances of this function that were called by the current function.
在分析运行期间创建的,由调用关系树中的父函数调用的所有函数实例的所有非独占分配对象数的百分比。
The percentage of all objects that were created in the profiling run that were exclusive allocations of the function instances that were called by the parent function in the call tree.
此警告指出函数调用的参数可能是字节数,而不是字符数。这是错误的。
This warning indicates that a parameter to a function call might incorrectly be a byte count instead of a character count.
调用关系树中父函数调用的此函数的实例所分配的对象数。
The number of objects that were allocated by the instances of this function that were called by the parent function in the call tree.
给出了一个在密码处理器中直接调用SHA - 1模块进行修正处理的接口,在对真随机数发生器的原始输出进行修正处理的同时,有效地提高了随机序列的产生速度。
Also a module directly invoking the SHA-1 module in crypto-processor is given, which corrects the original outputs of TRNG, and at the same time improves the output bit rate of random sequences.
应用推荐