- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,146 for Switch (0.03 sec)
-
src/cmd/asm/internal/arch/mips.go
func IsMIPSCMP(op obj.As) bool { switch op { case mips.ACMPEQF, mips.ACMPEQD, mips.ACMPGEF, mips.ACMPGED, mips.ACMPGTF, mips.ACMPGTD: return true } return false } // IsMIPSMUL reports whether the op (as defined by an mips.A* constant) is // one of the MUL/DIV/REM/MADD/MSUB instructions that require special handling. func IsMIPSMUL(op obj.As) bool { switch op {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Mar 04 19:06:44 UTC 2020 - 1.7K bytes - Viewed (0) -
src/cmd/asm/internal/arch/loong64.go
// constant) is one of the RDTIMELW/RDTIMEHW/RDTIMED instructions that // require special handling. func IsLoong64RDTIME(op obj.As) bool { switch op { case loong64.ARDTIMELW, loong64.ARDTIMEHW, loong64.ARDTIMED: return true } return false } func IsLoong64PRELD(op obj.As) bool { switch op { case loong64.APRELD, loong64.APRELDX: return true } return false } func IsLoong64AMO(op obj.As) bool {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Aug 05 17:31:25 UTC 2025 - 3.8K bytes - Viewed (0) -
clause/expression.go
) for _, v := range expr.Vars { switch value := v.(type) { case sql.NamedArg: namedMap[value.Name] = value.Value case map[string]interface{}: for k, v := range value { namedMap[k] = v } default: var appendFieldsToMap func(reflect.Value) appendFieldsToMap = func(reflectValue reflect.Value) { reflectValue = reflect.Indirect(reflectValue) switch reflectValue.Kind() { case reflect.Struct:Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Nov 04 07:04:52 UTC 2025 - 8K bytes - Viewed (0) -
internal/s3select/sql/aggregation.go
switch { case e.ListExpr != nil: return e.ListExpr.aggregateRow(r, tableAlias) case e.SubExpression != nil: return e.SubExpression.aggregateRow(r, tableAlias) case e.FuncCall != nil: return e.FuncCall.aggregateRow(r, tableAlias) } return nil } func (e *FuncExpr) aggregateRow(r Record, tableAlias string) error { switch e.getFunctionName() {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 7.9K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs.go
hasZone := zoneOffset != 0 hasFracSecond := t.Nanosecond() != 0 hasSecond := t.Second() != 0 hasTime := t.Hour() != 0 || t.Minute() != 0 hasDay := t.Day() != 1 hasMonth := t.Month() != 1 switch { case hasFracSecond: return t.Format(layoutNanosecond) case hasSecond: return t.Format(layoutSecond) case hasTime || hasZone: return t.Format(layoutMinute) case hasDay: return t.Format(layoutDay)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
this.info = i; return bufferIndex - start; } private static Decodable createInformation(final byte infoType, final byte infoClass) throws SMBProtocolDecodingException { return switch (infoType) { case Smb2Constants.SMB2_0_INFO_FILE -> createFileInformation(infoClass); case Smb2Constants.SMB2_0_INFO_FILESYSTEM -> createFilesystemInformation(infoClass);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.6K 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 Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Aug 04 20:35:21 UTC 2022 - 3K bytes - Viewed (0) -
cmd/untar.go
// if the header is nil, just skip it (not sure how this happens) case header == nil: continue } name := header.Name switch path.Clean(name) { case ".", slashSeparator: continue } switch header.Typeflag { case tar.TypeDir: // = directory if o.ignoreDirs { continue } name = trimLeadingSlash(pathJoin(name, slashSeparator))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2)