Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 4,007 for Sort (0.04 sec)

  1. istioctl/pkg/util/configdump/cluster.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"sort"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
    
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper.go

    			}
    			if plural.Resource == resource.Resource {
    				ret = append(ret, plural)
    			}
    		}
    	}
    
    	if len(ret) == 0 {
    		return nil, &NoResourceMatchError{PartialResource: resource}
    	}
    
    	sort.Sort(resourceByPreferredGroupVersion{ret, m.defaultGroupVersions})
    	return ret, nil
    }
    
    func (m *DefaultRESTMapper) ResourceFor(resource schema.GroupVersionResource) (schema.GroupVersionResource, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 01:55:47 UTC 2021
    - 16.1K bytes
    - Viewed (0)
  3. pkg/controller/podgc/gc_controller.go

    	if deleteCount == 0 {
    		return
    	}
    
    	logger.V(4).Info("Garbage collecting pods that are terminating on node tainted with node.kubernetes.io/out-of-service", "numPods", deleteCount)
    	// sort only when necessary
    	sort.Sort(byEvictionAndCreationTimestamp(terminatingPods))
    	var wait sync.WaitGroup
    	for i := 0; i < deleteCount; i++ {
    		wait.Add(1)
    		go func(pod *v1.Pod) {
    			defer wait.Done()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. internal/store/queuestore.go

    func (store *QueueStore[_]) List() ([]string, error) {
    	store.RLock()
    	l := make([]string, 0, len(store.entries))
    	for k := range store.entries {
    		l = append(l, k)
    	}
    
    	// Sort entries...
    	sort.Slice(l, func(i, j int) bool {
    		return store.entries[l[i]] < store.entries[l[j]]
    	})
    	store.RUnlock()
    
    	return l, nil
    }
    
    // list will read all entries from disk.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 25 16:44:20 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. pilot/test/xdstest/extract.go

    					resourceNames.Insert(s.GetName())
    				}
    			}
    		}
    	}
    	resourceNames.Delete("")
    	ls := resourceNames.UnsortedList()
    	sort.Sort(sort.Reverse(sort.StringSlice(ls)))
    	return ls
    }
    
    func ExtractListenerNames(ll []*listener.Listener) []string {
    	res := []string{}
    	for _, l := range ll {
    		res = append(res, l.Name)
    	}
    	return res
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. src/cmd/trace/goroutines.go

    		}
    
    		// Sort.
    		sortBy := r.FormValue("sortby")
    		if _, ok := validNonOverlappingStats[sortBy]; ok {
    			slices.SortFunc(goroutines, func(a, b goroutine) int {
    				return cmp.Compare(b.NonOverlappingStats[sortBy], a.NonOverlappingStats[sortBy])
    			})
    		} else {
    			// Sort by total time by default.
    			slices.SortFunc(goroutines, func(a, b goroutine) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestTestResults.groovy

            }
    
            List<String> getPassingTests() {
                suiteNode.testcase.findAll({ it.failure.size() == 0 })*.@name.sort()
            }
    
            List<String> getFailingTests() {
                suiteNode.testcase.findAll({ it.failure.size() != 0 })*.@name.sort()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

          // Deserialize HTTP response to concrete type.
          ResponseBody body = response.body();
          List<Contributor> contributors = CONTRIBUTORS_JSON_ADAPTER.fromJson(body.source());
    
          // Sort list by the most contributions.
          Collections.sort(contributors, (c1, c2) -> c2.contributions - c1.contributions);
    
          // Output list of contributors.
          for (Contributor contributor : contributors) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/index.go

    			matchedModes = append(matchedModes, indexedModes)
    		}
    	}
    
    	// sort by the number of modes in each array with the fewest number of
    	// modes coming first. this allows searching for volumes by the minimum
    	// number of modes required of the possible matches.
    	sort.Sort(byAccessModes{matchedModes})
    	return matchedModes
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  10. src/cmd/trace/regions.go

    					maxTotal = r.TotalTime
    				}
    			}
    		}
    
    		// Sort.
    		sortBy := r.FormValue("sortby")
    		if _, ok := validNonOverlappingStats[sortBy]; ok {
    			slices.SortFunc(regions, func(a, b region) int {
    				return cmp.Compare(b.NonOverlappingStats[sortBy], a.NonOverlappingStats[sortBy])
    			})
    		} else {
    			// Sort by total time by default.
    			slices.SortFunc(regions, func(a, b region) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top