Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,291 for enum1 (0.04 sec)

  1. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/classes.kt

    class A {
        class B {
            class C {
    
            }
        }
    }
    
    interface D {
        inner class E {
            enum class F {
    
            }
        }
    }
    
    enum class G {
        H, I
    }
    
    
    fun foo() {
        class D {
    
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 201 bytes
    - Viewed (0)
  2. manifests/charts/gateway/values.schema.json

                "ipFamilies": {
                  "items": {
                    "type": "string",
                    "enum": [
                      "IPv4",
                      "IPv6"
                    ]
                  }
                },
                "ipFamilyPolicy": {
                  "type": "string",
                  "enum": [
                    "",
                    "SingleStack",
                    "PreferDualStack",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 18 16:33:33 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. 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
    - 9.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/openapi/enablement.go

    				// remove the enum section from description.
    				// note that the new lines before the header should be removed too,
    				// thus the slice range.
    				clone()
    				schema.Description = strings.TrimSpace(schema.Description[:headerIndex])
    			}
    			if len(schema.Enum) != 0 {
    				// remove the enum field
    				clone()
    				schema.Enum = nil
    			}
    			return schema
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 17:24:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * An SPI interface to extend Maven with a new enum value.
     *
     * @param <T> The type of extensible enum to extend
     */
    @Experimental
    @Consumer
    public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService {
    
        /**
         * Registers new values for the T extensible enum.
         *
         * @return a collection of T instances to register
         */
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/localDeclarations.kt

        fun xFunction() = 11
        typealias xTypealias = 10
        class XClass<XT> {}
        enum class XEnum {
            X_ENUM_ENTRY;
    
            fun xEnumMember(){}
        }
    
        class Y <YT> {
            val yProperty = 10
            fun yFunction() = 11
            typealias yTypealias = 10
            class YClass<YTT> {}
            enum class YEnum {
                Y_ENUM_ENTRY;
    
                fun yEnumMember(){}
    
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 509 bytes
    - Viewed (0)
  7. fastapi/types.py

    import types
    from enum import Enum
    from typing import Any, Callable, Dict, Set, Type, TypeVar, Union
    
    from pydantic import BaseModel
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 12 00:29:03 UTC 2023
    - 383 bytes
    - Viewed (0)
  8. android/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
    - 3.7K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

    }
    
    public typealias KtKClassAnnotationValue = KaKClassAnnotationValue
    
    /**
     * Some enum entry (enum constant) used as annotation argument. E.g: `@A(Color.RED)`
     */
    public class KaEnumEntryAnnotationValue @KaAnalysisApiInternals constructor(
        /**
         * Fully qualified name of used enum entry.
         */
        callableId: CallableId?,
        sourcePsi: KtElement?,
        token: KaLifetimeToken
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. docs_src/path_params/tutorial005.py

    from enum import Enum
    
    from fastapi import FastAPI
    
    
    class ModelName(str, Enum):
        alexnet = "alexnet"
        resnet = "resnet"
        lenet = "lenet"
    
    
    app = FastAPI()
    
    
    @app.get("/models/{model_name}")
    async def get_model(model_name: ModelName):
        if model_name is ModelName.alexnet:
            return {"model_name": model_name, "message": "Deep Learning FTW!"}
    
        if model_name.value == "lenet":
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Aug 26 13:26:03 UTC 2022
    - 546 bytes
    - Viewed (0)
Back to top