- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 618 for switches (0.05 sec)
-
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
boolean hasAppendProcessStats = false; boolean hasAppendJvmStats = false; boolean hasAppendFesenStats = false; for (Method method : methods) { switch (method.getName()) { case "appendOsStats": hasAppendOsStats = true; assertEquals("appendOsStats should take StringBuilder parameter", 1, method.getParameterCount());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
*/ @SuppressWarnings("fallthrough") // TODO(kevinb): remove after this warning is disabled globally public static int log2(long x, RoundingMode mode) { checkPositive("x", x); switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through case DOWN: case FLOOR: return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
cmd/warm-backend-azure.go
} return len(resp.Segment.BlobItems) > 0, nil } type azureConf struct { madmin.TierAzure } func (conf azureConf) Validate() error { switch { case conf.AccountName == "": return errors.New("the account name is required") case conf.AccountKey != "" && (conf.SPAuth.TenantID != "" || conf.SPAuth.ClientID != "" || conf.SPAuth.ClientSecret != ""):
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 7K bytes - Viewed (0) -
cmd/xl-storage-free-version.go
tierObjKey := ReservedMetadataPrefixLower + TransitionedObjectName tierObjVIDKey := ReservedMetadataPrefixLower + TransitionedVersionID for k, v := range j.MetaSys { switch k { case tierKey, tierObjKey, tierObjVIDKey: freeEntry.DeleteMarker.MetaSys[k] = v } } return freeEntry, true } return xlMetaV2Version{}, false }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 3.4K 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 Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
@JsMethod(name = "of") static <E> ImmutableSet<E> jsOf(E... elements) { return copyOf(elements); } @JsMethod public static <E> ImmutableSet<E> copyOf(E[] elements) { checkNotNull(elements); switch (elements.length) { case 0: return of(); case 1: return of(elements[0]); default: return create(elements); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
ci/official/installer_wheel.sh
# before the pattern "-py3-" in the wheel name. pkg_name=$(echo "${pure_python_whl}" | awk -F'-py3-' '{print $1}') # Save the current working directory and then switch to the output directory. pushd "${TFCI_OUTPUT_DIR}" # Unpack the wheel to get all the file contents. The pure python wheel we built # above is tagged with "py3-none-any". We cannot change the tags by simply
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Mar 04 22:39:12 UTC 2025 - 3.5K bytes - Viewed (0) -
src/archive/tar/reader.go
if err != nil { return nil, err } if err := tr.handleRegularFile(hdr); err != nil { return nil, err } format.mayOnlyBe(hdr.Format) // Check for PAX/GNU special headers and files. switch hdr.Typeflag { case TypeXHeader, TypeXGlobalHeader: format.mayOnlyBe(FormatPAX) paxHdrs, err = parsePAX(tr) if err != nil { return nil, err } if hdr.Typeflag == TypeXGlobalHeader {Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K 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 Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 23.1K bytes - Viewed (1) -
dockerscripts/docker-entrypoint.sh
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Nov 03 21:18:18 UTC 2023 - 675 bytes - Viewed (0)