- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,291 for enum1 (0.04 sec)
-
guava/src/com/google/common/collect/ImmutableEnumSet.java
*/ @GwtCompatible(serializable = true, emulated = true) @SuppressWarnings("serial") // we're overriding default serialization @ElementTypesAreNonnullByDefault final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> { static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) { switch (set.size()) { case 0: return ImmutableSet.of(); case 1:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4.5K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy
package org.gradle.test import org.gradle.test.sub2.GroovyInterface class GroovyClassWithInnerTypes implements GroovyInterface { /** * This is an inner enum. */ enum InnerEnum {} /** * This is an inner class. */ static class InnerClass { InnerEnum enumProp /** * This is an inner inner class. */ class AnotherInner {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 609 bytes - Viewed (0) -
analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/annotationWithEnumFromDuplicatedLibrary.kt
// MODULE: lib1 // FILE: anno.kt package kotlin.annotation public enum class AnnotationTarget { CLASS; } // MODULE: dep(lib1) // FILE: annotation.kt package my.pack import kotlin.annotation.AnnotationTarget @Target(AnnotationTarget.CLASS) annotation class Deprecated // MODULE: lib2 // FILE: anno.kt package kotlin.annotation public enum class AnnotationTarget { CLASS; }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Mar 18 21:14:36 UTC 2024 - 521 bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/types/BytecodeInterceptorFilter.java
import java.util.EnumSet; /** * Request for interceptors. Currently, we support filter just for interception types, but in the feature we could also filter per version etc. * * Implemented as a enum, so it's easier to generate bytecode. */ public enum BytecodeInterceptorFilter { INSTRUMENTATION_ONLY(EnumSet.of(BytecodeInterceptorType.INSTRUMENTATION)),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 1.7K bytes - Viewed (0) -
subprojects/diagnostics/src/integTest/resources/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest/listsEnumAndBooleanCmdOptionValues/build.gradle
void doSomething() { } @Option(option = "enumValue", description = "Configures an enum value in CustomTask.") public void setEnumValue(TestEnum value) { } @Option(option = "booleanValue", description = "Configures a boolean flag in CustomTask.") public void setBooleanValue(boolean value) { } } enum TestEnum { ABC, DEF, GHIJKL
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 06 10:43:03 UTC 2023 - 517 bytes - Viewed (0) -
analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/functions.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 26 19:19:00 UTC 2022 - 475 bytes - Viewed (0) -
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) -
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)