Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for orderedAbs (0.21 sec)

  1. pkg/kubelet/eviction/helpers_test.go

    	}
    	statsFn := func(pod *v1.Pod) (statsapi.PodStats, bool) {
    		result, found := stats[pod]
    		return result, found
    	}
    	pods := []*v1.Pod{below, exceeds}
    	orderedBy(exceedMemoryRequests(statsFn)).Sort(pods)
    
    	expected := []*v1.Pod{exceeds, below}
    	for i := range expected {
    		if pods[i] != expected[i] {
    			t.Errorf("Expected pod: %s, but got: %s", expected[i].Name, pods[i].Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the given comparator.
       *
       * <p><b>Note:</b> if mutability is not required, use {@code
       * ImmutableSortedMap.orderedBy(comparator).build()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeMap} constructor directly, taking advantage of <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the given comparator.
       *
       * <p><b>Note:</b> if mutability is not required, use {@code
       * ImmutableSortedMap.orderedBy(comparator).build()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeMap} constructor directly, taking advantage of <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
Back to top