- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,219 for syserr (0.25 sec)
-
src/net/net_test.go
t.Skipf("%s does not have full support of socktest", runtime.GOOS) } syserr := make(chan error) go func() { defer close(syserr) for _, err := range abortedConnRequestErrors { syserr <- err } }() sw.Set(socktest.FilterAccept, func(so *socktest.Status) (socktest.AfterFilter, error) { if err, ok := <-syserr; ok { return nil, err } return nil, nil })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 21:04:44 UTC 2024 - 13.3K bytes - Viewed (0) -
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) -
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) -
pkg/client/tests/remotecommand_test.go
} err = e.StreamWithContext(context.Background(), remoteclient.StreamOptions{ Stdin: streamIn, Stdout: streamOut, Stderr: streamErr, Tty: testCase.Tty, }) hasErr := err != nil if len(testCase.Error) > 0 { if !hasErr { t.Errorf("%s: expected an error", name) } else { if e, a := testCase.Error, err.Error(); !strings.Contains(a, e) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 10.2K bytes - Viewed (0) -
cmd/metacache-set.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 22:18:44 UTC 2024 - 30.4K bytes - Viewed (0) -
pkg/test/framework/components/istioctl/kube.go
func (c *kubeComponent) InvokeOrFail(t test.Failer, args []string) (string, string) { output, stderr, err := c.Invoke(args) if err != nil { t.Logf("Unwanted exception for 'istioctl %s': %v", strings.Join(args, " "), err) t.Logf("Output:\n%v", output) t.Logf("Error:\n%v", stderr) t.FailNow() } return output, stderr
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 3.7K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/util/internal/RedirectStdOutAndErr.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
istioctl/cmd/options_test.go
--log_target: The set of paths where to output the log. This can be any path as well as the special values stdout and stderr ` func TestLogHelp(t *testing.T) { var out bytes.Buffer rootCmd := GetRootCmd([]string{"options"}) rootCmd.SetOut(&out) rootCmd.SetErr(&out) fErr := rootCmd.Execute() if fErr != nil { t.Fatalf("options failed with %v and %q\n", fErr, out.String()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 14 02:38:54 UTC 2022 - 1.9K bytes - Viewed (0) -
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) -
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)