Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 748 for simples (0.04 seconds)

  1. docs/en/docs/advanced/middleware.md

    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    
    For that, you use `app.add_middleware()` (as in the example for CORS).
    
    ```Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

        return result;
      }
    
      public abstract static class TestShortListGenerator implements TestListGenerator<Short> {
        @Override
        public SampleElements<Short> samples() {
          return new SampleShorts();
        }
    
        @Override
        public List<Short> create(Object... elements) {
          Short[] array = new Short[elements.length];
          short i = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        return result;
      }
    
      public abstract static class TestLongListGenerator implements TestListGenerator<Long> {
        @Override
        public SampleElements<Long> samples() {
          return new SampleLongs();
        }
    
        @Override
        public List<Long> create(Object... elements) {
          Long[] array = new Long[elements.length];
          int i = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileFilterTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class SmbFileFilterTest {
    
        @Mock
        private SmbFile smbFile;
    
        // Provides file names and whether a simple name-based filter should accept them
        private static Stream<Arguments> nameCases() {
            return Stream.of(Arguments.of("readme.txt", true), Arguments.of("notes.log", false), Arguments.of("", false),
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

    public class SitemapFile implements Sitemap {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Identifies the location of the Sitemap. This location can be a Sitemap,
         * an Atom file, RSS file or a simple text file.
         */
        private String loc;
    
        /**
         * Identifies the time that the corresponding Sitemap file was modified. It
         * does not correspond to the time that any of the pages listed in that
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.4K bytes
    - Click Count (1)
  6. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

    import org.apache.maven.model.Plugin;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Simple test to verify that Plugin objects returned by MavenProject.getPlugin() are connected to the project model.
     * This test specifically verifies the fix for the <a href="https://github.com/apache/maven/pull/2530">issue</a> where
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 04 12:50:13 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for SmbFilenameFilter interface behaviors via simple implementations.
     * Each test creates a concrete filter to validate expected contract semantics
     * including normal operation, null handling, edge cases, and exception flow.
     */
    @ExtendWith(MockitoExtension.class)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/cors.md

    В этом случае middleware перехватит входящий запрос и отправит соответствующие CORS-заголовки в ответе, а также ответ `200` или `400` в информационных целях.
    
    ### Простые запросы { #simple-requests }
    
    Любые запросы с заголовком `Origin`. В этом случае middleware передаст запрос дальше как обычно, но добавит соответствующие CORS-заголовки к ответу.
    
    ## Больше информации { #more-info }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. ci/official/utilities/repack_libtensorflow.sh

    # calls javac with options that create generated files under a
    # bazel-out directory. Next, it archives the generated source files
    # into a srcjar directly under the root. There doesn't appear to be a
    # simple way to parameterize this from bazel, hence this helper to
    # "normalize" the srcjar layout.
    #
    # Arguments:
    #   src_jar - path to the original srcjar
    #   dest_jar - path to the destination
    # Returns:
    #   None
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Jan 17 16:25:18 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionAggregation.java

    import org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top