Skip to content
EntityQ1099515· pop 7· linked from 50 articles

边界检查

Sign in to save

technique in computer science where variables are ensured to be within bounds before use

In the Vinony graph

Within Vinony's link graph, 边界检查 is referenced by 50 other articles, and connects out to International Standard Book Number, C and PHP.

It sits within the topics Arrays and Computer errors.

Its subject is documented across 7 Wikipedia language editions.

Article · 中文

边界检查在程序设计中是指在使用某一个变量前,检查该变量是否处在一个特定范围之内。最常见的是数组的下标检查,防止下标超出数组范围而覆盖、運行其他堆疊位址数据。 若是边界检查未能有效发现错误,最常见的结果是程序出现异常并终止运行,但也可能出现其他现象。 由于每次都进行边界检查非常耗时,而且有些代码确定不会出现越界问题,所以这个操作并不总是需要被执行。一些现代编译器中有称为选择性边界检查的技术,可以略去一些常见的不需要的边界检查,从而提高程序的性能。

Abstract from DBpedia / Wikipedia · CC BY-SA

Available in 7 languages

via Wikidata sitelinks · CC0

Connections

Categories