Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,661 for first (0.02 seconds)

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

    A middleware doesn't have to be made for FastAPI or Starlette to work, as long as it follows the ASGI spec.
    
    In general, ASGI middlewares are classes that expect to receive an ASGI app as the first argument.
    
    So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. tests/test_response_dependency.py

    
    def test_response_dependency_chain():
        """Response dependency should work in a chain of dependencies."""
        app = FastAPI()
    
        def first_modifier(response: Response) -> Response:
            response.headers["X-First"] = "1"
            return response
    
        def second_modifier(
            response: Annotated[Response, Depends(first_modifier)],
        ) -> Response:
            response.headers["X-Second"] = "2"
            return response
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. .github/workflows/stale-issues.yml

              close-issue-reason: completed
              # List of labels to remove when issues/PRs unstale. 
              labels-to-remove-when-unstale: "stat:contribution welcome,stat:good first issue"
              any-of-labels: "stat:contribution welcome,stat:good first issue"
              stale-issue-message: > 
                This issue is stale because it has been open for 180 days with no activity.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

            request.setPrefixMatchWeight(prefixMatchWeight);
            return this;
        }
    
        /**
         * Sets whether to match the first word.
         * @param matchWordFirst True to match the first word, false otherwise.
         * @return This builder instance.
         */
        public SuggestRequestBuilder setMatchWordFirst(final boolean matchWordFirst) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            String input = "first\nsecond\nthird";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null);
            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            assertEquals("first\nsecond\nthird\n", output);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // Mock close success for the first call
            doAnswer(invocation -> {
                MsrpcSamrCloseHandle rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrCloseHandle.class));
    
            // First close call
            aliasHandle.close();
    
            // Act: Call close again
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. dbflute_fess/dfprop/sourceCopyright.dfprop

    # /---------------------------------------------------------------------------
    # sourceCopyright: (NotRequired - Default '')
    #
    # The copyright for all class sources.
    # This property is NOT map style.
    # You should specify before your first generating.
    #
    #/*
    # * Copyright(c) DBFlute TestCo.,TestLtd. All Rights Reserved.
    # */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 344 bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * Returns an immutable multimap containing the specified entries. The returned multimap iterates
       * over keys in the order they were first encountered in the input, and the values for each key
       * are iterated in the order they were encountered. If two values for the same key are {@linkplain
       * Object#equals equal}, the first value encountered is used.
       *
       * @throws NullPointerException if any key, value, or entry is null
       * @since 19.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/Chars.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Character#compare} method instead.
       *
       * @param a the first {@code char} to compare
       * @param b the second {@code char} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         * This class is designed to be used statically.
         */
        protected ResourceUtil() {
            // nothing
        }
    
        /**
         * Gets the HTTP URL for the OpenSearch (Fesen) server.
         * First checks for a system-configured search engine address,
         * then falls back to the URL configured in FessConfig.
         *
         * @return the HTTP URL for the OpenSearch server
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top