Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for mhevery (0.11 sec)

  1. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

            throw e;
          }
        };
      }
    
      /** Returns a {@link CacheLoader} that returns the key for every request. */
      static <T> IdentityLoader<T> identityLoader() {
        return new IdentityLoader<T>();
      }
    
      /**
       * Returns a {@code new Object()} for every request, and increments a counter for every request.
       * The count is accessible via {@link #getCount}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

        )
    
        @BeforeEach
        fun setUp() {
            val stepsCapturer = slot<BuildSteps.() -> Unit>()
            every { buildType.steps } returns steps
            every { buildType.stage } returns buildModel.stages[2]
            every {
                buildType.steps(capture(stepsCapturer))
            } answers {
                stepsCapturer.captured(steps)
                mockk()
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/middleware.md

    # Middleware
    
    You can add middleware to **FastAPI** applications.
    
    A "middleware" is a function that works with every **request** before it is processed by any specific *path operation*. And also with every **response** before returning it.
    
    * It takes each **request** that comes to your application.
    * It can then do something to that **request** or run any needed code.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. .github/workflows/update-jdks.yml

    name: Update jdks.yaml
    
    on:
      workflow_dispatch: # Allows manual triggering of the action
      schedule: # Runs the action on the first day of every month at 3:42 UTC
        - cron: '42 3 1 * *'
    
    permissions:
      contents: write
      pull-requests: write
    
    jobs:
      update-jdks:
        permissions:
          contents: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - name: Checkout repository
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 03:45:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/wsgi.md

    Then wrap the WSGI (e.g. Flask) app with the middleware.
    
    And then mount that under a path.
    
    ```Python hl_lines="2-3  23"
    {!../../docs_src/wsgi/tutorial001.py!}
    ```
    
    ## Check it
    
    Now, every request under the path `/v1/` will be handled by the Flask application.
    
    And the rest will be handled by **FastAPI**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. ci/official/envs/ci_default

    # ==============================================================================
    # Note: this file gets sourced in utilities/setup.sh, which has "set -u"
    # (error on undefined variables). This ensures that (a) every TFCI variable
    # has an explicit default value, and (b) no script can accidentally use a
    # variable that doesn't exist. Please keep this list in alphabetical order.
    #
    # Find usage in scripts with e.g.:
    #   cd ci/official
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Sep 18 20:47:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      @SuppressWarnings("unchecked")
      protected B self() {
        return (B) this;
      }
    
      // Test Data
    
      private @Nullable G subjectGenerator;
      // Gets run before every test.
      private Runnable setUp;
      // Gets run at the conclusion of every test.
      private Runnable tearDown;
    
      @CanIgnoreReturnValue
      protected B usingGenerator(G subjectGenerator) {
        this.subjectGenerator = subjectGenerator;
        return self();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/SignedBytes.java

      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code byte} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      public static byte min(byte... array) {
        checkArgument(array.length > 0);
        byte min = array[0];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       *       exceptions).
       * </ul>
       *
       * <p>The overall principle is to continue to treat every checked exception as a checked
       * exception, every unchecked exception as an unchecked exception, and every error as an error. In
       * addition, the cause of any {@code ExecutionException} is wrapped in order to ensure that the
       * new stack trace matches that of the current thread.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        // launched by this test is either:
        //
        // (a) Blocked attempting to enter the monitor.
        // (b) Waiting for the single guard to become satisfied.
        // (c) Occupying the monitor and awaiting the tearDownLatch.
        //
        // Except for (c), every thread should occupy the monitor very briefly, and every thread leaves
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top