Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 152 for circuit (0.37 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/DefaultFailureFactory.java

            }
    
            @SuppressWarnings("Since15")
            private List<Failure> convertSuppressed(Throwable parent) {
                // Short-circuit if suppressed exceptions are not supported by the current JVM
                if (!JavaVersion.current().isJava7Compatible()) {
                    return ImmutableList.of();
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. pkg/security/apparmor/helpers.go

    		if c.SecurityContext != nil && c.SecurityContext.AppArmorProfile != nil &&
    			c.SecurityContext.AppArmorProfile.Type != v1.AppArmorProfileTypeUnconfined {
    			return false // is in use; short-circuit
    		}
    		return true
    	})
    	if inUse {
    		return true
    	}
    
    	for key, value := range pod.Annotations {
    		if strings.HasPrefix(key, v1.DeprecatedAppArmorBetaContainerAnnotationKeyPrefix) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:32 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. pkg/kube/krt/helpers.go

    	return n.Namespace
    }
    
    // GetApplyConfigKey returns the key for the ApplyConfig.
    // If there is none, this will return nil.
    func GetApplyConfigKey[O any](a O) *Key[O] {
    	// Reflection is expensive; short circuit here
    	if !strings.HasSuffix(ptr.TypeName[O](), "ApplyConfiguration") {
    		return nil
    	}
    	val := reflect.ValueOf(a)
    
    	if val.Kind() == reflect.Ptr {
    		val = val.Elem()
    	}
    	if val.Kind() != reflect.Struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/topology_hints.go

    		if aligned := m.deviceHasTopologyAlignment(resource); !aligned {
    			klog.InfoS("Resource does not have a topology preference", "resource", resource)
    			deviceHints[resource] = nil
    			continue
    		}
    
    		// Short circuit to regenerate the same hints if there are already
    		// devices allocated to the Container. This might happen after a
    		// kubelet restart, for example.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go

    	}
    	// if we specify a target, use generic conversion.
    	if into != nil {
    		// perform defaulting if requested
    		if c.defaulter != nil {
    			c.defaulter.Default(obj)
    		}
    
    		// Short-circuit conversion if the into object is same object
    		if into == obj {
    			return into, gvk, strictDecodingErr
    		}
    
    		if err := c.convertor.Convert(obj, into, c.decodeVersion); err != nil {
    			return nil, gvk, err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ComponentSelectionRulesProcessorTest.groovy

            // rules are called in order
            closureCalled == 0..7
        }
    
        // Short circuiting tests will need to be removed once the extra param feature is removed
        def "short-circuit prefers non-metadata rules over rules requiring metadata"() {
            def metadataProvider = Mock(MetadataProvider)
            def closuresCalled = []
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultInMemoryCacheDecoratorFactory.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.util.concurrent.atomic.AtomicReference;
    
    /**
     * A {@link CacheDecorator} that wraps each cache with an in-memory cache that is used to short-circuit reads from the backing cache.
     * The in-memory cache is invalidated when the backing cache is changed by another process.
     *
     * Also decorates each cache so that updates to the backing cache are made asynchronously.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:36 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_traffic_policy.go

    	}
    }
    
    // getDefaultCircuitBreakerThresholds returns a copy of the default circuit breaker thresholds for the given traffic direction.
    func getDefaultCircuitBreakerThresholds() *cluster.CircuitBreakers_Thresholds {
    	return &cluster.CircuitBreakers_Thresholds{
    		// DefaultMaxRetries specifies the default for the Envoy circuit breaker parameter max_retries. This
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typebits/typebits.go

    		}
    		bv.Set(int32(off / int64(types.PtrSize))) // pointer in first slot (BitsPointer)
    
    	case types.TARRAY:
    		elt := t.Elem()
    		if elt.Size() == 0 {
    			// Short-circuit for #20739.
    			break
    		}
    		for i := int64(0); i < t.NumElem(); i++ {
    			set(elt, off, bv, skip)
    			off += elt.Size()
    		}
    
    	case types.TSTRUCT:
    		for _, f := range t.Fields() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderFactory.java

                super(name, parent, classPath);
            }
    
            @Override
            protected byte[] transform(String className, byte[] bytes) {
                // First scan for annotation, and short circuit transformation if not present
                ClassReader classReader = new ClassReader(bytes);
    
                AnnotationDetector detector = new AnnotationDetector();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top