- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,294 for enum2 (0.04 sec)
-
android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.hash; /** * An enum that contains all of the known hash functions. * * @author Kurt Alfred Kluever */ enum HashFunctionEnum { ADLER32(Hashing.adler32()), CRC32(Hashing.crc32()), GOOD_FAST_HASH_32(Hashing.goodFastHash(32)), GOOD_FAST_HASH_64(Hashing.goodFastHash(64)),
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.h
namespace mlir::quant::stablehlo::testing { // Identifies predefined `QuantizationSpecs` for // `TestLiftQuantizableSpotsAsFunctionsWithQuantizationSpecsPass`. The pass // option argument is specified in line comments for each enum value. enum class TestQuantizationSpecs { kEmpty, // empty kDisableAllDotGeneral, // disable-all-dot-general kStaticRangePtqToAll, // static-range-ptq-to-all
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:21:42 UTC 2024 - 1.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy
failure.assertHasCause("Cannot convert string value 'unsupportedValue' to an enum value of type 'SampleTask\$TestEnum' (valid case insensitive values: OPT_1, OPT_2, OPT_3)") } def "decent error for invalid enum list value"() { given: buildFile << """ task someTask(type: SampleTask)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:35 UTC 2024 - 7.7K bytes - Viewed (0) -
src/time/format_rfc3339.go
// See https://go.dev/issue/4556 and https://go.dev/issue/54580. num2 := func(b []byte) byte { return 10*(b[0]-'0') + (b[1] - '0') } switch { case b[n0+len("9999")] != '-': // year must be exactly 4 digits wide return b, errors.New("year outside of range [0,9999]") case b[len(b)-1] != 'Z': c := b[len(b)-len("Z07:00")] if ('0' <= c && c <= '9') || num2(b[len(b)-len("07:00"):]) >= 24 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 18 19:59:26 UTC 2023 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go
} } if (prop.ValueValidation == nil || len(prop.ValueValidation.Enum) == 0) && len(f.EnumValues()) != 0 { t.Errorf("field had more enum values than the property. field: %s", f.Name) } if prop.ValueValidation != nil { fevs := f.EnumValues() for _, fev := range fevs { found := false for _, pev := range prop.ValueValidation.Enum { celpev := types.DefaultTypeAdapter.NativeToValue(pev.Object)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go
} } if (len(prop.Enum) == 0) && len(f.EnumValues()) != 0 { t.Errorf("field had more enum values than the property. field: %s", f.Name) } fevs := f.EnumValues() for _, fev := range fevs { found := false for _, pev := range prop.Enum { celpev := types.DefaultTypeAdapter.NativeToValue(pev) if reflect.DeepEqual(fev, celpev) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 17:18:27 UTC 2022 - 13K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} // A static mapping from an Enum type to its set of LockGraphNodes. private static final ConcurrentMap< Class<? extends Enum<?>>, Map<? extends Enum<?>, LockGraphNode>> lockGraphNodesPerType = new MapMaker().weakKeys().makeMap(); /** Creates a {@code CycleDetectingLockFactory.WithExplicitOrdering<E>}. */ public static <E extends Enum<E>> WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithInnerTypes.java
package org.gradle.test; import org.gradle.test.sub2.Sub2Interface; public class JavaClassWithInnerTypes implements Sub2Interface { /** * This is an inner enum. */ enum InnerEnum { } /** * This is an inner class. */ static class InnerClass { InnerEnum getEnumProp() { return null; } /** * This is an inner inner class. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 876 bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/containingDeclarationProvider/FirIdeDependentAnalysisSourceModuleContainingDeclarationProviderByPsiTestGenerated.java
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Feb 27 20:30:06 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumMap.java
@GwtCompatible(serializable = true, emulated = true) @SuppressWarnings("serial") // we're overriding default serialization @ElementTypesAreNonnullByDefault final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> { static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) { switch (map.size()) { case 0: return ImmutableMap.of(); case 1:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 4.1K bytes - Viewed (0)