Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for Generator (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        private final OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> generator;
    
        public MapGenerator(
            OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) {
          this.generator = oneSizeTestContainerGenerator;
        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
          return generator.samples();
        }
    
        @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)
  2. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

      public static <K, V> ConcurrentNavigableMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        ConcurrentNavigableMapTestSuiteBuilder<K, V> result =
            new ConcurrentNavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. tests/test_dependency_contextmanager.py

        assert state["/async"] == "asyncgen completed"
    
    
    def test_sync_state():
        assert state["/sync"] == "generator not started"
        response = client.get("/sync")
        assert response.status_code == 200, response.text
        assert response.json() == "generator started"
        assert state["/sync"] == "generator completed"
    
    
    def test_async_raise_other():
        assert state["/async_raise"] == "asyncgen raise not started"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        this.generator = generator;
        this.collectionSize = collectionSize;
      }
    
      @Override
      public TestContainerGenerator<T, E> getInnerGenerator() {
        return generator;
      }
    
      @Override
      public SampleElements<E> samples() {
        return generator.samples();
      }
    
      @Override
      public T create(Object... elements) {
        return generator.create(elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        private final OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> generator;
    
        public MapGenerator(
            OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) {
          this.generator = oneSizeTestContainerGenerator;
        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
          return generator.samples();
        }
    
        @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)
  6. docs/en/docs/advanced/custom-response.md

    ```
    
    ### `StreamingResponse`
    
    Takes an async generator or a normal generator/iterator and streams the response body.
    
    ```Python hl_lines="2  14"
    {!../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Using `StreamingResponse` with file-like objects
    
    If you have a file-like object (e.g. the object returned by `open()`), you can create a generator function to iterate over that file-like object.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        this.generator = generator;
        this.collectionSize = collectionSize;
      }
    
      @Override
      public TestContainerGenerator<T, E> getInnerGenerator() {
        return generator;
      }
    
      @Override
      public SampleElements<E> samples() {
        return generator.samples();
      }
    
      @Override
      public T create(Object... elements) {
        return generator.create(elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/generate-clients.md

    ## OpenAPI Client Generators
    
    There are many tools to generate clients from **OpenAPI**.
    
    A common tool is <a href="https://openapi-generator.tech/" class="external-link" target="_blank">OpenAPI Generator</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/generate-clients.md

    ## OpenAPI-Client-Generatoren
    
    Es gibt viele Tools zum Generieren von Clients aus **OpenAPI**.
    
    Ein gängiges Tool ist <a href="https://openapi-generator.tech/" class="external-link" target="_blank">OpenAPI Generator</a>.
    
    Wenn Sie ein **Frontend** erstellen, ist <a href="https://github.com/hey-api/openapi-ts" class="external-link" target="_blank">openapi-ts</a> eine sehr interessante Alternative.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

      public static <K, V> NavigableMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        NavigableMapTestSuiteBuilder<K, V> result = new NavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top