- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for first (0.21 sec)
-
doc/go1.17_spec.html
and calls to the built-in functions <a href="#Length_and_capacity"><code>cap</code></a> and <a href="#Length_and_capacity"><code>len</code></a> by any number of goroutines without further synchronization. Channels act as first-in-first-out queues. For example, if one goroutine sends values on a channel and a second goroutine receives them, the values are received in the order sent. </p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_mem.html
func f() { a = "hello, world" l.Unlock() } func main() { l.Lock() go f() l.Lock() print(a) } </pre> <p> is guaranteed to print <code>"hello, world"</code>. The first call to <code>l.Unlock()</code> (in <code>f</code>) is synchronized before the second call to <code>l.Lock()</code> (in <code>main</code>) returns, which is sequenced before the <code>print</code>. </p> <p class="rule">
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/asm.html
Thus <code>0(FP)</code> is the first argument to the function, <code>8(FP)</code> is the second (on a 64-bit machine), and so on. However, when referring to a function argument this way, it is necessary to place a name at the beginning, as in <code>first_arg+0(FP)</code> and <code>second_arg+8(FP)</code>. (The meaning of the offset—offset from the frame pointer—distinct
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
doc/go_spec.html
</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> An expression specifies the computation of a value by applying operators and functions to operands.
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)