Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for qsort (0.06 sec)

  1. pkg/controller/statefulset/stateful_set_control_test.go

    		spc.setPodRunning(set, 5)
    		originalPods, _ := spc.setPodReady(set, 4)
    		sort.Sort(ascendingOrdinal(originalPods))
    		if _, err := ssc.UpdateStatefulSet(context.TODO(), set, originalPods); err != nil {
    			t.Fatal(err)
    		}
    		pods, err := spc.podsLister.Pods(set.Namespace).List(selector)
    		if err != nil {
    			t.Fatal(err)
    		}
    		sort.Sort(ascendingOrdinal(pods))
    		// pods 0, 1,2, 4,5 should be present(note 3 is missing)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  2. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "desc"
            }
          },
          "pluginVersion": "10.4.0",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 11:11:51 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. samples/addons/grafana.yaml

    alue":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":8,"w":12,"x":0,"y":8},"id":4,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"multi","sort":"none"}},"pluginVersion":"10.1.5","targets":[{"datasource":{"type":"prometheus","uid":"${datasource}"},"expr":"(sum(irate(container_cpu_usage_seconds_total{pod=~\"istio-ingressgateway-.*\",container=\"istio-proxy\"}[1m])) / (round(sum(irate(istio...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/helpers_test.go

    					},
    					MinReclaim: &evictionapi.ThresholdValue{
    						Quantity: quantityMustParse("1Gi"),
    					},
    				},
    			},
    		},
    	}
    	for testName, testCase := range testCases {
    		sort.Sort(byEvictionPriority(testCase.thresholds))
    		_, _, ok := getReclaimableThreshold(testCase.thresholds)
    		if !ok {
    			t.Errorf("Didn't find reclaimable threshold, test: %v", testName)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_test.go

    	kubelet.workQueue.Enqueue(pods[4].UID, 2*time.Minute)
    
    	clock.Step(1 * time.Minute)
    
    	expected := []*v1.Pod{pods[2], pods[3], pods[0]}
    	podsToSync := kubelet.getPodsToSync()
    	sort.Sort(podsByUID(expected))
    	sort.Sort(podsByUID(podsToSync))
    	assert.Equal(t, expected, podsToSync)
    }
    
    func TestGenerateAPIPodStatusWithSortedContainers(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    	containerStatusesCopy := make([]*kubecontainer.Status, len(podStatus.ContainerStatuses))
    	copy(containerStatusesCopy, podStatus.ContainerStatuses)
    
    	// Make the latest container status comes first.
    	sort.Sort(sort.Reverse(kubecontainer.SortContainerStatusesByCreationTime(containerStatusesCopy)))
    	// Set container statuses according to the statuses seen in pod status
    	containerSeen := map[string]int{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    				}
    			}
    		}
    
    		if len(list) == 0 {
    			return nil, nil, fmt.Errorf("no matching files found")
    		}
    		sort.Strings(list)
    		pmap[pattern] = list
    	}
    
    	for file := range have {
    		files = append(files, file)
    	}
    	sort.Strings(files)
    	return files, pmap, nil
    }
    
    func validEmbedPattern(pattern string) bool {
    	return pattern != "." && fs.ValidPath(pattern)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @param map the sorted map whose mappings are to be placed in the new map and whose comparator
       *     is to be used to sort the new map
       * @return a new {@code TreeMap} initialized with the mappings from {@code map} and using the
       *     comparator of {@code map}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @param map the sorted map whose mappings are to be placed in the new map and whose comparator
       *     is to be used to sort the new map
       * @return a new {@code TreeMap} initialized with the mappings from {@code map} and using the
       *     comparator of {@code map}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      for (auto& kv : object_names_) {
        // Make object names map independent of our particular choice of object
        // graph traversal.
        std::sort(kv.second.begin(), kv.second.end(),
                  [](absl::string_view a, absl::string_view b) {
                    // The sort order here influences the "pretty name" we assign
                    // below. We want the most debuggable name to be first.
                    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top