Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for CacheKey (0.47 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client.go

    			// does require servers to abort on invalid binders, so we need to
    			// delete tickets to recover from a corrupted PSK.
    			if err != nil {
    				if cacheKey := c.clientSessionCacheKey(); cacheKey != "" {
    					c.config.ClientSessionCache.Put(cacheKey, nil)
    				}
    			}
    		}()
    	}
    
    	if ech != nil {
    		// Split hello into inner and outer
    		ech.innerHello = hello.clone()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java

                        try (FileOutputStream fileOutputStream = new FileOutputStream(file)) {
                            HashCode cacheKey = ((BuildCacheKeyInternal) key).getHashCodeInternal();
                            OriginWriter originWriter = originMetadataFactory.createWriter(entity.getIdentity(), entity.getType(), cacheKey, executionTime);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

    internal
    class ConfigurationCacheProblems(
    
        private
        val startParameter: ConfigurationCacheStartParameter,
    
        private
        val report: ConfigurationCacheReport,
    
        private
        val cacheKey: ConfigurationCacheKey,
    
        private
        val listenerManager: ListenerManager,
    
        private
        val problemsService: InternalProblems,
    
        private
        val failureFactory: FailureFactory
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top