Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for syserr (0.24 sec)

  1. src/net/net_windows_test.go

    	"syscall"
    	"testing"
    	"time"
    )
    
    func toErrno(err error) (syscall.Errno, bool) {
    	operr, ok := err.(*OpError)
    	if !ok {
    		return 0, false
    	}
    	syserr, ok := operr.Err.(*os.SyscallError)
    	if !ok {
    		return 0, false
    	}
    	errno, ok := syserr.Err.(syscall.Errno)
    	if !ok {
    		return 0, false
    	}
    	return errno, true
    }
    
    // TestAcceptIgnoreSomeErrors tests that windows TCPListener.AcceptTCP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirector.java

            stdErr.setDestination(stdErrDestination);
        }
    
        @Override
        public void start() {
            if (stdOut.destination != null) {
                originalStdOut = System.out;
                System.setOut(redirectedStdOut);
            }
            if (stdErr.destination != null) {
                originalStdErr = System.err;
                System.setErr(redirectedStdErr);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    				// Do not return io.EOF
    				if resCh != nil {
    					resErr = nil
    					select {
    					case resCh <- results:
    					case <-ctx.Done():
    					}
    					resCh = nil
    					returned = true
    				}
    				continue
    			}
    			results.o = append(results.o, entry)
    		}
    		if resCh != nil {
    			resErr = io.EOF
    			select {
    			case <-ctx.Done():
    				// Nobody wants it.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

        private
        fun reportProjectSchemaError(plugins: List<PrecompiledScriptPlugin>, stdout: String, stderr: String, error: Throwable) {
            @Suppress("DEPRECATION")
            if (strict.get()) throw PrecompiledScriptException(failedToGenerateAccessorsFor(plugins, stdout, stderr), error)
            else logger.warn(failedToGenerateAccessorsFor(plugins, stdout, stderr), error)
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin.go

    	}
    	// End ambient plugin logic
    
    	pi := &PodInfo{}
    	var k8sErr error
    	for attempt := 1; attempt <= podRetrievalMaxRetries; attempt++ {
    		pi, k8sErr = getK8sPodInfo(kClient, podName, podNamespace)
    		if k8sErr == nil {
    			break
    		}
    		log.Debugf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr)
    		time.Sleep(podRetrievalInterval)
    	}
    	if k8sErr != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. src/os/exec/exec.go

    // Any returned error will usually be of type [*ExitError].
    // If c.Stderr was nil, Output populates [ExitError.Stderr].
    func (c *Cmd) Output() ([]byte, error) {
    	if c.Stdout != nil {
    		return nil, errors.New("exec: Stdout already set")
    	}
    	var stdout bytes.Buffer
    	c.Stdout = &stdout
    
    	captureErr := c.Stderr == nil
    	if captureErr {
    		c.Stderr = &prefixSuffixSaver{N: 32 << 10}
    	}
    
    	err := c.Run()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_test.go

    				PrimaryIPFamily: v1.IPv6Protocol,
    			},
    			ssErr:   true,
    			ssFatal: false,
    			dsErr:   false,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			err, fatal := checkBadIPConfig(c.proxy, false)
    			if err != nil && !c.ssErr {
    				t.Errorf("unexpected error in single-stack case: %v", err)
    			} else if err == nil && c.ssErr {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/gotoolchain_issue66175.txt

    ! go version
    stderr 'go: downloading go1.20 '
    
    
    # check for invalid GOTOOLCHAIN
    env GOTOOLCHAIN=go1.14
    go version
    stdout 'go1.14'
    
    env GOTOOLCHAIN=go1.20
    ! go version
    stderr 'go: downloading go1.20 '
    
    env GOTOOLCHAIN=go1.21
    ! go version
    stderr 'go: invalid toolchain: go1.21 is a language version but not a toolchain version \(go1.21.x\)'
    
    env GOTOOLCHAIN=go1.22
    ! go version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 21:32:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  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