Many modern programming languages implement bounds checking automatically.
许多现代编程语言自动实现边界检查。
单词 | Bounds checking |
释义 |
Bounds checking
原声例句
科技 Crash Course Many modern programming languages implement bounds checking automatically. 许多现代编程语言自动实现边界检查。 科技 Crash Course The easiest is to always test the length of input before copying it into a buffer, called bounds checking. 最简单的方法是在将输入复制到缓冲区之前始终测试输入的长度,这称为边界检查。
中文百科
边界检查边界检查在进程设计中是指在使用某一个变量前,用来检查该变量是否处在一个特定范围之内的过程。最常见的是数组的下标检查,来防止下标超出数组的范围而覆盖其他的数据。 若是边界检查未能发现错误,最常见的结果是进程出现异常并终止运行,但也可能出现其他的现象。 由于每次都进行边界检查非常耗时,而且有些代码是不可能产生越界的问题的,所以这个操作并不总是需要被执行。一些现代的编译器中有被称为选择性边界检查的技术可以略去一些常见的不需要的边界检查来提高进程的性能。
英语百科
Bounds checking 边界检查In computer programming, bounds checking is any method of detecting whether a variable is within some bounds before it is used. It is usually used to ensure that a number fits into a given type (range checking), or that a variable being used as an array index is within the bounds of the array (index checking). A failed bounds check usually results in the generation of some sort of exception signal. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。