Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for sample (0.42 sec)

  1. src/cmd/compile/internal/test/pgo_inl_test.go

    	}
    
    	dst.Close()
    
    	testPGOIntendedInlining(t, dir, profFile)
    }
    
    // TestPGOSingleIndex tests that the sample index can not be 1 and compilation
    // will not fail. All it should care about is that the sample type is either
    // CPU nanoseconds or samples count, whichever it finds first.
    func TestPGOSingleIndex(t *testing.T) {
    	for _, tc := range []struct {
    		originalIndex int
    	}{{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    	if err != nil {
    		t.Fatalf("os.Stat:1 %v", err)
    	}
    	hdr.Typeflag = TypeDir
    	// Force a PAX long name to be written. The name was taken from a practical example
    	// that fails and replaced ever char through numbers to anonymize the sample.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug_test.go

    	// (1) In testdata, build sample.go into test-sample.<tag>
    	// (2) Run debugger gathering a history
    	// (3) Read expected history from testdata/sample.<tag>.nexts
    	// optionally, write out testdata/sample.<tag>.nexts
    
    	testbase := filepath.Join("testdata", base) + "." + tag
    	tmpbase := filepath.Join("testdata", "test-"+base+"."+tag)
    
    	// Use a temporary directory unless -f is specified
    	if !*force {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/inline/inlheur/scoring.go

    // the in-loop adjustment is 5 (for example), then there is not much
    // point treating it as inlinable. On the other hand "bar" has a param
    // property (parameter "x" feeds unmodified to an "if" statement") and
    // a return property (always returns same constant) meaning that a
    // given call _could_ be rescored down as much as -35 points-- thus if
    // the size of "bar" is 100 (for example) then there is at least a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/test.go

    where xxx is a suffix not beginning with an upper case letter.
    
    Here is an example of an example:
    
    	func ExamplePrintln() {
    		Println("The output of\nthis example.")
    		// Output: The output of
    		// this example.
    	}
    
    Here is another example where the ordering of the output is ignored:
    
    	func ExamplePerm() {
    		for _, value := range Perm(4) {
    			fmt.Println(value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. src/cmd/go/alldocs.go

    //	Mercurial   .hg
    //	Subversion  .svn
    //
    // For example,
    //
    //	import "example.org/user/foo.hg"
    //
    // denotes the root directory of the Mercurial repository at
    // example.org/user/foo or foo.hg, and
    //
    //	import "example.org/repo.git/foo/bar"
    //
    // denotes the foo/bar directory of the Git repository at
    // example.org/repo or repo.git.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/mod/example.com_undeprecated_v1.0.0.txt

    -- .info --
    {"Version":"v1.0.0"}
    -- .mod --
    // Deprecated: in v1.0.0
    module example.com/undeprecated
    
    go 1.17
    -- go.mod --
    // Deprecated: in v1.0.0
    module example.com/undeprecated
    
    go 1.17
    -- undeprecated.go --
    package undeprecated
    
    -- cmd/a/a.go --
    package main
    
    import "fmt"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 318 bytes
    - Viewed (0)
  8. doc/next/6-stdlib/2-unique.md

    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.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 566 bytes
    - Viewed (0)
  9. doc/go_mem.html

    you are being too clever.
    </p>
    
    <p>
    Don't be clever.
    </p>
    
    <h3 id="overview">Informal Overview</h3>
    
    <p>
    Go approaches its memory model in much the same way as the rest of the language,
    aiming to keep the semantics simple, understandable, and useful.
    This section gives a general overview of the approach and should suffice for most programmers.
    The memory model is specified more formally in the next section.
    </p>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    // For range of 4 elements, Intel manual uses "+3" notation, for example:
    //
    //	VP4DPWSSDS zmm1{k1}{z}, zmm2+3, m128
    //
    // Given asm line:
    //
    //	VP4DPWSSDS Z5, [Z10-Z13], (AX)
    //
    // zmm2 is Z10, and Z13 is the only valid value for it (Z10+3).
    // Only simple ranges are accepted, like [Z0-Z3].
    //
    // The opening bracket has been consumed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top