- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for wouldn (0.17 sec)
-
src/bufio/example_test.go
import ( "bufio" "bytes" "fmt" "os" "strconv" "strings" ) func ExampleWriter() { w := bufio.NewWriter(os.Stdout) fmt.Fprint(w, "Hello, ") fmt.Fprint(w, "world!") w.Flush() // Don't forget to flush! // Output: Hello, world! } func ExampleWriter_AvailableBuffer() { w := bufio.NewWriter(os.Stdout) for _, i := range []int64{1, 2, 3, 4} { b := w.AvailableBuffer() b = strconv.AppendInt(b, i, 10)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
src/bytes/example_test.go
"io" "os" "sort" "strconv" "unicode" ) func ExampleBuffer() { var b bytes.Buffer // A Buffer needs no initialization. b.Write([]byte("Hello ")) fmt.Fprintf(&b, "world!") b.WriteTo(os.Stdout) // Output: Hello world! } func ExampleBuffer_reader() { // A Buffer can turn a string or a []byte into an io.Reader. buf := bytes.NewBufferString("R29waGVycyBydWxlIQ==")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
doc/initial/1-intro.md
<!-- NOTE: In this document and others in this directory, the convention is to set fixed-width phrases with non-fixed-width spaces, as in `hello` `world`. --> <style> main ul li { margin: 0.5em 0; } </style>
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Jan 22 18:07:49 GMT 2024 - 256 bytes - Viewed (0) -
src/cmd/cgo/godefs.go
// AST expression onto a single line. The lexer normally inserts a // semicolon at each newline, so we can replace newline with semicolon. // However, we can't do that in cases where the lexer would not insert // a semicolon. We only have to worry about cases that can occur in an // expression passed through gofmt, which means composite literals and // (due to the printer possibly inserting newlines because of position
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 08 14:33:35 GMT 2022 - 4.5K bytes - Viewed (0) -
src/archive/zip/reader.go
if o := baseOffset + int64(d.directoryOffset); o < 0 || o >= size { return nil, 0, ErrFormat } // If the directory end data tells us to use a non-zero baseOffset, // but we would find a valid directory entry if we assume that the // baseOffset is 0, then just use a baseOffset of 0. // We've seen files in which the directory end data gives us // an incorrect baseOffset. if baseOffset > 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/bytes/bytes_test.go
IndexAny(x[:k], cs[:j]) } }) } } } func BenchmarkIndexAnyUTF8(b *testing.B) { x := Repeat([]byte{'#'}, 2048) // Never matches set cs := "你好世界, hello world. 你好世界, hello world. 你好世界, hello world." for k := 1; k <= 2048; k <<= 4 { for j := 1; j <= 64; j <<= 1 { b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) { for i := 0; i < b.N; i++ { IndexAny(x[:k], cs[:j])
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
doc/asm.html
argument size is correct. </p> <p> Note that the symbol name uses a middle dot to separate the components and is specified as an offset from the static base pseudo-register <code>SB</code>. This function would be called from Go source for package <code>runtime</code> using the simple name <code>profileloop</code>. </p> <p> Global data symbols are defined by a sequence of initializing
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) -
src/bufio/scan.go
// the token is the last token. // // The value is useful to stop processing early or when it is necessary to // deliver a final empty token (which is different from a nil token). // One could achieve the same behavior with a custom error value but // providing one here is tidier. // See the emptyFinalToken example for a use of this value. var ErrFinalToken = errors.New("final token")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arch.go
register := make(map[string]int16) // Standard register names. for i := riscv.REG_X0; i <= riscv.REG_X31; i++ { // Disallow X3 in shared mode, as this will likely be used as the // GP register, which could result in problems in non-Go code, // including signal handlers. if shared && i == riscv.REG_GP { continue } if i == riscv.REG_TP || i == riscv.REG_G { continue }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Mar 21 06:51:28 GMT 2023 - 21.3K bytes - Viewed (0) -
src/all.bat
reserved. L2::: Use of this source code is governed by a BSD-style L3::: license that can be found in the LICENSE file. L4: L5:@echo off L6: L7:setlocal L8: L9:if exist make.bat goto ok L10:echo all.bat must be run from go\src L11::: cannot exit: would kill parent command interpreter L12:goto end L13::ok L14: L15:call .\make.bat --no-banner --no-local L16:if %GOBUILDFAIL%==1 goto end L17:call .\run.bat --no-rebuild --no-local L18:if %GOBUILDFAIL%==1 goto end L19:"%GOTOOLDIR%/dist" banner ...
Batch File - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 19 14:36:22 GMT 2023 - 543 bytes - Viewed (0)