Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,219 for syserr (0.38 sec)

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

    go vet -n -buildtags=false runtime
    stderr '-buildtags=false'
    ! stderr '-unsafeptr=false'
    
    # Issue 37030: "go vet <std package>" without other flags should disable the
    # unsafeptr check by default.
    go vet -n runtime
    stderr '-unsafeptr=false'
    ! stderr '-unreachable=false'
    
    # However, it should be enabled if requested explicitly.
    go vet -n -unsafeptr runtime
    stderr '-unsafeptr'
    ! stderr '-unsafeptr=false'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcshared/testdata/main5.c

    		fprintf(stderr, "calling CatchSIGIO\n");
    	}
    
    	catchSIGIO();
    
    	if (verbose) {
    		fprintf(stderr, "raising SIGIO\n");
    	}
    
    	if (raise(SIGIO) < 0) {
    		die("raise");
    	}
    
    	if (verbose) {
    		fprintf(stderr, "calling dlsym\n");
    	}
    
    	// Check that the Go code saw SIGIO.
    	awaitSIGIO = (void (*)(void))dlsym(handle, "AwaitSIGIO");
    	if (awaitSIGIO == NULL) {
    		fprintf(stderr, "%s\n", dlerror());
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/go/doc/testdata/example.go

    	ok = true
    
    	var eg InternalExample
    
    	stdout, stderr := os.Stdout, os.Stderr
    	defer func() {
    		os.Stdout, os.Stderr = stdout, stderr
    		if e := recover(); e != nil {
    			fmt.Printf("--- FAIL: %s\npanic: %v\n", eg.Name, e)
    			os.Exit(1)
    		}
    	}()
    
    	for _, eg = range examples {
    		if *chatty {
    			fmt.Printf("=== RUN: %s\n", eg.Name)
    		}
    
    		// capture stdout and stderr
    		r, w, err := os.Pipe()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiReceivingStandardStreamsCrossVersionSpec.groovy

                stdout.toString().contains('this is stderr')
            } else {
                stderr.toString().contains('this is stderr')
            }
        }
    
        def "receives standard streams while the model is building"() {
            given:
            loggingBuildScript()
    
            def stdout = new ByteArrayOutputStream()
            def stderr = new ByteArrayOutputStream()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_android_issue62123.txt

    ! go build -o $devnull cmd/buildid
    stderr 'android/amd64 requires external \(cgo\) linking, but cgo is not enabled'
    ! stderr 'cannot find runtime/cgo'
    
    ! go test -c -o $devnull os
    stderr '# os\nandroid/amd64 requires external \(cgo\) linking, but cgo is not enabled'
    ! stderr 'cannot find runtime/cgo'
    
    env GOOS=ios GOARCH=arm64 CGO_ENABLED=0
    
    ! go build -o $devnull cmd/buildid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 21:55:28 UTC 2023
    - 683 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_dot.txt

    # to resolve an external module.
    cd dir
    ! go get
    stderr '^go: no package to get in current directory$'
    ! go get .
    stderr '^go: .: no package to get in current directory$'
    ! go get ./subdir
    stderr '^go: \.[/\\]subdir \('$WORK'[/\\]gopath[/\\]src[/\\]dir[/\\]subdir\) is not a package in module rooted at '$WORK'[/\\]gopath[/\\]src[/\\]dir$'
    ! go list
    ! stderr 'cannot find module providing package'
    stderr '^no Go files in '$WORK'[/\\]gopath[/\\]src[/\\]dir$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 22:30:03 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_init_invalid_major.txt

    ! go mod init example.com/user/repo/v2.
    stderr '(?s)^go: malformed module path "example.com/user/repo/v2.": trailing dot in path element$'
    
    ! go mod init example.com/user/repo/v2..
    stderr '(?s)^go: malformed module path "example.com/user/repo/v2..": trailing dot in path element$'
    
    ! go mod init gopkg.in/user/pkg.v.2.
    stderr '(?s)^go: malformed module path "gopkg.in/user/pkg.v.2.": trailing dot in path element$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 17 21:34:32 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_pgo_auto.txt

    # should work as -pgo=auto.
    go build -a -n -o a1.exe ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    stderr 'compile.*-p test/dep.*-pgoprofile=.*'
    
    # check that pgo appears in build info
    stderr 'build\\t-pgo=.*default\.pgo'
    
    go build -a -n -o nopgo.exe ./nopgo
    stderr 'compile.*nopgo.go'
    ! stderr 'compile.*-pgoprofile'
    
    # check that pgo doesn't appear in build info
    ! stderr 'build\\t-pgo='
    
    # -pgo=off should turn off PGO.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/toolexec.txt

    go test -toolexec=$PWD/mytool
    
    stderr -count=2 '^# test/main\.test$'
    stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main\.test"$'
    stderr -count=1 '^link'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main\.test"$'
    
    stderr -count=1 '^# test/main \[test/main\.test\]$'
    stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main \[test/main\.test\]"$'
    
    stderr -count=1 '^# test/main_test \[test/main\.test\]$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiConnection.groovy

        T configurableLauncher
        OutputStream stdout
        OutputStream stderr
    
        def initTrait(T configurableLauncher, OutputStream stdout, OutputStream stderr) {
            this.configurableLauncher = configurableLauncher
            configurableLauncher.standardOutput = stdout
            configurableLauncher.standardError = stderr
            this.stdout = stdout
            this.stderr = stderr
        }
    
        T setStandardOutput(OutputStream outputStream) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top