- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tmp (0.15 sec)
-
doc/go1.22.html
requires deferring the <code>time.Since</code> call. For example: </p> <pre> t := time.Now() defer log.Println(time.Since(t)) // non-deferred call to time.Since tmp := time.Since(t); defer log.Println(tmp) // equivalent to the previous defer defer func() { log.Println(time.Since(t)) // a correctly deferred call to time.Since }() </pre>
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/go1.17_spec.html
element index plus one. A slice literal has the form </p> <pre> []T{x1, x2, … xn} </pre> <p> and is shorthand for a slice operation applied to an array: </p> <pre> tmp := [n]T{x1, x2, … xn} tmp[0 : n] </pre> <p> Within a composite literal of array, slice, or map type <code>T</code>, elements or map keys that are themselves composite literals may elide the respective
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/asm.html
</p> <p> To see what gets put in the binary after linking, use <code>go tool objdump</code>: </p> <pre> $ go build -o x.exe x.go $ go tool objdump -s main.main x.exe TEXT main.main(SB) /tmp/x.go x.go:3 0x10501c0 65488b0c2530000000 MOVQ GS:0x30, CX x.go:3 0x10501c9 483b6110 CMPQ 0x10(CX), SP x.go:3 0x10501cd 7634 JBE 0x1050203 x.go:3 0x10501cf 4883ec10 SUBQ $0x10, SP
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) -
doc/go_spec.html
element index plus one. A slice literal has the form </p> <pre> []T{x1, x2, … xn} </pre> <p> and is shorthand for a slice operation applied to an array: </p> <pre> tmp := [n]T{x1, x2, … xn} tmp[0 : n] </pre> <p> Within a composite literal of array, slice, or map type <code>T</code>, elements or map keys that are themselves composite literals may elide the respective
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)