e/Off-by-one error

New Query

Information
has glosseng: An off-by-one error (OBOE) is a logical error involving the discrete equivalent of a boundary condition. It often occurs in computer programming when an iterative loop iterates one time too many or too few. Usually this problem arises when a programmer fails to take into account that a sequence starts at zero rather than one (as with array indices in many languages), or makes mistakes such as using "is less than or equal to" where "is less than" should have been used in a comparison. This can also occur in a mathematical context.
lexicalizationeng: Off by one error
lexicalizationeng: off-by-one error
lexicalizationeng: Off-by-one-error
instance ofe/Software bug
Meaning
German
has glossdeu: Ein Off-By-One-Error (deutsch etwa Um-Eins-daneben-Fehler) oder ±1-Problem bezeichnet eine bestimmte Art von Programmierfehlern, die bei der Entwicklung von Software unterlaufen können und meist ein spezieller Fall des Zaunpfahlproblems, eines Logikproblems der Indizierung, sind. Bei einem Off-By-One-Fehler ist entweder die Größenangabe eines Speicherblocks um 1 falsch oder es kann bei maximaler Puffergröße um einen Schritt zu viel in den Speicher geschrieben werden, wobei der Speicher eines anderen Puffers bzw. einer Variable überschrieben wird.
lexicalizationdeu: Off-by-one error
lexicalizationdeu: Off-by-one-Error
Japanese
has glossjpn: Off-by-oneエラー(off-by-one error (OBOE))とは、境界条件の判定に関するエラーの一種である。コンピュータプログラミングにおいて、ループが正しい回数より一回多く、または一回少なく実行された場合などに発生する。 この問題の代表的な原因として、プログラマーが数字のカウントを0からではなく1から開始してしまう(多くのプログラミング言語では配列の添え字は0から始まる)、数値の比較において「~未満」とすべきところを「~以下」としてしまう、等が挙げられる。また、数学的な処理を行っている場合にも発生しうる。
lexicalizationjpn: off-by-oneエラー
Polish
has glosspol: Off by one to błąd programistyczny polegający na pomyłce o jeden, np. zaczynanie od 1 kiedy powinno się od 0 (lub odwrotnie) bądź mylenie "mniejsze" z "mniejsze-równe" w warunkach pętli.
lexicalizationpol: Off by one
Media
media:imgFencepost error.svg

Query

Word: (case sensitive)
Language: (ISO 639-3 code, e.g. "eng" for English)


Lexvo © 2008-2024 Gerard de Melo.   Contact   Legal Information / Imprint