- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 2,996 for switch (0.05 seconds)
-
compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/settings.paramdoc.xml
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
} @Test public void test_switchStatement() { // Test enum usage in switch statement for (SsoResponseType type : SsoResponseType.values()) { String result = processResponseType(type); assertNotNull(result); switch (type) { case METADATA: assertEquals("metadata", result); break;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/math/ToDoubleRounder.java
final double roundToDouble(X x, RoundingMode mode) { checkNotNull(x, "x"); checkNotNull(mode, "mode"); double roundArbitrarily = roundToDoubleArbitrarily(x); if (Double.isInfinite(roundArbitrarily)) { switch (mode) { case DOWN: case HALF_EVEN: case HALF_DOWN: case HALF_UP: return Double.MAX_VALUE * sign(x); case FLOOR:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:51:56 GMT 2026 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/StringConversionUtil.java
* @param pattern * The pattern string * @return The converted {@literal String} */ public static String toString(final Object value, final String pattern) { return switch (value) { case null -> null; case String s -> s; case java.util.Date d -> toString(d, pattern); case Number n -> toString(n, pattern); case byte[] bytes -> Base64Util.encode(bytes);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
// Switch to new index suggester.switchIndex(); Thread.sleep(50); // Verify switch was successful - search alias should still exist aliasResponse = client.admin().indices().prepareGetAliases(suggester.getIndex()).execute().actionGet(); assertNotNull("Search alias should exist after switch", aliasResponse.getAliases());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.1K bytes - Click Count (0) -
cmd/batch-rotate_gen.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 "Type": { var zb0002 string zb0002, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Type") return }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 27.1K bytes - Click Count (0) -
src/cmd/asm/internal/arch/riscv64.go
// instruction set, to minimize its interaction with the core of the // assembler. package arch import ( "cmd/internal/obj" "cmd/internal/obj/riscv" "fmt" ) // IsRISCV64AMO reports whether op is an AMO instruction that requires // special handling. func IsRISCV64AMO(op obj.As) bool { switch op {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 04:17:57 GMT 2026 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.2K bytes - Click Count (0) -
utils/utils.go
func ToStringKey(values ...interface{}) string { results := make([]string, len(values)) for idx, value := range values { if valuer, ok := value.(driver.Valuer); ok { value, _ = valuer.Value() } switch v := value.(type) { case string: results[idx] = v case []byte: results[idx] = string(v) case uint: results[idx] = strconv.FormatUint(uint64(v), 10) default: results[idx] = "nil"
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java
* @return The converted {@link Boolean} */ public static Boolean toBoolean(final Object o) { return switch (o) { case null -> null; case Boolean b -> b; case Number n -> n.intValue() != 0; case String s -> switch (s.toLowerCase()) { case "true" -> Boolean.TRUE; case "false", "0" -> Boolean.FALSE; default -> Boolean.TRUE; };Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.8K bytes - Click Count (0)