- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Deferred (0.29 sec)
-
doc/go1.22.html
The vet tool now reports a non-deferred call to <a href="/pkg/time/#Since"><code>time.Since(t)</code></a> within a <code>defer</code> statement. This is equivalent to calling <code>time.Now().Sub(t)</code> before the <code>defer</code> statement, not when the deferred function is called. In nearly all cases, the correct code
HTML - Registered: Tue Feb 06 11:13:10 GMT 2024 - Last Modified: Wed Jan 31 20:51:56 GMT 2024 - 45.6K bytes - Viewed (0) -
doc/go_mem.html
to avoid data races. In the absence of data races, Go programs behave as if all the goroutines were multiplexed onto a single processor. This property is sometimes referred to as DRF-SC: data-race-free programs execute in a sequentially consistent manner. </p> <p> While programmers should write Go programs without data races,
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go1.17_spec.html
and saved anew but the actual function is not invoked. Instead, deferred functions are invoked immediately before the surrounding function returns, in the reverse order they were deferred. That is, if the surrounding function returns through an explicit <a href="#Return_statements">return statement</a>, deferred functions are executed <i>after</i> any result parameters are set
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
and saved anew but the actual function is not invoked. Instead, deferred functions are invoked immediately before the surrounding function returns, in the reverse order they were deferred. That is, if the surrounding function returns through an explicit <a href="#Return_statements">return statement</a>, deferred functions are executed <i>after</i> any result parameters are set
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0) -
doc/asm.html
object file at the beginning of any name starting with a period: in an assembly source file within the math/rand package implementation, the package's Int function can be referred to as <code>·Int</code>. This convention avoids the need to hard-code a package's import path in its own source code, making it easier to move the code from one location to another. </p>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0)