Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for CacheKey (0.44 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepository.java

                delegate.getLocalAccess().resolveArtifactsWithType(component, artifactType, result);
                if (result.hasResult()) {
                    return;
                }
    
                resolveModuleArtifactsFromCache(cacheKey(artifactType), component, result);
            }
    
            private void resolveModuleArtifactsFromCache(String contextId, ComponentArtifactResolveMetadata component, BuildableArtifactSetResolveResult result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

    import org.gradle.util.Path
    import java.io.File
    import java.io.OutputStream
    
    
    class DefaultConfigurationCache internal constructor(
        private val startParameter: ConfigurationCacheStartParameter,
        private val cacheKey: ConfigurationCacheKey,
        private val problems: ConfigurationCacheProblems,
        private val scopeRegistryListener: ConfigurationCacheClassLoaderScopeRegistryListener,
        private val cacheRepository: ConfigurationCacheRepository,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                        ?.let { staticScope -> FirNameAwareCompositeScope(listOf(nonStaticScope, staticScope)) }
                        ?: nonStaticScope
                }
            }
    
            val cacheKey = when (kind) {
                DeclaredMemberScopeKind.NON_STATIC -> JAVA_ENHANCEMENT_FOR_DECLARED_MEMBERS
                DeclaredMemberScopeKind.STATIC -> JAVA_ENHANCEMENT_FOR_STATIC_DECLARED_MEMBERS
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. src/crypto/tls/quic.go

    	c := q.conn
    	if !c.isClient {
    		return quicError(errors.New("tls: StoreSessionTicket called on the server"))
    	}
    	cacheKey := c.clientSessionCacheKey()
    	if cacheKey == "" {
    		return nil
    	}
    	cs := &ClientSessionState{session: session}
    	c.config.ClientSessionCache.Put(cacheKey, cs)
    	return nil
    }
    
    // ConnectionState returns basic TLS details about the connection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/action.go

    	Cmd     []string      // `json:",omitempty"`
    	CmdReal time.Duration `json:",omitempty"`
    	CmdUser time.Duration `json:",omitempty"`
    	CmdSys  time.Duration `json:",omitempty"`
    }
    
    // cacheKey is the key for the action cache.
    type cacheKey struct {
    	mode string
    	p    *load.Package
    }
    
    func actionGraphJSON(a *Action) string {
    	var workq []*Action
    	var inWorkq = make(map[*Action]int)
    
    	add := func(a *Action) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    		h.state.Store(&envelopekmsv2.State{
    			Transformer:         transformer,
    			EncryptedObject:     *encObject,
    			UID:                 uid,
    			ExpirationTimestamp: expirationTimestamp,
    			CacheKey:            cacheKey,
    		})
    
    		// it should be logically impossible for the new state to be invalid but check just in case
    		_, errGen = h.getCurrentState()
    		if errGen == nil {
    			klogV6 := klog.V(6)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_tls13.go

    	if c.quic != nil && c.quic.enableStoreSessionEvent {
    		c.quicStoreSession(session)
    		return nil
    	}
    	cs := &ClientSessionState{session: session}
    	if cacheKey := c.clientSessionCacheKey(); cacheKey != "" {
    		c.config.ClientSessionCache.Put(cacheKey, cs)
    	}
    
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top