- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,650 for cast (0.04 sec)
-
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) -
internal/s3select/sql/utils.go
e.strippedPathExpr = pathExpr return e.strippedPathExpr } func (e *JSONPathElement) String() string { switch { case e.Key != nil: return e.Key.String() case e.Index != nil: return fmt.Sprintf("[%d]", *e.Index) case e.ObjectWildcard: return ".*" case e.ArrayWildcard: return "[*]" } return "" } // String removes double quotes in quoted identifiers
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 10 16:12:50 UTC 2021 - 3.6K 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/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) -
tests/query_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 50.4K 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) -
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) -
src/main/assemblies/files/fess
exit 1 fi if [ -z "$FESS_CLASSPATH" ]; then echo "You must set the FESS_CLASSPATH var" >&2 exit 1 fi # Special-case path variables. case `uname` in CYGWIN*) FESS_CLASSPATH=`cygpath -p -w "$FESS_CLASSPATH"` FESS_HOME=`cygpath -p -w "$FESS_HOME"` if [ "x$FESS_CONF_PATH" != "x" ] ; then
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 5.4K bytes - Viewed (0)