- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,449 for CASE (0.02 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/main/java/jcifs/smb1/netbios/SocketInputStream.java
switch( SessionServicePacket.readPacketType( in, header, 0 )) { case SessionServicePacket.SESSION_KEEP_ALIVE: break; case SessionServicePacket.SESSION_MESSAGE: bip = SessionServicePacket.readLength( header, 0 ); break; case -1: if( tot > 0 ) { return tot; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
* @param informationLevel2 * @return */ static long mapInformationLevel ( int il ) { switch ( il ) { case FileInformation.FILE_BASIC_INFO: return 0x0101; case FileInformation.FILE_STANDARD_INFO: return 0x0102; case FileInformation.FILE_ENDOFFILE_INFO: return 0x0104; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K 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) -
cmd/ftp-server.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/erasure-metadata.go
for k, v := range m { switch { case equals(k, ReservedMetadataPrefixLower+ReplicationTimestamp): d.ReplicaTimeStamp, _ = amztime.ParseReplicationTS(v) case equals(k, ReservedMetadataPrefixLower+ReplicaTimestamp): d.ReplicaTimeStamp, _ = amztime.ParseReplicationTS(v) case equals(k, ReservedMetadataPrefixLower+ReplicaStatus): d.ReplicaStatus = replication.StatusType(v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K 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) -
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/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) -
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)