Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cache_key (0.03 sec)

  1. fastapi/dependencies/utils.py

            if solved_result.errors:
                errors.extend(solved_result.errors)
                continue
            if sub_dependant.use_cache and sub_dependant.cache_key in dependency_cache:
                solved = dependency_cache[sub_dependant.cache_key]
            elif (
                use_sub_dependant.is_gen_callable or use_sub_dependant.is_async_gen_callable
            ):
                use_astack = request_astack
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  2. fastapi/dependencies/models.py

            for scope in self.own_oauth_scopes or []:
                if scope not in scopes:
                    scopes.append(scope)
            return scopes
    
        @cached_property
        def cache_key(self) -> DependencyCacheKey:
            scopes_for_cache = (
                tuple(sorted(set(self.oauth_scopes or []))) if self._uses_scopes else ()
            )
            return (
                self.call,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

      }
    
      public void testGetAllPresent_cached() {
        Object cachedKey = new Object();
        Object cachedValue = new Object();
        Cache<Object, Object> cache =
            new AbstractCache<Object, Object>() {
              @Override
              public @Nullable Object getIfPresent(Object key) {
                return cachedKey.equals(key) ? cachedValue : null;
              }
            };
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

    import org.eclipse.aether.repository.WorkspaceRepository;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultProjectArtifactsCache implements ProjectArtifactsCache {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final String groupId;
    
            private final String artifactId;
    
            private final String version;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    recordArtifacts = pluginArtifactsCache.put(cacheKey, artifacts);
                } catch (PluginResolutionException e) {
                    pluginArtifactsCache.put(cacheKey, e);
                    pluginArtifactsCache.register(project, cacheKey, recordArtifacts);
                    throw new PluginManagerException(plugin, e.getMessage(), e);
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
Back to top