- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for swap (0.41 sec)
-
doc/go_mem.html
Other memory operations are <i>write-like</i>, including write, atomic write, mutex unlock, channel send, and channel close. Some, such as atomic compare-and-swap, are both read-like and write-like. </p> <p> A <i>goroutine execution</i> is modeled as a set of memory operations executed by a single goroutine. </p> <p> <b>Requirement 1</b>:
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go_spec.html
corresponding type parameters have corresponding constraints. </p> <pre> type Pair[A, B any] struct { a A b B } func (p Pair[A, B]) Swap() Pair[B, A] { … } // receiver declares A, B func (p Pair[First, _]) First() First { … } // receiver declares First, corresponds to A in Pair </pre> <h2 id="Expressions">Expressions</h2> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0)