Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 3,672 for Sort (0.07 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/AddingConfigurationIntegrationTest.groovy

                    def files2 = configurations.conf2
                    doLast {
                        FileCollection sum = files1
                        sum += files2
                        assert sum.files.sort() == [ file1, file2 ]
                    }
                }
            """
    
            expect:
            succeeds "addConfigs"
        }
    
        def "can subtract configurations" () {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

            expect:
            paths(['a', 'b', 'A', 'abc']).sort() == paths(['A', 'a', 'abc', 'b'])
            paths([':a', ':b', ':b:a', ':B:a', ':', ':B', ':a:a']).sort() == paths([':', ':a', ':a:a', ':B', ':B:a', ':b', ':b:a'])
            paths(['b', 'b:a', 'a', 'a:a']).sort() == paths(['a', 'a:a', 'b', 'b:a'])
            paths([':', ':a', 'a']).sort() == paths(['a', ':', ':a'])
        }
    
        def "counts segments"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. 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)
  7. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    	// Remove from oldest to newest (last to first).
    	numToKeep := len(containers) - toRemove
    	if numToKeep > 0 {
    		sort.Sort(byCreated(containers))
    	}
    	for i := len(containers) - 1; i >= numToKeep; i-- {
    		if containers[i].unknown {
    			// Containers in known state could be running, we should try
    			// to stop it before removal.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. 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)
  9. pkg/volume/util/nested_volumes.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package util
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	v1 "k8s.io/api/core/v1"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    )
    
    // getNestedMountpoints returns a list of mountpoint directories that should be created
    // for the volume indicated by name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 12:19:17 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/capmanagers.go

    		if !fields.Applied() {
    			updaters = append(updaters, manager)
    		}
    	}
    	if len(updaters) <= f.maxUpdateManagers {
    		return managed, nil
    	}
    
    	// If we have more than the maximum, sort the update entries by time, oldest first.
    	sort.Slice(updaters, func(i, j int) bool {
    		iTime, jTime, iSeconds, jSeconds := managed.Times()[updaters[i]], managed.Times()[updaters[j]], int64(0), int64(0)
    		if iTime != nil {
    			iSeconds = iTime.Unix()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top