Skip to content

Commit

Permalink
build(release): update build
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 24, 2022
1 parent aa4217c commit 20c7817
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified plugin-dev-out/zh.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<body>
報告確保評估為 <code>true</code><code>false</code> 的位元遮罩表達式。
<p>
該檢查將檢查 <code>(var & constant1) == constant2</code><code>(var | constant1) == constant2</code> 形式的表達式,其中 <code>constant1</code><code>constant2</code> 是不相容的位遮罩常量</p>
該檢查將檢查 <code>(var & constant1) == constant2</code><code>(var | constant1) == constant2</code> 形式的表達式,其中 <code>constant1</code><code>constant2</code> 是不相容的位元遮罩常量</p>
<p><b>示例:</b></p>
<pre><code> // 不相容的遮罩:由於遮罩以 00 結尾,
// 結果可能是 0x1200,但不是 0x1234
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
的位元遮罩表達式。
表達式的形式為 <code>(var & constant1) == constant2</code>
<code>(var | constant1) == constant2</code>,其中 <code>constant1</code>
<code>constant2</code> 是不相容的位遮罩常量
<code>constant2</code> 是不相容的位元遮罩常量
<p>示例:</p>
<pre>
// 不相容的遮罩:由於遮罩中的最後一個字節為零,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
使用<b>忽略 '!= null' 比較</b><b>忽略 '!= 0' 比較</b>選項可以忽略 <code>obj != null</code><code>num != 0</code> 形式的比較。
由於 <code>obj != null</code> 實際上意味著 "obj exists",整個表達式的含義不涉及任何否定,所以易於理解。
<p>
同樣的推理也適用於 <code>num !=0</code> 表達式,在使用位遮罩時更是如此
同樣的推理也適用於 <code>num !=0</code> 表達式,在使用位元遮罩時更是如此
<p>
這些形式還有另外的好處,即先提及有趣的情況。
在大多數情況下,<code>== null</code> 分支的值為 <code>null</code> 本身,如以下示例所示:
Expand Down

0 comments on commit 20c7817

Please sign in to comment.