- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 1,673 for CASE (0.06 seconds)
-
cmd/erasure-metadata-utils.go
continue } errorCounts[err]++ } maxCnt := 0 for err, count := range errorCounts { switch { case maxCnt < count: maxCnt = count maxErr = err // Prefer `nil` over other error values with the same // number of occurrences. case maxCnt == count && err == nil: maxErr = err } } return maxCnt, maxErr }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java
String CENTRAL_ID = "central"; /** * Gets the identifier of this repository. * * @return the (case-sensitive) identifier, never {@code null} */ @Nonnull String getId(); /** * Gets the type of the repository, for example "default". * * @return the (case-sensitive) type of the repository, never {@code null} */ @Nonnull String getType();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 3.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 16:53:28 GMT 2021 - 4.1K bytes - Click Count (0) -
docs/en/docs/python-types.md
Calling this program outputs: ``` John Doe ``` The function does the following: * Takes a `first_name` and `last_name`. * Converts the first letter of each one to upper case with `title()`. * <dfn title="Puts them together, as one. With the contents of one after the other.">Concatenates</dfn> them with a space in the middle. {* ../../docs_src/python_types/tutorial001_py310.py hl[2] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
internal/jwt/parser.go
} c.Audience, err = jsonparser.ParseString(value) return err } case 'e': if string(key) == "exp" { if dataType != jsonparser.Number { return errors.New("exp: Expected number") } c.ExpiresAt, err = jsonparser.ParseInt(value) return err } case 'i': if string(key) == "iat" { if dataType != jsonparser.Number {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (0) -
cmd/bucket-replication-metrics.go
if !ok { v = ProxyMetric{} } switch api { case putObjectTaggingAPI: if !isErr { atomic.AddUint64(&v.PutTagTotal, 1) atomic.AddUint64(&p.srProxyStats.PutTagTotal, 1) } else { atomic.AddUint64(&v.PutTagFailedTotal, 1) atomic.AddUint64(&p.srProxyStats.PutTagFailedTotal, 1) } case getObjectTaggingAPI: if !isErr { atomic.AddUint64(&v.GetTagTotal, 1)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 14.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
switch (n) { case 0: return of(); case 1: @SuppressWarnings("unchecked") // safe; elements contains only E's // requireNonNull is safe because the first `n` elements are non-null. E elem = (E) requireNonNull(elements[0]); return of(elem); default: // continue below to handle the general case } int tableSize = chooseTableSize(n);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt
if (flags == 0) return "" when (type) { // Special case types that have 0 or 1 flag. TYPE_SETTINGS, TYPE_PING -> return if (flags == FLAG_ACK) "ACK" else BINARY[flags] TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags] } val result = if (flags < FLAGS.size) FLAGS[flags]!! else BINARY[flags] // Special case types that have overlap flag values. return when {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.7K bytes - Click Count (0) -
clause/update_test.go
{ []clause.Interface{clause.Update{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}}, "UPDATE LOW_PRIORITY `products`", nil, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) { checkBuildClauses(t, result.Clauses, result.Result, result.Vars) }) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jun 02 01:18:01 GMT 2020 - 722 bytes - Click Count (0) -
internal/config/bool-flag.go
// It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False. // Any other value returns an error. func ParseBool(str string) (bool, error) { switch str { case "1", "t", "T", "true", "TRUE", "True", "on", "ON", "On": return true, nil case "0", "f", "F", "false", "FALSE", "False", "off", "OFF", "Off": return false, nil } if strings.EqualFold(str, "enabled") { return true, nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 07 15:10:40 GMT 2022 - 2.3K bytes - Click Count (0)