- Sort Score
- Result 10 results
- Languages All
Results 1021 - 1030 of 2,116 for cause (0.03 sec)
-
internal/http/check_port_test.go
err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{}) switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } case err == nil: t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr) case testCase.expectedErr.Error() != err.Error(): t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arch.go
switch GOARCH { case "386": return archX86(&x86.Link386) case "amd64": return archX86(&x86.Linkamd64) case "arm": return archArm() case "arm64": return archArm64() case "loong64": return archLoong64(&loong64.Linkloong64) case "mips": return archMips(&mips.Linkmips) case "mipsle": return archMips(&mips.Linkmipsle) case "mips64": return archMips64(&mips.Linkmips64)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 24 12:32:56 UTC 2024 - 21.5K bytes - Viewed (0) -
internal/auth/credentials.go
switch exp := expI.(type) { case string: expAt, err = strconv.ParseInt(exp, 10, 64) case float64: expAt, err = int64(exp), nil case int64: expAt, err = exp, nil case int: expAt, err = int64(exp), nil case uint64: expAt, err = int64(exp), nil case uint: expAt, err = int64(exp), nil case json.Number: expAt, err = exp.Int64() case time.Duration:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 12K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
req := updateRequest{ Update: data, Fd: fd, Resp: ret, } select { case z.Updates <- req: case <-ctx.Done(): return nil, fmt.Errorf("context expired before request sent: %v", ctx.Err()) } select { case r := <-ret: return r.resp, r.err case <-ctx.Done(): return nil, fmt.Errorf("context expired before response received: %v", ctx.Err()) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 16:08:35 UTC 2024 - 13.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java
* before they are sorted and actual build execution starts. * * @param session the Maven session * @throws MavenExecutionException in case of issue */ public void afterProjectsRead(MavenSession session) throws MavenExecutionException { // do nothing } /** * Invoked after MavenSession instance has been created. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/peer-rest-client.go
select { case listenCh <- *b: default: // Do not block on slow receivers. b.Recycle() } return nil }) } // Listen - listen on peers. func (client *peerRESTClient) Listen(ctx context.Context, listenCh chan<- []byte, v url.Values) { go func() { for { client.doListen(ctx, listenCh, v) select { case <-ctx.Done(): return default:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
internal/http/listener.go
// It returns true if the result is sent else false if returns when doneCh is closed. send := func(result acceptResult) bool { select { case listener.acceptCh <- result: // Successfully written to acceptCh return true case <-listener.ctx.Done(): return false } } // Closure to handle TCPListener until done channel is closed. handleListener := func(idx int, listener net.Listener) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/bucket-policy.go
var signatureVersion string switch authType { case authTypeSignedV2, authTypePresignedV2: signatureVersion = signV2Algorithm case authTypeSigned, authTypePresigned, authTypeStreamingSigned, authTypePostPolicy: signatureVersion = signV4Algorithm } var authtype string switch authType { case authTypePresignedV2, authTypePresigned: authtype = "REST-QUERY-STRING"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
* * @throws MojoExecutionException if an unexpected problem occurs. * Throwing this exception causes a "BUILD ERROR" message to be displayed. * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs. * Throwing this exception causes a "BUILD FAILURE" message to be displayed. */ void execute() throws MojoExecutionException, MojoFailureException; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
} // Print output messages in the specified format with color options func Print(ms diag.Messages, format string, colorize bool) (string, error) { switch format { case LogFormat: return printLog(ms, colorize), nil case JSONFormat: return printJSON(ms) case YAMLFormat: return printYAML(ms) default: return "", fmt.Errorf("invalid format, expected one of %v but got %q", MsgOutputFormatKeys, format) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 11 02:41:45 UTC 2023 - 3.1K bytes - Viewed (0)