V2EX  ›  英汉词典

Boundary Check

释义 Definition

boundary check边界检查/越界检查;指在进入某个范围(如数组下标、内存、数值区间、权限范围或个人界限)之前,先验证是否超出允许的边界,以避免错误或风险。(在计算机领域尤为常见)

发音 Pronunciation (IPA)

/ˈbaʊndəri tʃek/

例句 Examples

The program does a boundary check before reading the array.
程序在读取数组之前会先做边界检查。

Without proper boundary checks, the input can trigger crashes or even security vulnerabilities.
如果没有恰当的边界检查,输入可能会导致崩溃,甚至引发安全漏洞。

词源 Etymology

boundary 源自中古法语 boundarie(“界限、边界”),与“界标/界线”的概念相关;check 来自古法语 eschequier(原与“核对、检验”有关)。组合成 boundary check,字面就是“对边界进行核对/检验”,在现代英语里常用于描述“防止越界”的验证动作。

相关词 Related Words

文学与著作 Literary Works

  • The Art of Software Testing(Glenford J. Myers 等):讨论测试策略时常涉及边界相关的检查与“边界值”思想。
  • *Secure Coding in C and C++*(Robert C. Seacord):在安全编码实践中反复强调数组/缓冲区的边界检查以防漏洞。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1154 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 16:18 · PVG 00:18 · LAX 08:18 · JFK 11:18
♥ Do have faith in what you're doing.