Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for enum_ (0.03 seconds)

  1. fastapi/routing.py

        Generator,
        Iterator,
        Mapping,
        Sequence,
    )
    from contextlib import (
        AbstractAsyncContextManager,
        AbstractContextManager,
        AsyncExitStack,
        asynccontextmanager,
    )
    from enum import Enum, IntEnum
    from typing import (
        Annotated,
        Any,
        TypeVar,
        cast,
    )
    
    import anyio
    from annotated_doc import Doc
    from anyio.abc import ObjectReceiveStream
    from fastapi import params
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  2. fastapi/applications.py

    from collections.abc import Awaitable, Callable, Coroutine, Sequence
    from enum import Enum
    from typing import Annotated, Any, TypeVar
    
    from annotated_doc import Doc
    from fastapi import routing
    from fastapi.datastructures import Default, DefaultPlaceholder
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
        websocket_request_validation_exception_handler,
    )
    from fastapi.exceptions import (
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * and values are the result of applying the provided mapping functions to the input elements. The
       * resulting implementation is specialized for enum key types. The returned map and its views will
       * iterate over keys in their enum definition order, not encounter order.
       *
       * <p>If the mapped keys contain duplicates, an {@code IllegalArgumentException} is thrown when
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

       * resulting implementation is specialized for enum key types. The returned map and its views will
       * iterate over keys in their enum definition order, not encounter order.
       *
       * <p>If the mapped keys contain duplicates, the values are merged using the specified merging
       * function.
       *
       * @since 21.0
       */
      public static <T extends @Nullable Object, K extends Enum<K>, V>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(
          requestAfter.exchangeIndex == 0 ||
            server.requestCount == 3 &&
            server.takeRequest().exchangeIndex == 0,
        ).isTrue()
      }
    
      internal enum class WriteKind {
        BYTE_BY_BYTE,
        SMALL_BUFFERS,
        LARGE_BUFFERS,
      }
    
      @Test
      fun chunkedUpload_byteByByte() {
        doUpload(TransferKind.CHUNKED, WriteKind.BYTE_BY_BYTE)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      boolean usesKeyReferences() {
        return keyStrength != Strength.STRONG;
      }
    
      boolean usesValueReferences() {
        return valueStrength != Strength.STRONG;
      }
    
      enum Strength {
        /*
         * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the
         * value. This could save ~8 bytes per entry.
         */
    
        STRONG {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        try {
          return state.closeables.whenClosedCountDown();
        } finally {
          reachabilityFence(this);
        }
      }
    
      /** The status of a {@link CloseableList}. */
      enum Status {
        /** The {@link CloseableList} has not been subsumed or closed. */
        OPEN,
    
        /**
         * The {@link CloseableList} has been subsumed into another. It may not be closed or subsumed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/LocalCache.java

      }
    
      boolean usesKeyReferences() {
        return keyStrength != Strength.STRONG;
      }
    
      boolean usesValueReferences() {
        return valueStrength != Strength.STRONG;
      }
    
      enum Strength {
        /*
         * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the
         * value. This could save ~8 bytes per entry.
         */
    
        STRONG {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val truncatedBody = Buffer()
        truncatedBody.write(fullBody, numBytesToKeep.toLong())
        builder.body(truncatedBody)
        builder.headers(headers)
        return builder
      }
    
      internal enum class TransferKind {
        CHUNKED {
          override fun setBody(
            response: MockResponse.Builder,
            content: Buffer,
            chunkSize: Int,
          ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

      |
      | o need to clean up all the descriptions, matching anything to the current project-descriptor.xml file and
      |   improving on that
      |
      | o use enums where appropriate (eg dependency scope)
      |
      | o a number of elements have a groupId/artifactId and sometimes version. It would be good to have them all extend one
      |   definition of these types
      |
    -->
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
Back to Top