Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 547 for Enum (0.03 sec)

  1. docs/de/docs/tutorial/path-operation-configuration.md

    Wenn Sie eine große Anwendung haben, können sich am Ende **viele Tags** anhäufen, und Sie möchten sicherstellen, dass Sie für verwandte *Pfadoperationen* immer den **gleichen Tag** nehmen.
    
    In diesem Fall macht es Sinn, die Tags in einem `Enum` zu speichern.
    
    **FastAPI** unterstützt diese genauso wie einfache Strings:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapEntrySetTester<K, V> extends AbstractMapTester<K, V> {
      private enum IncomparableType {
        INSTANCE;
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySetIteratorRemove() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            return new String(byteSource.read(), cs);
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapEntrySetTester<K, V> extends AbstractMapTester<K, V> {
      private enum IncomparableType {
        INSTANCE;
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySetIteratorRemove() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java

                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

                    ", descriptor='" + descriptor + '\'' +
                    ", binaryCompatibility='" + binaryCompatibility + '\'' +
                    '}';
            }
        }
    
        public enum BinaryCompatibility {
            ACCESSORS_REMOVED,
            ACCESSORS_KEPT
        }
    
        public static class AccessorKey {
            private final String containingType;
            private final String methodName;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 13 19:17:41 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

      ) {
        val builder = "http://host/".toHttpUrl().newBuilder()
        component[builder] = codePointString
        val url = builder.build()
        assertThat(url.host).startsWith(Punycode.PREFIX_STRING)
      }
    
      enum class Encoding {
        IDENTITY {
          override fun encode(codePoint: Int): String {
            return String(codePoint)
          }
        },
        PERCENT {
          override fun encode(codePoint: Int): String {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. tests/test_application.py

                },
                "/enum-status-code": {
                    "get": {
                        "responses": {
                            "201": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                        },
                        "summary": "Get Enum Status Code",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        testers.add(BiMapPutTester.class);
        testers.add(BiMapInverseTester.class);
        testers.add(BiMapRemoveTester.class);
        testers.add(BiMapClearTester.class);
        return testers;
      }
    
      enum NoRecurse implements Feature<Void> {
        INVERSE;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top