Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for exactly (0.89 sec)

  1. src/cmd/go/testdata/script/mod_proxy_errors.txt

    [short] skip
    
    env GO111MODULE=on
    env GOSUMDB=off
    env GOPROXY=direct
    
    # Server responses should be truncated to some reasonable number of lines.
    # (For now, exactly eight.)
    ! go list -m vcs-test.golang.org/auth/ormanylines@latest
    stderr '\tserver response:\n(.|\n)*\tline 8\n\t\[Truncated: too many lines.\]$'
    
    # Server responses should be truncated to some reasonable number of characters.
    ! go list -m vcs-test.golang.org/auth/oronelongline@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 698 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_plugin_non_main.txt

    # Plugins are not supported on all platforms.
    [!buildmode:plugin] skip
    
    go build -n testdep
    ! go build -buildmode=plugin testdep
    stderr '-buildmode=plugin requires exactly one main package'
    
    -- go.mod --
    module testdep
    
    go 1.16
    -- testdep.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 12 15:28:43 UTC 2020
    - 255 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_exe.txt

    ! go build -buildmode=exe -o out$GOEXE ./not_main
    stderr '-buildmode=exe requires exactly one main package'
    ! exists out$GOEXE
    ! go build -buildmode=exe -o out$GOEXE ./main_one ./main_two
    stderr '-buildmode=exe requires exactly one main package'
    ! exists out$GOEXE
    
    -- go.mod --
    module m
    
    go 1.16
    -- not_main/not_main.go --
    package not_main
    
    func F() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 551 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_sum_ambiguous.txt

    stderr '^missing go.sum entry needed to verify package example.com/ambiguous/a/b is provided by exactly one module; to add:\n\tgo mod download example.com/ambiguous/a/b$'
    ! go list -deps .
    stderr '^use.go:3:8: missing go.sum entry needed to verify package example.com/ambiguous/a/b \(imported by m\) is provided by exactly one module; to add:\n\tgo get m$'
    
    cp go.sum.b-only go.sum
    ! go list example.com/ambiguous/a/b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:37:31 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/inst_test.go

    	cmd := testenv.Command(t, gotool, "build", "-o", dest, filepath.Join("testdata", filename))
    	if output, err = cmd.CombinedOutput(); err != nil {
    		t.Fatalf("Failed: %v:\nOutput: %s\n", err, output)
    	}
    
    	// Test that there is exactly one shape-based instantiation of Sort in
    	// the executable.
    	cmd = testenv.Command(t, gotool, "tool", "nm", dest)
    	if output, err = cmd.CombinedOutput(); err != nil {
    		t.Fatalf("Failed: %v:\nOut: %s\n", err, output)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/testdata/sample.go

    // This is a sample test file illustrating the use
    // of error comments with the error test harness.
    
    package p
    
    // The following are invalid error comments; they are
    // silently ignored. The prefix must be exactly one of
    // "/* ERROR " or "// ERROR ".
    //
    /*ERROR*/
    /*ERROR foo*/
    /* ERRORfoo */
    /*  ERROR foo */
    //ERROR
    // ERROR
    // ERRORfoo
    //  ERROR foo
    
    // This is a valid error comment; it applies to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 951 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go

    //
    //go:noinline
    func ExerciseIface(iter int, a1, a2 Adder, m1, m2 mult.Multiplier) int {
    	// The call below must evaluate selectA() to determine the receiver to
    	// use. This should happen exactly once per iteration. Assert that is
    	// the case to ensure the IR manipulation does not result in over- or
    	// under-evaluation.
    	selectI := 0
    	selectA := func(gotI int) Adder {
    		if gotI != selectI {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/testdata/issue23434.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test case for go.dev/issue/23434: Better synchronization of
    // parser after missing type. There should be exactly
    // one error each time, with now follow errors.
    
    package p
    
    type T /* ERROR unexpected newline */
    
    type Map map[int] /* ERROR unexpected newline */
    
    // Examples from go.dev/issue/23434:
    
    func g() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 12:49:49 UTC 2023
    - 653 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/link_matching_actionid.txt

    env GOROOT=$WORK/goroot2
    symlink $GOROOT -> $TESTGO_GOROOT
    
    env GOCACHE=$WORK/gocache2
    mkdir $GOCACHE
    
    go build -o binary2 -trimpath -x main.go
    
    # Check that the binaries match exactly
    go tool buildid binary1
    cp stdout buildid1
    go tool buildid binary2
    cp stdout buildid2
    cmp buildid1 buildid2
    
    
    -- main.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 14:18:11 UTC 2020
    - 835 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_get_exec_toolchain.txt

    env GOTOOLCHAIN=auto
    cp go.mod.new go.mod
    go get go@1.22
    stderr '^go: updating go.mod requires go >= 1.22.9; switching to go1.22.9$'
    
    # go get go@1.22rc1 should use 1.22rc1 exactly, not a later release.
    env GOTOOLCHAIN=local
    cp go.mod.new go.mod
    ! go get go@1.22rc1
    stderr '^go: updating go.mod requires go >= 1.22rc1 \(running go 1.21; GOTOOLCHAIN=local\)'
    
    env GOTOOLCHAIN=auto
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top