列表3.更新新的行指针,并返回测试数据。
列表1.获得文件行指针并初始化返回变量。
Listing 1. Get file row pointer and initialize return variable.
为了简单起见,如果已经到达了文件的末端,您应该使这个行指针回到开始。
For simplicity, you should have the row pointer always wrap back to the beginning if the end of the file is reached.
最小的表首先被扫描,然后哈希表被填入相匹配的每个键的行指针。
The smallest table is scanned first, and the hash table is populated with Pointers to the rows that match each key.
从测试引擎(稍后就会安装它)数据区域中的全局变量获取当前最为结果储存但是当作整数使用的文件行指针。
Gets the current file row pointer, stored as an object but used as an integer, from the global variable in the data area for the test engine (this will be set up later).
通过引入面指针、行指针和列指针,并与相应级别的指针相关联,阐述了应用指针访问多维数组的方法。
By introducing side pointer, row pointer and column pointer - three Pointers in different level, this paper discusses the means to access multi - dimensional array by pointer.
然后,第二个表被扫描,只扫描一次,那个函数引导我们到哈希表中适合的位置,并且从那里,你找到匹配的行指针。
Then the second table is scanned, only once, the function directs us to the proper slot in the hash table and from there you find the pointers to the matching rows.
相反,如果您的程序在内存中某个位置存在错误(例如,使用了一个错误指针),那么可以查找最接近该内存地址的源代码行。
Conversely, if your program has a fault (for example, using a bad pointer) at some location in memory, you can look for the source line that is closest to the memory address.
这意味着填充第二行和第二列的分数和指针。
This means filling in the scores and Pointers for the second row and second column.
在这个例子中,第6行将产生一个null指针异常,因为变量actions还没有初始化。
In this example, line 6 will cause a null pointer exception because the variable actions has not been initialized.
清单8列出了jfs_mount . c文件的源代码中被修改过的代码,我们在代码中创建了一个空指针异常,从而使代码在第109行产生段错误。
Listing 8 lists the code that was modified in the source of the jfs_mount.c file to create a segmentation fault at line 109 by creating a null pointer exception.
下一行包含几个到GtkWidget类型的指针的声明。
The next line contains several declarations of Pointers to the GtkWidget type.
fetch函数将结果集指针指向下一行。
The fetch function sets the result set pointer to the next row.
因为FindBugs不知道map是否包含“bob”,所以它将第5行标记为可能null指针异常。
Because FindBugs doesn't know if the map contains "Bob" or not, it will flag line 5 as a possible null pointer exception.
可以将当前行想象成一个指针,在这个例子中,该指针固定在接受该操作的行。
The current row can be thought of as a pointer, which in this case is fixed on the row that received the action.
因为在堆栈中压入一个变量会让堆栈指针移动一个双字,所以给堆栈指针加4(双字的大小)(第32行)。
Since pushing a variable essentially moves the stack pointer by a dword, the stack pointer is adjusted by adding 4 (the size of a dword) to it (line 32).
B-树将存储键值,以及一个指向每个物理行的指针列表。
The B-tree would store the key value, followed by a list of pointers to each of the physical rows.
容器不会删除其保存的指针,需要手动删除,因此再上面代码中增加了额外一行。
Additional line to delete the pointer to the object is needed since the container will not delete a stored pointer so it has to be manually deleted.
提供指向表中被请求的数据行的直接指针。
To provide direct Pointers to the requested data rows in the table.
下一行代码,C3,获取 eax中的指针并将其存储回内存位置为 049388C8的实例引用。
The next line, C3, takes the pointer in eax and stores it back into the instance reference at memory location 049388C8.
然后,在c8行处,instance指针被解除引用并存储到ecx。
Then at line C8, the instance pointer is dereferenced and stored in ecx.
但是通过使用RationalPurify的运行时分析,您能够指出发生问题的对象指针的准确代码行(图10)。
By doing a runtime analysis with Rational Purify, however, you can pinpoint the exact line of code where the reference to the object in question has been created (Figure 10).
在这个例子中,如果第1行的Map不包括一个名为“bob”的人,那么在第5行询问person的名字时就会出现null指针异常。
In this example, if the Map on line 1 does not contain the person named "Bob," a null pointer exception will result on line 5 when the person is asked for his name.
在此过程的主体有两个语句,其作用是定义一个用来返回表行的指针。
There are two statements in the body of the procedure defining a cursor that enables to return table rows. Adapt the first statement declaring the cursor to.
此事件的处理程序接收鼠标指针所在位置的列索引和行索引。
The handler for this event receives the column index and row index of the mouse pointer position.
在屏幕上显示的纵向指针的位置。从第1行开始。
Vertical cursor position on the screen display of a screen. Counting begins at line 1.
这两行中的数据指针和前面指向A 的数据指针是同样的方式。
The pointers in these two lines are pointing to B in the same fashion as the two previous were pointing at A.
例如,它们可以是指针、表中的行、XML中的交叉引用名称等。
For example, they might be Pointers, rows in a table, cross-referenced names in XML, and so on.
每经过一次测试迭代,指针就会移动到数据库中的下一行。
On each test iteration, the pointer moves to the next row in the database.
每经过一次测试迭代,指针就会移动到数据库中的下一行。
On each test iteration, the pointer moves to the next row in the database.
应用推荐