- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 743 for switches (0.88 sec)
-
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) -
README.md
project's git repository now: - Lucene: <https://gitbox.apache.org/repos/asf/lucene.git> - Solr: <https://gitbox.apache.org/repos/asf/solr.git> If you're seeing this message then switch the development to 'main': git checkout main Development for branch 8x remains in the shared repository: - https://gitbox.apache.org/repos/asf/lucene-solr.git ## GitHub forks?
Registered: Sat Dec 20 08:54:13 UTC 2025 - Last Modified: Wed Mar 10 10:02:23 UTC 2021 - 1.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
} return null; }; } public static int toMavenExecutionRequestLoggingLevel(Slf4jConfiguration.Level level) { requireNonNull(level, "level"); return switch (level) { case DEBUG -> MavenExecutionRequest.LOGGING_LEVEL_DEBUG; case INFO -> MavenExecutionRequest.LOGGING_LEVEL_INFO; case ERROR -> MavenExecutionRequest.LOGGING_LEVEL_ERROR; };Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 13 18:30:29 UTC 2025 - 5K bytes - Viewed (0) -
cmd/tier_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 "Tiers": var zb0002 uint32 zb0002, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err, "Tiers") return } if z.Tiers == nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.9K bytes - Viewed (0) -
tests/serializer_test.go
Number int Location string IsIntern bool } type EncryptedString string func (es *EncryptedString) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) { switch value := dbValue.(type) { case []byte: *es = EncryptedString(bytes.TrimPrefix(value, []byte("hello"))) case string: *es = EncryptedString(strings.TrimPrefix(value, "hello")) default:
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0) -
internal/bucket/replication/replication.go
) // Valid returns true if replication type is set func (t Type) Valid() bool { return t > 0 } // IsDataReplication returns true if content being replicated func (t Type) IsDataReplication() bool { switch t { case ObjectReplicationType, HealReplicationType, ExistingObjectReplicationType: return true } return false } // ObjectOpts provides information to deduce whether replication
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 8.9K bytes - Viewed (0) -
cmd/net_test.go
expectedIPList set.StringSet expectedErr error }{ {"localhost", set.CreateStringSet("127.0.0.1"), nil}, } for _, testCase := range testCases { ipList, err := getHostIP(testCase.host) switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } case err == nil: t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr)Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.2K bytes - Viewed (0) -
cmd/veeam-sos-api.go
capacityXMLObject = ".system-d26a9498-cb7c-4a87-a44a-8ae204f5ba6c/capacity.xml" veeamAgentSubstr = "APN/1.0 Veeam/1.0" ) func isVeeamSOSAPIObject(object string) bool { switch object { case systemXMLObject, capacityXMLObject: return true default: return false } } // isVeeamClient - returns true if the request is from Veeam client.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 8.8K bytes - Viewed (0) -
internal/event/target/webhook.go
// <Key> <Token> like format, if this is // already present we can blindly use the // authToken as is instead of adding 'Bearer' tokens := strings.Fields(target.args.AuthToken) switch len(tokens) { case 2: req.Header.Set("Authorization", target.args.AuthToken) case 1: req.Header.Set("Authorization", "Bearer "+target.args.AuthToken) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.8K bytes - Viewed (0) -
cmd/batch-replicate.go
type BatchJobReplicateResourceType string // Validate validates if the replicate resource type is recognized and supported func (t BatchJobReplicateResourceType) Validate() error { switch t { case BatchJobReplicateResourceMinIO: case BatchJobReplicateResourceS3: default: return errInvalidArgument } return nil } func (t BatchJobReplicateResourceType) isMinio() bool {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.3K bytes - Viewed (0)