Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 113 for compareIDs (0.23 sec)

  1. staging/src/k8s.io/api/storage/v1alpha1/types_swagger_doc_generated.go

    but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/version/version.go

    // of AtLeast, for situations where asking "is v too old?" makes more sense than asking
    // "is v new enough?".)
    func (v *Version) LessThan(other *Version) bool {
    	return v.compareInternal(other) == -1
    }
    
    // Compare compares v against a version string (which will be parsed as either Semantic
    // or non-Semantic depending on v). On success it returns -1 if v is less than other, 1 if
    // it is greater than other, or 0 if they are equal.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/policy.go

    		return candidate
    	}
    
    	// If the current bestHint is preferred and the candidate hint is
    	// non-preferred, never update the bestHint, regardless of how
    	// the candidate hint's affinity mask compares to the current
    	// hint's affinity mask.
    	if current.Preferred && !candidate.Preferred {
    		return current
    	}
    
    	// If the current bestHint and the candidate hint are both preferred,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MapMaker.java

     * be quickly garbage-collected before they are ever accessed.
     *
     * <p>{@code new MapMaker().weakKeys().makeMap()} is a recommended replacement for {@link
     * java.util.WeakHashMap}, but note that it compares keys using object identity whereas {@code
     * WeakHashMap} uses {@link Object#equals}.
     *
     * @author Bob Lee
     * @author Charles Fry
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/insight/DependencyResultSorterSpec.groovy

            def sorted = DependencyResultSorter.sort([d3, d1, d5, d2, d4], versionSelectorScheme, versionComparator, versionParser)
    
            then:
            sorted == [d1, d2, d3, d4, d5]
        }
    
        def "semantically compares versions for ModuleComponentSelector"() {
            def core = DefaultModuleIdentifier.newId("org.gradle", "core")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 18.6K bytes
    - Viewed (0)
  6. operator/pkg/object/objects_test.go

    				}
    				for i, obj := range objects {
    					assert.Equal(t, true, compareYAMLContent(string(obj.yaml), expectedYAMLs[i]))
    				}
    			}
    		})
    	}
    }
    
    // compareYAMLContent compares two yaml resources and returns true if they are equal. If they have same content but different
    // order of fields, it will return true as well.
    func compareYAMLContent(yaml1, yaml2 string) bool {
    	var obj1, obj2 interface{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/storage/v1alpha1/types.go

    //
    // They are consumed by the kube-scheduler when a CSI driver opts into
    // capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler
    // compares the MaximumVolumeSize against the requested size of pending volumes
    // to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back
    // to a comparison against the less precise Capacity. If that is also unset,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:32 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  8. pilot/pkg/model/config.go

    		i := strings.Index(gwname, "/")
    		if gwname[:i] == "." {
    			out = meta.Namespace + "/" + gwname[i+1:]
    		}
    	}
    	return out
    }
    
    // MostSpecificHostMatch compares the maps of specific and wildcard hosts to the needle, and returns the longest element
    // matching the needle and it's value, or false if no element in the maps matches the needle.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    	}
    	action := mockClient.Actions()[0]
    	if !action.Matches("get", "namespaces") {
    		t.Errorf("Expected get namespaces, got: %v", action)
    	}
    }
    
    // matchError returns true if errors match, false if they don't, compares by error message only for convenience which should be sufficient for these tests
    func matchErrors(e1, e2 error) bool {
    	if e1 == nil && e2 == nil {
    		return true
    	}
    	if e1 != nil && e2 != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. src/go/types/check_test.go

    		return fmt.Errorf("flags comment line too long")
    	}
    
    	return flags.Parse(strings.Fields(string(src[:end])))
    }
    
    // testFiles type-checks the package consisting of the given files, and
    // compares the resulting errors with the ERROR annotations in the source.
    // Except for manual tests, each package is type-checked twice, once without
    // use of Alias types, and once with Alias types.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top