Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    [!GOARCH:amd64] skip
    ! go vet -asmdecl a
    stderr 'f: invalid MOVW of x'
    
    # -c flag shows context
    ! go vet -c=2 -asmdecl a
    stderr '...invalid MOVW...'
    stderr '1	.*TEXT'
    stderr '2		MOVW'
    stderr '3		RET'
    stderr '4'
    
    # -json causes success, even with diagnostics and errors.
    go vet -json -asmdecl a
    stderr '"a": {'
    stderr   '"asmdecl":'
    stderr     '"posn": ".*asm.s:2:1",'
    stderr     '"message": ".*invalid MOVW.*"'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 590 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/ConsoleConfigureAction.java

            if (consoleMetaData.isStdOut() && consoleMetaData.isStdErr()) {
                // Redirect stderr to stdout when both stdout and stderr are attached to a console. Assume that they are attached to the same console
                // This avoids interleaving problems when stdout and stderr end up at the same location
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top