Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for hit (0.06 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiStreamingBuildActionIntegrationTest.groovy

        def setup() {
            file("settings.gradle") << 'rootProject.name="hello-world"'
        }
    
        def "models are streamed on build action cache hit"() {
            def listener1 = new TestStreamedValueListener()
            def listener2 = new TestStreamedValueListener()
    
            when:
            withIsolatedProjects()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    		params: append([]string{"-I", chain, fmt.Sprint(position)}, rules...),
    	})
    	idx := indexOf("-j", params)
    	// We have identified the type of command this is and logging is enabled. Insert a rule to log this chain was hit.
    	// Since this is insert we do this *after* the real chain, which will result in it bumping it forward
    	if rb.cfg.TraceLogging && idx >= 0 && command != log.UndefinedCommand {
    		match := params[:idx]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

            // Load the entity from the cache
            BuildCacheLoadResult loadResult = buildCacheController.load(cacheKey, targetEntity)
                .orElseThrow(() -> new RuntimeException("Should have been a hit"));
    
            // Show what we did
            printLoadedResult(loadResult);
        }
    
        private static void printLoadedResult(BuildCacheLoadResult loadResult) {
            LOGGER.info("Loaded from cache:");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster.go

    	services []*model.Service,
    ) ([]*discovery.Resource, cacheStats) {
    	resources := make([]*discovery.Resource, 0)
    	efKeys := cp.efw.KeysApplyingTo(networking.EnvoyFilter_CLUSTER)
    	hit, miss := 0, 0
    	for _, service := range services {
    		if service.Resolution == model.Alias {
    			continue
    		}
    		for _, port := range service.Ports {
    			if port.Protocol == protocol.UDP {
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  5. src/sync/map.go

    // Otherwise, it stores and returns the given value.
    // The loaded result is true if the value was loaded, false if stored.
    func (m *Map) LoadOrStore(key, value any) (actual any, loaded bool) {
    	// Avoid locking if it's a clean hit.
    	read := m.loadReadOnly()
    	if e, ok := read.m[key]; ok {
    		actual, loaded, ok := e.tryLoadOrStore(value)
    		if ok {
    			return actual, loaded
    		}
    	}
    
    	m.mu.Lock()
    	read = m.loadReadOnly()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder.go

    // the cache tokens are returned to allow future writes to the cache.
    // This code will only trigger a cache hit if all subset clusters are present. This simplifies the code a bit,
    // as the non-subset and subset cluster generation are tightly coupled, in exchange for a likely trivial cache hit rate impact.
    func (cb *ClusterBuilder) getAllCachedSubsetClusters(clusterKey clusterCache) ([]*discovery.Resource, bool) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/echotest/filters_test.go

    						"external.echo1.svc.cluster.local_naked.echo1.svc.cluster.local_vm.echo1.svc.cluster.local": 2,
    					},
    					"vm.echo1.svc.cluster.local": {
    						// VM cannot hit external services (https://github.com/istio/istio/issues/27154)
    						"b.echo1.svc.cluster.local_naked.echo1.svc.cluster.local_vm.echo1.svc.cluster.local": 2,
    					},
    				},
    			},
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOperationsIntegrationTest.groovy

            when:
            configurationCacheRun 'help'
    
            then:
            outputContains('In script plugin')
            buildLogicBuiltAndWorkGraphStoredAndLoaded()
    
            // TODO - should get a cache hit for this build (https://github.com/gradle/gradle/issues/23267)
            when:
            configurationCacheRun 'help'
    
            then:
            buildLogicBuiltAndWorkGraphStoredAndLoaded()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            when:
            configurationCacheRun()
    
            then:
            // TODO(mlopatkin) This behavior is correct but suboptimal, as we're never going to have a cache hit.
            //  We may want to warn the user about it.
            configurationCache.assertStateStored()
            outputContains("configuration value = someValue")
            outputContains("execution value = someValue")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    			// install slot in lookup table
    			idx, _ := sc.lookup(sl)
    			// add to f.NamedValues if not already present
    			addToNV(v, sc.canonSlot(idx))
    		} else if v.Op.IsCall() {
    			// if we hit a call, we've gone too far.
    			break
    		}
    	}
    
    	// Now make a pass through the ABI in-params, looking for params
    	// or pieces of params that we didn't encounter in the loop above.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top