您可能会忘了跟踪所有指针(指向这些内存位置),并且某些内存段没有释放,还保持分配给该程序。
You might forget to keep track of all the pointers (pointing to these memory locations), and some of the memory segments are not freed and stay allocated to the program.
基指针引用进程的数据段,而且永远是特定于进程的。
Base Pointers refer to data sections of the process, and are always process specific.
如果是在操纵指针的话,就可能产生段错误。
If we were manipulating Pointers we'd probably end up with a segfault.
清单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.
当链接到您的CSS和.js文件时,您必须包含一小段脚本,用来为GreyBox设置正确的根目录指针。
When linking to your CSS and.js files, you must also include a short script block to set up the correct root-directory pointer for GreyBox.
随后,指针指向了油表的中央,我掉头正准备回去,这时候发现远处有座古墓,距离这些村子和民居有很远的一段距离。
The needle had just hit halfway and I was turning around to head back when I noticed an old cemetery in the distance, far away from any village or other sign of habitation.
在这个示例中,指针在数据段中占用了4个字节,但是指针所指向的字符串则不在数据段中。
In that case, the contents of pointer gonzo - a 4-byte memory address - live in the data segment. The actual string it points to does not, however.
如果这是一段视频,它将显示时钟指针飞转,甚至日历都整页翻过。
If this were a movie, it would show the hands of a clock spinning around, maybe whole calendar days flipping by.
指针会振荡一段时间然后才静止到一个稳定的偏转角。
The pointer oscillates for some time before setting down to a steady deflection.
在软件开发中,常需要开辟数百KB的内存缓冲区,而在C语言中设置这样大的内存缓冲区会出现数据跨段的问题,采用指针数组的使用机制能解决以上难题。
In the development of soft ware, it is always necessary to design a memory buffer with hundreds of KB, which will probably lead to the problem of data span limit in the dvice of C language.
完成一个任务就可以取出一块磁铁,未完成的任务自动推入一个新的时间段,单一的指针。
Completed tasks means removing a magnet, whilst incomplete tasks are automatically pushed forward into a new time segment by the single clock hand.
完成一个任务就可以取出一块磁铁,未完成的任务自动推入一个新的时间段,单一的指针。
Completed tasks means removing a magnet, whilst incomplete tasks are automatically pushed forward into a new time segment by the single clock hand.
应用推荐