Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for from (0.21 sec)

  1. src/bytes/buffer_test.go

    			buf.WriteRune(r)
    		}
    	}
    }
    
    // From Issue 5154.
    func BenchmarkBufferNotEmptyWriteRead(b *testing.B) {
    	buf := make([]byte, 1024)
    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf[0:1])
    		for i := 0; i < 5<<10; i++ {
    			b.Write(buf)
    			b.Read(buf)
    		}
    	}
    }
    
    // Check that we don't compact too often. From Issue 5154.
    func BenchmarkBufferFullSmallReads(b *testing.B) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    </p>
    
    
    <h3 id="Slice_expressions">Slice expressions</h3>
    
    <p>
    Slice expressions construct a substring or slice from a string, array, pointer
    to array, or slice. There are two variants: a simple form that specifies a low
    and high bound, and a full form that also specifies a bound on the capacity.
    </p>
    
    <h4>Simple slice expressions</h4>
    
    <p>
    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)
  3. src/builtin/builtin.go

    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    // from a closed channel c, any receive from c will succeed without
    // blocking, returning the zero value for the channel element. The form
    //
    //	x, ok := <-c
    //
    // will also set ok to false for a closed and empty channel.
    func close(c chan<- Type)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. doc/go_spec.html

    </p>
    
    
    <h3 id="Slice_expressions">Slice expressions</h3>
    
    <p>
    Slice expressions construct a substring or slice from a string, array, pointer
    to array, or slice. There are two variants: a simple form that specifies a low
    and high bound, and a full form that also specifies a bound on the capacity.
    </p>
    
    <h4>Simple slice expressions</h4>
    
    <p>
    The primary expression
    </p>
    
    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)
  5. doc/README.md

    	[CL 6789](/cl/6789)                # Gerrit changelists
    
    ## For the release team
    
    At the start of a release development cycle, the contents of `next` should be deleted
    and replaced with those of `initial`. From the repo root:
    
        > cd doc
        > rm -r next/*
        > cp -r initial/* next
    
    Then edit `next/1-intro.md` to refer to the next version.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. doc/next/5-toolchain.md

    ## Compiler {#compiler}
    
    The build time overhead to building with [Profile Guided Optimization](/doc/pgo) has been reduced significantly.
    Previously, large builds could see 100%+ build time increase from enabling PGO.
    In Go 1.23, overhead should be in the single digit percentages.
    
    ## Assembler {#assembler}
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 18 15:39:17 GMT 2024
    - 332 bytes
    - Viewed (0)
  7. src/README.vendor

    as if it had a "vendor/" prefix. For example, within "crypto/tls",
    an import of "golang.org/x/crypto/cryptobyte" resolves to
    "vendor/golang.org/x/crypto/cryptobyte". When a package with the
    same path is imported from a package outside std or cmd, it will
    be resolved normally. Consequently, a binary may be built with two
    copies of a package at different versions if the package is
    imported normally and vendored by the standard library.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. doc/godebug.md

    counts the number of HTTP transports that the program
    has configured without HTTP/2 support.
    
    ## Default GODEBUG Values {#default}
    
    When a GODEBUG setting is not listed in the environment variable,
    its value is derived from three sources:
    the defaults for the Go toolchain used to build the program,
    amended to match the Go version listed in `go.mod`,
    and then overridden by explicit `//go:debug` lines in the program.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/2-unique.md

    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/ppc64.s

    	FCFIDS F1, F2                   // ec400e9c
    	FCFIDSCC F1, F2                 // ec400e9d
    	FRES F1, F2                     // ec400830
    	FRESCC F1, F2                   // ec400831
    	FRIM F1, F2                     // fc400bd0
    	FRIMCC F1, F2                   // fc400bd1
    	FRIP F1, F2                     // fc400b90
    	FRIPCC F1, F2                   // fc400b91
    	FRIZ F1, F2                     // fc400b50
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
Back to top