Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for Generator (0.08 sec)

  1. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      public void testStringArray() {
        FreshValueGenerator generator = new FreshValueGenerator();
        String[] a1 = generator.generateFresh(String[].class);
        String[] a2 = generator.generateFresh(String[].class);
        assertFalse(a1[0].equals(a2[0]));
      }
    
      public void testPrimitiveArray() {
        FreshValueGenerator generator = new FreshValueGenerator();
        int[] a1 = generator.generateFresh(int[].class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  2. 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)
  3. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        FreshValueGenerator generator = new FreshValueGenerator();
        generator.addSampleInstances(String.class, ImmutableList.of("a"));
        assertEquals("a", generator.generateFresh(String.class));
        assertEquals("a", generator.generateFresh(String.class));
      }
    
      public void testAddSampleInstances_noInstance() {
        FreshValueGenerator generator = new FreshValueGenerator();
        generator.addSampleInstances(String.class, ImmutableList.<String>of());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsThumbnailQueueCA.java

        public void setGenerator_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda) {
            setGenerator_Terms("generator", opLambda, null);
        }
    
        public void setGenerator_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
            setGenerator_Terms("generator", opLambda, aggsLambda);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ThumbnailQueueDbm.java

                false, false, "Long", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnGenerator = cci("generator", "generator", null, null, String.class, "generator", null, false, false,
                false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        }
    
        public void add(final ThumbnailGenerator generator) {
            if (generator.isAvailable()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{} is available.", generator.getName());
                }
                generatorList.add(generator);
            } else if (logger.isDebugEnabled()) {
                logger.debug("{} is not available.", generator.getName());
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

          WrappedHashMapGenerator generator, String name, Feature<?>... features) {
        List<Feature<?>> featuresList = Lists.newArrayList(features);
        Collections.addAll(
            featuresList,
            MapFeature.GENERAL_PURPOSE,
            CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
            CollectionSize.ANY);
        return MapTestSuiteBuilder.using(generator)
            .named(name)
            .withFeatures(featuresList)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top