Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 259 for dedupes (3.79 sec)

  1. pkg/scheduler/apis/config/types_pluginargs.go

    	// `.defaultConstraints[*].labelSelectors` must be empty, as they are
    	// deduced from the Pod's membership to Services, ReplicationControllers,
    	// ReplicaSets or StatefulSets.
    	// When not empty, .defaultingType must be "List".
    	DefaultConstraints []v1.TopologySpreadConstraint
    
    	// DefaultingType determines how .defaultConstraints are deduced. Can be one
    	// of "System" or "List".
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 23:15:53 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. src/internal/bisect/bisect.go

    	base := stk[0]
    	// normalize PCs
    	for i := range stk[:n] {
    		stk[i] -= base
    	}
    
    	h := Hash(stk[:n])
    	if m.ShouldPrint(h) {
    		var d *dedup
    		for {
    			d = m.dedup.Load()
    			if d != nil {
    				break
    			}
    			d = new(dedup)
    			if m.dedup.CompareAndSwap(nil, d) {
    				break
    			}
    		}
    
    		if m.MarkerOnly() {
    			if !d.seenLossy(h) {
    				PrintMarker(w, h)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway.go

    		eh, f := known[hash]
    		if f && vhostMergeable(vh, dedupe[eh]) {
    			// Merge domains, routes are identical. We check the hash *and* routesEqual so that we don't depend on not having
    			// collisions.
    			// routesEqual is fairly cheap, but not cheap enough to do n^2 checks, so both are needed
    			dedupe[eh].Domains = append(dedupe[eh].Domains, vh.Domains...)
    		} else {
    			known[hash] = h
    			dedupe[h] = vh
    		}
    	}
    	return dedupe
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/clone_constants_for_better_clustering.h

    namespace tensorflow {
    // Clones small host constants in the graph to make it easier to form larger
    // clusters.
    //
    // This helps us in two ways:
    //
    //  - It reduces dependencies between clusters.  Let's say a constant C is used
    //    by nodes X and Y.  If X and Y are put in different clusters (for whatever
    //    reason) Y's cluster now has to wait for all the operations in X's cluster
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 23:57:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. pkg/test/framework/components/cluster/clusters.go

    func (c Clusters) Contains(cc Cluster) bool {
    	return c.GetByName(cc.Name()) != nil
    }
    
    // Names returns the deduped list of names of the clusters.
    func (c Clusters) Names() []string {
    	dedup := sets.String{}
    	for _, cc := range c {
    		dedup.Insert(cc.Name())
    	}
    	return dedup.UnsortedList()
    }
    
    type ClustersByNetwork map[string]Clusters
    
    func (c ClustersByNetwork) Networks() []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/math/atan.go

    		Q3 = +4.853903996359136964868e+02
    		Q4 = +1.945506571482613964425e+02
    	)
    	z := x * x
    	z = z * ((((P0*z+P1)*z+P2)*z+P3)*z + P4) / (((((z+Q0)*z+Q1)*z+Q2)*z+Q3)*z + Q4)
    	z = x*z + x
    	return z
    }
    
    // satan reduces its argument (known to be positive)
    // to the range [0, 0.66] and calls xatan.
    func satan(x float64) float64 {
    	const (
    		Morebits = 6.123233995736765886130e-17 // pi/2 = PIO2 + Morebits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/naming/from_stack.go

    	for _, ignoredPackage := range ignoredPackages {
    		if strings.Contains(file, ignoredPackage) {
    			return true
    		}
    	}
    	return false
    }
    
    // trimPackagePrefix reduces duplicate values off the front of a package name.
    func trimPackagePrefix(file string) string {
    	if l := strings.LastIndex(file, "/vendor/"); l >= 0 {
    		return file[l+len("/vendor/"):]
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 01:31:42 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_redirect.go

    }
    
    func splitPorts(portsString string) []string {
    	return strings.Split(portsString, ",")
    }
    
    func dedupPorts(ports []string) []string {
    	dedup := make(map[string]bool)
    	keys := []string{}
    
    	for _, port := range ports {
    		if !dedup[port] {
    			dedup[port] = true
    			keys = append(keys, port)
    		}
    	}
    	return keys
    }
    
    func parsePort(portStr string) (uint16, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt

         *     such as `Int = UnresolvedClass`.
         *  2. It forces the user to handle error types explicitly, which reduces the risk of false positives.
         *  3. It is consistent with most of the behavior of the Kotlin compiler.
         */
        STRICT,
    
        /**
         * Error types are equal to and subtypes of all types.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/helper/spread.go

    	rcKind = v1.SchemeGroupVersion.WithKind("ReplicationController")
    	rsKind = appsv1.SchemeGroupVersion.WithKind("ReplicaSet")
    	ssKind = appsv1.SchemeGroupVersion.WithKind("StatefulSet")
    )
    
    // DefaultSelector returns a selector deduced from the Services, Replication
    // Controllers, Replica Sets, and Stateful Sets matching the given pod.
    func DefaultSelector(
    	pod *v1.Pod,
    	sl corelisters.ServiceLister,
    	cl corelisters.ReplicationControllerLister,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 20:04:48 UTC 2021
    - 3.4K bytes
    - Viewed (0)
Back to top