- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 502 for switch (1.69 sec)
-
schema/field.go
} if val, ok := field.TagSettings["TYPE"]; ok { lowerVal := DataType(strings.ToLower(val)) switch lowerVal { case Bool, Int, Uint, Float, String, Time, Bytes: field.DataType = lowerVal default: field.DataType = DataType(val) } } if field.Size == 0 { switch reflect.Indirect(fieldValue).Kind() { case reflect.Int, reflect.Int64, reflect.Uint, reflect.Uint64, reflect.Float64:
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 32.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
if !ok { return 0 } var op int16 switch p.next().ScanToken { case lex.LSH: op = 0 case lex.RSH: op = 1 case lex.ARR: op = 2 case lex.ROT: // following instructions on ARM64 support rotate right // AND, ANDS, TST, BIC, BICS, EON, EOR, ORR, MVN, ORN op = 3 } tok := p.next() str := tok.String() var count int16 switch tok.ScanToken { case scanner.Ident:Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 37.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
// Switch to new index suggester.switchIndex(); Thread.sleep(100); // 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());Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
// Re-throw SuggesterException with original message throw e; } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to create and switch to next index: baseIndex={}", index, e); } throw new SuggesterException("Failed to create and switch to next index: " + index, e); } } /**Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
tests/serializer_test.go
t.Fatalf("failed to migrate ProductWithAny, got error %v", err) } // Test creating record with nil any field product := ProductWithAny{Name: "Product 1"} if err := DB.Create(&product).Error; err != nil { t.Fatalf("failed to create product with nil any field, got error %v", err) } // Test updating/saving record with nil any field (should not panic) product.Name = "Product 1 (Updated)"
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0) -
docs/en/mkdocs.yml
palette: - media: (prefers-color-scheme) toggle: icon: material/lightbulb-auto name: Switch to light mode - media: '(prefers-color-scheme: light)' scheme: default primary: teal accent: amber toggle: icon: material/lightbulb name: Switch to dark mode - media: '(prefers-color-scheme: dark)' scheme: slate primary: teal accent: amber toggle:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:44:55 UTC 2025 - 9.2K bytes - Viewed (0) -
schema/relationship.go
relation.FieldSchema.Relationships.Mux.Unlock() } switch field.IndirectFieldType.Kind() { case reflect.Struct: relation.Type = HasOne case reflect.Slice: relation.Type = HasMany } } if schema.err == nil { schema.setRelation(relation) switch relation.Type { case HasOne: schema.Relationships.HasOne = append(schema.Relationships.HasOne, relation)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 16 04:11:05 UTC 2025 - 23.1K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
* @throws IORuntimeException if an I/O error occurs during serialization */ public byte[] fromObjectToBinary(final Object obj) { final String serializer = getSerializerType(); return switch (serializer) { case KRYO -> serializeWithKryo(obj); case JAVABIN -> SerializeUtil.fromObjectToBinary(obj); default -> throw new IllegalArgumentException("Unexpected value: " + serializer); };Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 07:09:17 UTC 2025 - 6.5K bytes - Viewed (3) -
src/cmd/asm/internal/lex/input.go
// need to keep track of nested #if[n]defs. // We let #line through because it might affect errors. switch in.Stack.Text() { case "else", "endif", "ifdef", "ifndef", "line": // Press on. default: return false } } switch in.Stack.Text() { case "define": in.define() case "else": in.else_() case "endif": in.endif() case "ifdef":
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 6.8K bytes - Viewed (1)