CONNECT _ BY _ ISCYCLE返回一个设置为0(未检测到循环)或1(检测到循环)的小整数值。
CONNECT_BY_ISCYCLE returns a small integer value that is set to either 0 (no cycle detected) or 1 (cycle detected).
主要是要明白Psyco对于处理多次循环的块是很有用的,而且它知道如何优化涉及整数和浮点数的操作。
The main thing to understand is that Psyco is useful for handling blocks that loop many times, and it knows how to optimize operations involving integers and floating point numbers.
每个循环都迭代包含整数1至10(包含10)的list。
Each loop iterates over a list that contains the integers 1 to 10, inclusive.
为此,我使用了一个do -while循环,它不断地将value整数除以256,直到得到的值小于1。
For this purpose, I have used a do-while loop that continues dividing the value integer by 256 until the value drops below 1.
清单7演示了如何在for循环内使用range方法来创建整数1至10(包含10)的乘法表。
Listing 7 demonstrate how you can use the range method within a for loop to create a times table for the integers 1 through 10, inclusive.
由于filenum始终小于filecount,整数除法 filenum/filecount将始终生成0,因此每次迭代循环都将生成
Because filenum will always be less than filecount, the integer division filenum/filecount will always produce zero, so each iteration of the loop will echo
我只添加了psyco .bind (main)这一行,而不是添加一个总的psyco . jit调用,因为main函数确实要循环多次(但是仅利用了最少的整数运算)。
Call, I added only the line psyco.bind (main), since the main function does loop a number of times (but only makes minimal use of integer arithmetic).
在数组中,类型非常明确,因为类型是强类型的,int只能包含整数,所以在循环中没有类型转换。
In arrays, this was very specific, as arrays are strongly typed — an int can only contain ints — and therefore there are no typecasts in the loop.
下面的示例演示如何循环一个简单的整数范围。
The following example shows how to loop over a simple integer range.
你好,我想创建一个数组包含整数从0到255使用一个循环存储这些整数的数组在MIPS汇编。
Hi I want to create an array containing integers from 0 to 255 using a loop to store those integers into the array in MIPS assembly.
在PCNN的具体实现中,网络被强制为单循环网络,通过简化模型、阈值查找表、整数运算等技巧,降低了PCNN的时间复杂度。
For the specific implementation of PCNNs, a PCNN was forced to be a single pass network. And simplified model, look-up threshold table, and integer operation were used to decrease the time complexity.
“表循环提取程序”functoid的第二个输入参数必须是一个正整数,它确定将从“表循环”functoid的网格中提取的列数。
A second input of a table-looping extractor functoid must be a positive integer which determines the column number that will be extracted from the table-looping functoid's grid.
“表循环提取程序”functoid的第二个输入参数必须是一个正整数,它确定将从“表循环”functoid的网格中提取的列数。
A second input of a table-looping extractor functoid must be a positive integer which determines the column number that will be extracted from the table-looping functoid's grid.
应用推荐