- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 757 for switches (0.07 sec)
-
internal/grid/grid_types_msgp_test.go
if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "Num": z.Num, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "Num") return } case "String": z.String, err = dc.ReadString()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 8.1K bytes - Viewed (0) -
src/cmd/asm/internal/arch/mips.go
) func jumpMIPS(word string) bool { switch word { case "BEQ", "BFPF", "BFPT", "BGEZ", "BGEZAL", "BGTZ", "BLEZ", "BLTZ", "BLTZAL", "BNE", "JMP", "JAL", "CALL": return true } return false } // IsMIPSCMP reports whether the op (as defined by an mips.A* constant) is // one of the CMP instructions that require special handling. func IsMIPSCMP(op obj.As) bool { switch op {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Mar 04 19:06:44 UTC 2020 - 1.7K bytes - Viewed (0) -
internal/s3select/sql/value.go
} // Types cannot be compared, they do not match. switch op { case opEq: return false, nil case opIneq: return true, nil } return false, errCmpInvalidBoolOperator } func inferTypesForCmp(a *Value, b *Value) error { _, okA := a.ToBytes() _, okB := b.ToBytes() switch { case !okA && !okB: // Both Values already have types return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
src/cmd/asm/internal/arch/loong64.go
// require special handling. func IsLoong64RDTIME(op obj.As) bool { switch op { case loong64.ARDTIMELW, loong64.ARDTIMEHW, loong64.ARDTIMED: return true } return false } func IsLoong64AMO(op obj.As) bool { return loong64.IsAtomicInst(op) } func loong64RegisterNumber(name string, n int16) (int16, bool) { switch name { case "F": if 0 <= n && n <= 31 { return loong64.REG_F0 + n, true }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Jul 29 02:47:00 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/s3select/sql/analysis.go
err error } // `combine` combines a pair of `qProp`s, so that errors are // propagated correctly, and checks that an aggregation is not being // combined with a row-function term. func (p *qProp) combine(q qProp) { switch { case p.err != nil: // Do nothing case q.err != nil: p.err = q.err default: p.isAggregation = p.isAggregation || q.isAggregation p.isRowFunc = p.isRowFunc || q.isRowFunc
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 8.5K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
for _, fc := range l.FilterChains { parsedFC := &filterChain{} for _, filter := range fc.Filters { switch filter.Name { case wellknown.HTTPConnectionManager, "envoy.http_connection_manager": if cm := getHTTPConnectionManager(filter); cm != nil { for _, httpFilter := range cm.GetHttpFilters() { switch httpFilter.GetName() { case wellknown.HTTPRoleBasedAccessControl: rbacHTTP := &rbachttp.RBAC{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Sep 11 15:29:30 UTC 2023 - 6K bytes - Viewed (0) -
internal/s3select/csv/args.go
tagName := se.Name.Local switch tagName { case "AllowQuotedRecordDelimiter": var b bool if err = d.DecodeElement(&b, &se); err != nil { return err } args.AllowQuotedRecordDelimiter = b default: var s string if err = d.DecodeElement(&s, &se); err != nil { return err } switch tagName { case "FileHeaderInfo": s = strings.ToLower(s)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 18:31:45 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtException.java
public static String getErrorString ( int errorClass, int errorCode ) { String result = ""; switch ( errorClass ) { case SUCCESS: result += "SUCCESS"; break; case ERR_NAM_SRVC: result += "ERR_NAM_SRVC/"; switch ( errorCode ) { case FMT_ERR: result += "FMT_ERR: Format Error"; default:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.8K bytes - Viewed (0) -
src/cmd/asm/internal/lex/tokenizer.go
line: 1, file: file, } } // We want center dot (·) and division slash (∕) to work as identifier characters. func isIdentRune(ch rune, i int) bool { if unicode.IsLetter(ch) { return true } switch ch { case '_': // Underscore; traditional. return true case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot return true
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Aug 04 20:35:21 UTC 2022 - 3K bytes - Viewed (0) -
istioctl/cmd/istioctl_test.go
fErr := rootCmd.Execute() switch fErr.(type) { case istioctlutil.CommandParseError: // do nothing default: t.Errorf("Expected a CommandParseError, but got %q.", fErr) } // we should propagate to subcommands rootCmd = GetRootCmd([]string{"analyze", "--unknown-flag"}) fErr = rootCmd.Execute() switch fErr.(type) { case istioctlutil.CommandParseError: // do nothing
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 29 14:53:25 UTC 2023 - 1.5K bytes - Viewed (0)