- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Equals (0.23 sec)
-
doc/go_mem.html
<pre> *p = i + *p/2 </pre> <p> That is, it must not rewrite the program into this one: </p> <pre> *p /= 2 *p += i </pre> <p> If <code>i</code> and <code>*p</code> start equal to 2, the original code does <code>*p = 3</code>, so a racing thread can read only 2 or 3 from <code>*p</code>. The rewritten code does <code>*p = 1</code> and then <code>*p = 3</code>,
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go1.17_spec.html
</li> <li> Struct values are comparable if all their fields are comparable. Two struct values are equal if their corresponding non-<a href="#Blank_identifier">blank</a> fields are equal. </li> <li> Array values are comparable if values of the array element type are comparable. Two array values are equal if their corresponding elements are equal. </li> </ul> <p>
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
<p> Comparison operators compare two operands and yield an untyped boolean value. </p> <pre class="grammar"> == equal != not equal < less <= less or equal > greater >= greater or equal </pre> <p> In any comparison, the first operand must be <a href="#Assignability">assignable</a> to the type of the second operand, or vice versa.
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 279.3K bytes - Viewed (0)