Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,294 for enum2 (0.05 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            wildcardBoundUsesImplicitlyRecursiveBoundedWildcard(UseList<? extends List<Enum<?>>> arg) {
          return isSubtype(arg);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public UseList<? extends List<Enum<? extends Enum<?>>>>
            wildcardBoundHasImplicitBoundAtsInvariantPosition(UseList<? extends List<Enum<?>>> arg) {
          return isSubtype(arg);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

        /**
         * The primitive array type.
         * <br>
         * <b>IMPORTANT: the order in which the enums are defined here matters and should be considered part of the
         * cross-version protocol since the {@link Enum#ordinal()} is part of the
         * {@link #getPrimitiveTypeCode() serialized state}.</b>
         */
        private enum PrimitiveType {
            B(byte[].class) {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/path-params.md

    ## 定義済みの値
    
    *パスパラメータ*を受け取る *path operation* をもち、有効な*パスパラメータ*の値を事前に定義したい場合は、標準のPython <abbr title="Enumeration">`Enum`</abbr> を利用できます。
    
    ### `Enum` クラスの作成
    
    `Enum` をインポートし、 `str` と `Enum` を継承したサブクラスを作成します。
    
    `str` を継承することで、APIドキュメントは値が `文字列` でなければいけないことを知り、正確にレンダリングできるようになります。
    
    そして、固定値のクラス属性を作ります。すると、その値が使用可能な値となります:
    
    ```Python hl_lines="1 6 7 8 9"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedEnumValueSnapshot.java

    import javax.annotation.Nullable;
    
    /**
     * Isolates an Enum value and is a snapshot for that value.
     */
    public class IsolatedEnumValueSnapshot extends EnumValueSnapshot implements Isolatable<Enum<?>> {
        private final Enum<?> value;
    
        public IsolatedEnumValueSnapshot(Enum<?> value) {
            super(value);
            this.value = value;
        }
    
        public Enum<?> getValue() {
            return value;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:43 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

    file_identifier "TFL3";
    // File extension of any written files.
    file_extension "tflite";
    
    // IMPORTANT: All new members of tables, enums and unions must be added at the
    // end to ensure backwards compatibility.
    
    // The type of data stored in a tensor.
    enum TensorType : byte {
      FLOAT32 = 0,
      FLOAT16 = 1,
      INT32 = 2,
      UINT8 = 3,
      INT64 = 4,
      STRING = 5,
      BOOL = 6,
      INT16 = 7,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema.fbs

    file_identifier "TFL3";
    // File extension of any written files.
    file_extension "tflite";
    
    // IMPORTANT: All new members of tables, enums and unions must be added at the
    // end to ensure backwards compatibility.
    
    // The type of data stored in a tensor.
    enum TensorType : byte {
      FLOAT32 = 0,
      FLOAT16 = 1,
      INT32 = 2,
      UINT8 = 3,
      INT64 = 4,
      STRING = 5,
      BOOL = 6,
      INT16 = 7,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtVariableLikeSymbol.kt

    /**
     * An entry of an enum class.
     *
     * The type of the enum entry is the enum class itself. The members declared in an enum entry's body are local to the body and cannot be
     * accessed from the outside. Hence, while it might look like enum entries can declare their own members (see the example below), they do
     * not have a (declared) member scope.
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. cmd/setup-type.go

    package cmd
    
    // SetupType - enum for setup type.
    type SetupType int
    
    const (
    	// UnknownSetupType - starts with unknown setup type.
    	UnknownSetupType SetupType = iota
    
    	// FSSetupType - FS setup type enum.
    	FSSetupType
    
    	// ErasureSDSetupType - Erasure single drive setup enum.
    	ErasureSDSetupType
    
    	// ErasureSetupType - Erasure setup type enum.
    	ErasureSetupType
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. docs_src/path_operation_configuration/tutorial002b.py

    from enum import Enum
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    class Tags(Enum):
        items = "items"
        users = "users"
    
    
    @app.get("/items/", tags=[Tags.items])
    async def get_items():
        return ["Portal gun", "Plumbus"]
    
    
    @app.get("/users/", tags=[Tags.users])
    async def read_users():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 23 17:43:04 UTC 2022
    - 323 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EnumMultiset.java

        this.enumConstants = type.getEnumConstants();
        this.counts = new int[enumConstants.length];
      }
    
      private boolean isActuallyE(@CheckForNull Object o) {
        if (o instanceof Enum) {
          Enum<?> e = (Enum<?>) o;
          int index = e.ordinal();
          return index < enumConstants.length && enumConstants[index] == e;
        }
        return false;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top