Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for CacheKey (0.12 sec)

  1. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java

            public Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity) {
                return getDelegate().load(cacheKey, cacheableEntity);
            }
    
            @Override
            public void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime) {
                getDelegate().store(cacheKey, entity, snapshots, executionTime);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/webhook/client.go

    // webhook configuration.
    func (cm *ClientManager) HookClient(cc ClientConfig) (*rest.RESTClient, error) {
    	ccWithNoName := cc
    	ccWithNoName.Name = ""
    	cacheKey, err := json.Marshal(ccWithNoName)
    	if err != nil {
    		return nil, err
    	}
    	if client, ok := cm.cache.Get(string(cacheKey)); ok {
    		return client.(*rest.RESTClient), nil
    	}
    
    	cfg, err := cm.hookClientConfig(cc)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 09:09:10 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. releasenotes/notes/wasm-cache-with-tag-stripped-url.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue: []
    releaseNotes:
      - |
        **Improved** Use tag-stripped URL + checksum as a Wasm module cachekey, and the tagged URL is separately cached. 
        This may increase the chance of cache hit (e.g., trying to find the same image with both of the tagged and digest URLs.)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 23 08:37:23 UTC 2024
    - 402 bytes
    - Viewed (0)
  4. cmd/jwt.go

    	errSkewedAuthTime     = errors.New("Skewed authentication date/time")
    	errMalformedAuth      = errors.New("Malformed authentication input")
    )
    
    type cacheKey struct {
    	accessKey, secretKey, audience string
    }
    
    var cacheLRU = expirable.NewLRU[cacheKey, string](1000, nil, 15*time.Second)
    
    func authenticateNode(accessKey, secretKey, audience string) (string, error) {
    	claims := xjwt.NewStandardClaims()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/net/http/export_test.go

    }
    
    func (t *Transport) IdleConnCountForTesting(scheme, addr string) int {
    	t.idleMu.Lock()
    	defer t.idleMu.Unlock()
    	key := connectMethodKey{"", scheme, addr, false}
    	cacheKey := key.String()
    	for k, conns := range t.idleConn {
    		if k.String() == cacheKey {
    			return len(conns)
    		}
    	}
    	return 0
    }
    
    func (t *Transport) IdleConnWaitMapSizeForTesting() int {
    	t.idleMu.Lock()
    	defer t.idleMu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

            buildFile << defineCacheableTask()
            when:
            withBuildCache().run("cacheable")
            then:
            def cacheKey = cacheOperations.getCacheKeyForTask(":cacheable")
            def cacheFile = listCacheFiles().find { it.name == cacheKey }
            cacheFile.exists()
            def cacheEntry = new TarTestFixture(cacheFile)
            cacheEntry.assertContainsFile("tree-outputDir/output")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingStateFactory.java

        /**
         * Creates a CachingState for beforeExecutionState, that can be either Enabled or Disabled.
         */
        CachingState createCachingState(BeforeExecutionState beforeExecutionState, HashCode cacheKey, ImmutableList<CachingDisabledReason> cachingDisabledReasons);
    
        HashCode calculateCacheKey(BeforeExecutionState beforeExecutionState);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 17:44:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionStateSerializer.java

        }
    
        @Override
        public PreviousExecutionState read(Decoder decoder) throws Exception {
            OriginMetadata originMetadata = originMetadataSerializer.read(decoder);
    
            HashCode cacheKey = hashCodeSerializer.read(decoder);
    
            ImplementationSnapshot taskImplementation = implementationSnapshotSerializer.read(decoder);
    
            // We can't use an immutable list here because some hashes can be null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 08:25:58 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java

         * @param record The cache record being used for the project, must not be {@code null}.
         */
        void register(MavenProject project, Key cacheKey, CacheRecord record);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheBuildOperations.kt

                    context.setResult(opResult)
                    returnValue
                }
        })
    
    
    internal
    fun BuildOperationRunner.withStoreOperation(@Suppress("UNUSED_PARAMETER") cacheKey: String, block: () -> StoreResult) =
        run(object : RunnableBuildOperation {
            override fun description(): BuildOperationDescriptor.Builder = BuildOperationDescriptor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:09:37 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top