空指針錯誤 的英文怎麼說
中文拼音 [kōngzhǐzhēncuòwù]
空指針錯誤
英文
null pointer error- 空 : 空Ⅰ形容詞(不包含什麼; 裏面沒有東西或沒有內容; 不切實際的) empty; hollow; void Ⅱ名詞1 (天空) s...
- 指 : 指構詞成分。
- 針 : Ⅰ名詞1 (縫衣物用的工具) needle 2 (細長像針的東西) needle like things 3 (針劑) injection; sh...
- 錯 : Ⅰ形容詞1 (錯誤; 不正確) wrong; mistaken; erroneous 2 (用於否定: 壞; 差) bad; poor 3 (交叉; ...
- 誤 : Ⅰ名詞(錯誤) mistake; error Ⅱ動詞1 (弄錯) mistake; misunderstand 2 (耽誤) miss 3 (使受損害...
- 指針 : 1 (鐘 、表的針) hand; indicator; pointer; needle2 (分辨正誤的依據) guiding principle; guide 3...
- 錯誤 : 1 (不正確) wrong; mistaken; incorrect; erroneous 2 (不正確的事物、行為等) mistake; error; blu...
-
As you might have guessed, i call this pattern the null flag bug pattern because it is caused by inconsistently using null pointers as flags for exceptional conditions
您可能會猜想,之所以稱這種模式為空標志錯誤模式,是因為它是不一致地使用空指針作為異常情況的標志引起的。To free developers of dealing with the sorts of exceptions that occur as a result of programming errors or that the program could not be expected to catch dereferencing a null pointer, falling off the end of an array, dividing by zero, and so on, some exceptions are nominated as unchecked exceptions those that derive from
對于因為編程錯誤而導致的異常,或者是不能期望程序捕獲的異常(解除引用一個空指針,數組越界,除零,等等) ,為了使開發人員免於處理這些異常,一些異常被命名為非檢查型異常(即那些繼承自Common coding errors reported by the tool include buffer overrun, un - initialized memory, null pointer dereference, memory and resource leaks
工具報告的常見編碼錯誤包括緩沖區溢出、內存未初始化、空指針取消引用以及內存和資源泄漏。Code analysis tool detects common coding errors, such as buffer overrun, un - initialized memory, null pointer dereference, and memory and resource leaks
代碼分析工具用於檢測常見的編碼錯誤,例如緩沖區溢出、內存未初始化、空指針取消引用,以及內存和資源泄露。This bug occurs when your software throws a null - pointer exception, a hard - to - diagnose problem, due to the misrepresentation of a recursive datatype
當您的軟體拋出空指針異常時這個錯誤發生,因為遞歸數據類型的錯誤表示,所以這是個難以診斷的問題。Instead, the error signaled at run time would be a null - pointer exception instead of a class - cast exception
相反,在運行時發出的錯誤將會是一個空指針異常而不是類強制轉換異常。分享友人