- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for show (0.33 sec)
-
src/bytes/example_test.go
// Output: // 3 // 5 } func ExampleCut() { show := func(s, sep string) { before, after, found := bytes.Cut([]byte(s), []byte(sep)) fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found) } show("Gopher", "Go") show("Gopher", "ph") show("Gopher", "er") show("Gopher", "Badger") // Output: // Cut("Gopher", "Go") = "", "pher", true
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
.github/ISSUE_TEMPLATE/11-language-change.yml
description: If so, how does this differ from previous error handling proposals? placeholder: | Yes or No If yes, 1.how does this differ from previous error handling proposals? validations: required: true - type: textarea id: generics-proposal attributes: label: Is this about generics?
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Nov 22 20:49:24 GMT 2023 - 4.7K bytes - Viewed (0) -
doc/go1.17_spec.html
</p> <p> For instance, some architectures provide a "fused multiply and add" (FMA) instruction that computes <code>x*y + z</code> without rounding the intermediate result <code>x*y</code>. These examples show when a Go implementation can use that instruction: </p> <pre> // FMA allowed for computing r, because x*y is not explicitly rounded: r = x*y + z r = z; r += x*y t = x*y; r = t + z
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/asm.html
plain period and slash. Within an assembler source file, the symbols above are written as <code>fmt·Printf</code> and <code>math∕rand·Int</code>. The assembly listings generated by the compilers when using the <code>-S</code> flag show the period and slash directly instead of the Unicode replacements required by the assemblers. </p> <p> Most hand-written assembly files do not include the full package path
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) -
misc/go_android_exec/main.go
} } } deviceBin := fmt.Sprintf("%s/%s", deviceGotmp, binName) if err := adb("push", os.Args[1], deviceBin); err != nil { return 0, err } // Forward SIGQUIT from the go command to show backtraces from // the binary instead of from this wrapper. quit := make(chan os.Signal, 1) signal.Notify(quit, syscall.SIGQUIT) go func() { for range quit {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
src/archive/tar/format.go
// sparse files | no | yes | yes // // The table's upper portion shows the [Header] fields, where each format reports // the maximum number of bytes allowed for each string field and // the integer type used to store each numeric field // (where timestamps are stored as the number of seconds since the Unix epoch). // // The table's lower portion shows specialized features of each format,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Viewed (0) -
src/bytes/buffer.go
// Cap returns the capacity of the buffer's underlying byte slice, that is, the // total space allocated for the buffer's data. func (b *Buffer) Cap() int { return cap(b.buf) } // Available returns how many bytes are unused in the buffer. func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) } // Truncate discards all but the first n unread bytes from the buffer // but continues to use the same allocated storage.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
result = true } // Add the second result type, if any. if twoResults { if name.FuncType.Result == nil { // An explicit void result looks odd but it // seems to be how cgo has worked historically. sb.WriteString("_Ctype_void") } sb.WriteString(", error)") } } sb.WriteString("{ ") // Define _cgoN for each argument value.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
src/archive/zip/zip_test.go
func TestZip64(t *testing.T) { if testing.Short() { t.Skip("slow test; skipping") } t.Parallel() const size = 1 << 32 // before the "END\n" part buf := testZip64(t, size) testZip64DirectoryRecordLength(buf, t) } func TestZip64EdgeCase(t *testing.T) { if testing.Short() { t.Skip("slow test; skipping") } t.Parallel() // Test a zip file with uncompressed size 0xFFFFFFFF.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
doc/go_spec.html
</p> <p> For instance, some architectures provide a "fused multiply and add" (FMA) instruction that computes <code>x*y + z</code> without rounding the intermediate result <code>x*y</code>. These examples show when a Go implementation can use that instruction: </p> <pre> // FMA allowed for computing r, because x*y is not explicitly rounded: r = x*y + z r = z; r += x*y t = x*y; r = t + z
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)