Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 508 for enum_ (0.28 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiEnumEntrySymbol.kt

            get() = withValidityAssertion {
                val containingDescriptor = descriptor?.containingDeclaration
                if (containingDescriptor is ClassDescriptor && containingDescriptor.kind == ClassKind.ENUM_CLASS) {
                    return containingDescriptor.defaultType.toKtType(analysisContext)
                } else {
                    createErrorType()
                }
            }
    
        override val name: Name
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#isErrorResponseStatus()
         */
        @Override
        protected boolean isErrorResponseStatus () {
            return getStatus() != NtStatus.NT_STATUS_NOTIFY_ENUM_DIR && super.isErrorResponseStatus();
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CollectCollectors.java

      @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
      private static final class EnumSetAccumulator<E extends Enum<E>> {
        @SuppressWarnings({"rawtypes", "unchecked"})
        static final Collector<Enum<?>, ?, ImmutableSet<? extends Enum<?>>> TO_IMMUTABLE_ENUM_SET =
            (Collector) toImmutableEnumSetGeneric();
    
        @CheckForNull private EnumSet<E> set;
    
        void add(E e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CollectCollectors.java

            Collector.Characteristics.UNORDERED);
      }
    
      private static final class EnumSetAccumulator<E extends Enum<E>> {
        @SuppressWarnings({"rawtypes", "unchecked"})
        static final Collector<Enum<?>, ?, ImmutableSet<? extends Enum<?>>> TO_IMMUTABLE_ENUM_SET =
            (Collector) toImmutableEnumSetGeneric();
    
        @CheckForNull private EnumSet<E> set;
    
        void add(E e) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiNamedClassOrObjectSymbol.kt

                        else -> KtClassKind.OBJECT
                    }
                    is KtClass -> when {
                        psi.isInterface() -> KtClassKind.INTERFACE
                        psi.isEnum() -> KtClassKind.ENUM_CLASS
                        psi.isAnnotation() -> KtClassKind.ANNOTATION_CLASS
                        else -> KtClassKind.CLASS
                    }
                    else -> error("Unexpected class instance")
                }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtStatus.java

         */
    
        public static final int NT_STATUS_OK = 0x00000000;
        public static final int NT_STATUS_PENDING = 0x00000103;
        public static final int NT_STATUS_NOTIFY_ENUM_DIR = 0x0000010C;
        public static final int NT_STATUS_BUFFER_OVERFLOW = 0x80000005;
        public static final int NT_STATUS_UNSUCCESSFUL = 0xC0000001;
        public static final int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  7. tests/main.py

        return f"foo bar {query}"
    
    
    @app.get("/query/param-required/int")
    def get_query_param_required_type(query: int = Query()):
        return f"foo bar {query}"
    
    
    @app.get("/enum-status-code", status_code=http.HTTPStatus.CREATED)
    def get_enum_status_code():
        return "foo bar"
    
    
    @app.get("/query/frozenset")
    def get_query_type_frozenset(query: FrozenSet[int] = Query(...)):
        return ",".join(map(str, sorted(query)))
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. tests/test_application.py

                    }
                },
                "/query/frozenset": {
                    "get": {
                        "summary": "Get Query Type Frozenset",
                        "operationId": "get_query_type_frozenset_query_frozenset_get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    	<preamble>
    	__typeof__(t1) *__cgo__1;
    	__typeof__(v2) *__cgo__2;
    	__typeof__(v3) *__cgo__3;
    	__typeof__(i4) *__cgo__4;
    	enum { __cgo_enum__4 = i4 };
    	__typeof__(i5) *__cgo__5;
    	enum { __cgo_enum__5 = i5 };
    	__typeof__(u6) *__cgo__6;
    	enum { __cgo_enum__6 = u6 };
    	__typeof__(f7) *__cgo__7;
    	__typeof__(f8) *__cgo__8;
    	__typeof__(s9) *__cgo__9;
    	__typeof__(s10) *__cgo__10;
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params.md

    #### Compare *enumeration members*
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Get the *enumeration value*
    
    You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top