Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for memoize (0.25 sec)

  1. guava-tests/test/com/google/common/base/SuppliersTest.java

        Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
        checkMemoize(countingSupplier, memoizedSupplier);
      }
    
      public void testMemoize_redudantly() {
        memoize_redudantlyTest(new CountingSupplier());
        memoize_redudantlyTest(new SerializableCountingSupplier());
      }
    
      private void memoize_redudantlyTest(CountingSupplier countingSupplier) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
        checkMemoize(countingSupplier, memoizedSupplier);
      }
    
      public void testMemoize_redudantly() {
        memoize_redudantlyTest(new CountingSupplier());
        memoize_redudantlyTest(new SerializableCountingSupplier());
      }
    
      private void memoize_redudantlyTest(CountingSupplier countingSupplier) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Suppliers.java

       * delegating calls until it returns valid data.
       *
       * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is
       * returned directly.
       */
      public static <T extends @Nullable Object> Supplier<T> memoize(Supplier<T> delegate) {
        if (delegate instanceof NonSerializableMemoizingSupplier
            || delegate instanceof MemoizingSupplier) {
          return delegate;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Suppliers.java

       * delegating calls until it returns valid data.
       *
       * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is
       * returned directly.
       */
      public static <T extends @Nullable Object> Supplier<T> memoize(Supplier<T> delegate) {
        if (delegate instanceof NonSerializableMemoizingSupplier
            || delegate instanceof MemoizingSupplier) {
          return delegate;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. .idea/dictionaries/Nikolay_Krasko.xml

          <w>coroutines</w>
          <w>crossinline</w>
          <w>fqname</w>
          <w>goto</w>
          <w>gradle</w>
          <w>infos</w>
          <w>intrinsics</w>
          <w>kdoc</w>
          <w>lateinit</w>
          <w>memoize</w>
          <w>memoized</w>
          <w>multiline</w>
          <w>navigatable</w>
          <w>preload</w>
          <w>preloader</w>
          <w>preloading</w>
          <w>preprocess</w>
          <w>proximities</w>
          <w>redeclarations</w>
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue May 23 16:52:40 GMT 2023
    - 756 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

            break;
          case TERMINATED:
          case FAILED:
            throw new AssertionError();
        }
      }
    
      private void enqueueFailedEvent(final State from, final Throwable cause) {
        // can't memoize this one due to the exception
        listeners.enqueue(
            new ListenerCallQueue.Event<Listener>() {
              @Override
              public void call(Listener listener) {
                listener.failed(from, cause);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-status-code.md

    Let's see the previous example again:
    
    ```Python hl_lines="6"
    {!../../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    `201` is the status code for "Created".
    
    But you don't have to memorize what each of these codes mean.
    
    You can use the convenience variables from `fastapi.status`.
    
    ```Python hl_lines="1  6"
    {!../../../docs_src/response_status_code/tutorial002.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 4K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * memorized and kept as long as supplier instance is kept open.
     * <p>
     * This class is not thread safe and must be used from one thread only, while the constructed {@link RepositorySystem}
     * is thread safe.
     * <p>
     * Important: Given the instance of supplier memorizes the supplier {@link RepositorySystem} instance it supplies,
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 42.7K bytes
    - Viewed (0)
  9. docs/fr/docs/deployment/manually.md

    * la sécurité - HTTPS
    * l'exécution au démarrage
    * les redémarrages
    * la réplication (le nombre de processus en cours d'exécution)
    * la mémoire
    * les étapes précédant le démarrage
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 04 12:02:09 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/background-tasks.md

    ## Avertissement
    
    Si vous avez besoin de réaliser des traitements lourds en tâche d'arrière-plan et que vous n'avez pas besoin que ces traitements aient lieu dans le même process (par exemple, pas besoin de partager la mémoire, les variables, etc.), il peut s'avérer profitable d'utiliser des outils plus importants tels que <a href="https://docs.celeryq.dev" class="external-link" target="_blank">Celery</a>.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 5.7K bytes
    - Viewed (0)
Back to top