Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,294 for enum2 (1.64 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirEnumEntryInitializerSymbol.kt

        init {
            check(firSymbol.source?.kind == KtFakeSourceElementKind.EnumInitializer) {
                "Expected the `firSymbol` of ${KaFirEnumEntryInitializerSymbol::class.simpleName} to have an enum initializer fake source kind."
            }
        }
    
        /**
         * [KaFirEnumEntryInitializerSymbol] is the required return type instead of [KaEnumEntryInitializerSymbol] to fulfill return type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/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)
  3. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskConfigurerSpec.groovy

        }
    
        def "configures boolean option"() {
            when:
            configurer.configureTasks([task], ['--someFlag'])
            then:
            task.someFlag
        }
    
        def "configures enum option"() {
            when:
            configurer.configureTasks([task], ['--someEnum', "value1"])
            then:
            task.anEnum == TestEnum.value1
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 09 09:06:36 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/conversion_test.go

    		name string
    		in   string
    		out  string
    	}{
    		{
    			name: "nulls",
    			in:   `{"default":null,"enum":null,"example":null}`,
    			out:  `{}`,
    		},
    		{
    			name: "null values",
    			in:   `{"default":{"test":null},"enum":[null],"example":{"test":null}}`,
    			out:  `{"default":{"test":null},"enum":[null],"example":{"test":null}}`,
    		},
    	}
    
    	scheme := runtime.NewScheme()
    	// add internal and external types
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 13 21:12:46 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCompoundAccess.kt

            public val kind: Kind by validityAsserted(kind)
            public val precedence: Precedence by validityAsserted(precedence)
    
            public enum class Kind {
                INC, DEC
            }
    
            public enum class Precedence {
                PREFIX, POSTFIX
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/groovy/build.gradle

    // end::property-type-file[]
    
    // tag::property-type-long[]
      void setId(Long id)
      Long getId()
    // end::property-type-long[]
    
    // tag::property-type-enum[]
      void setMaritalStatus(MaritalStatus status)
      MaritalStatus getMaritalStatus()
    // end::property-type-enum[]
    
    // tag::property-type-collection-scalar[]
       void setUserGroups(List<String> groups)
       List<String> getUserGroups()
    // end::property-type-collection-scalar[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. docs/tr/docs/tutorial/path-params.md

    ### Bir `Enum` Sınıfı Oluşturalım
    
    `Enum` sınıfını projemize dahil edip `str` ile `Enum` sınıflarını miras alan bir alt sınıf yaratalım.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/internal/coerce/StringToEnumTransformer.java

            if (value instanceof CharSequence && type.isEnum()) {
                @SuppressWarnings("unchecked") Class<? extends Enum<?>> enumType = (Class<? extends Enum<?>>) type;
                return toEnumValue(Cast.uncheckedNonnullCast(enumType), value);
            }
    
            return value;
        }
    
        static public <T extends Enum<T>> T toEnumValue(Class<T> enumType, Object value) {
            return GUtil.toEnum(enumType, value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/c/tf_datatype.h

    extern "C" {
    #endif
    
    // --------------------------------------------------------------------------
    // TF_DataType holds the type for a scalar value.  E.g., one slot in a tensor.
    // The enum values here are identical to corresponding values in types.proto.
    typedef enum TF_DataType {
      TF_FLOAT = 1,
      TF_DOUBLE = 2,
      TF_INT32 = 3,  // Int32 tensors are always in 'host' memory.
      TF_UINT8 = 4,
      TF_INT16 = 5,
      TF_INT8 = 6,
      TF_STRING = 7,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/api/mockwebserver.api

    	public static final field STALL_SOCKET_AT_START Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field UPGRADE_TO_SSL_AT_END Lokhttp3/mockwebserver/SocketPolicy;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/mockwebserver/SocketPolicy;
    	public static fun values ()[Lokhttp3/mockwebserver/SocketPolicy;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top