Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for Generator (0.1 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. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsThumbnailQueueCQ.java

            TermQueryBuilder builder = regTermQ("generator", generator);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setGenerator_NotEqual(String generator) {
            setGenerator_NotTerm(generator, null);
        }
    
        public void setGenerator_NotTerm(String generator) {
            setGenerator_NotTerm(generator, null);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 51.1K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                generator.saveImage(input, outputFile);
            }
            assertImageSize(outputFile, 100, 66);
    
            imagePath = "thumbnail/600x400.gif";
            try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                generator.saveImage(input, outputFile);
            }
            assertImageSize(outputFile, 100, 66);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/BsThumbnailQueue.java

            this.createdTime = value;
        }
    
        public String getGenerator() {
            checkSpecifiedProperty("generator");
            return convertEmptyToNull(generator);
        }
    
        public void setGenerator(String value) {
            registerModifiedProperty("generator");
            this.generator = value;
        }
    
        public String getPath() {
            checkSpecifiedProperty("path");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top