Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for cache_key (0.06 seconds)

  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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 37.6K bytes
    - Click Count (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,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

        public Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) {
            return keys.computeIfAbsent(new CacheKey(plugin, repositories, session), k -> k);
        }
    
        @Override
        public PluginDescriptor get(Key cacheKey) {
            return clone(descriptors.get(cacheKey));
        }
    
        @Override
        public PluginDescriptor get(Key key, PluginDescriptorSupplier supplier)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

    import org.eclipse.aether.repository.WorkspaceRepository;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultPluginArtifactsCache implements PluginArtifactsCache {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
            private final Plugin plugin;
    
            private final WorkspaceRepository workspace;
    
            private final LocalRepository localRepo;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

     * Default PluginCache implementation. Assumes cached data does not change.
     */
    @Named
    @Singleton
    public class DefaultPluginRealmCache implements PluginRealmCache, Disposable {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final Plugin plugin;
    
            private final WorkspaceRepository workspace;
    
            private final LocalRepository localRepo;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. 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;
              }
            };
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        }
    
        protected CacheKey newCacheKey(
                Artifact artifact,
                boolean resolveManagedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories) {
            return new CacheKey(artifact, resolveManagedVersions, localRepository, remoteRepositories);
        }
    
        protected void put(CacheKey cacheKey, ResolutionGroup result) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

    @Named
    @Singleton
    public class DefaultProjectRealmCache implements ProjectRealmCache, Disposable {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final List<? extends ClassRealm> extensionRealms;
    
            private final int hashCode;
    
            public CacheKey(List<? extends ClassRealm> extensionRealms) {
                this.extensionRealms =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final List<File> files;
    
            private final List<Long> timestamps;
    
            private final List<Long> sizes;
    
            private final List<String> ids;
    
            private final int hashCode;
    
            public CacheKey(List<Artifact> extensionArtifacts) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. 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;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top