Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for memoize (0.17 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

                if (configuration == null) {
                    configuration = new XmlNodeImpl("configuration");
                }
                Function<String, String> cb = Interpolator.memoize(callback);
                Function<String, String> it = s -> interpolator.interpolate(s, cb);
                configuration = new ExtensionInterpolator(it).transform(configuration);
    
                binder.bind(XmlNode.class)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

            return chain(List.of(functions));
        }
    
        /**
         * Memoizes a given function that takes a String input and produces a String output.
         * This method creates a new function that caches the results of the original function,
         * improving performance for repeated calls with the same input.
         *
         * @param callback The original function to be memoized. It takes a String as input and returns a String.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-status-code.md

    ///
    
    ## Shortcut to remember the names
    
    Let's see the previous example again:
    
    {* ../../docs_src/response_status_code/tutorial001.py hl[6] *}
    
    `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`.
    
    {* ../../docs_src/response_status_code/tutorial002.py hl[1,6] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:13:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. 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>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. 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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top