Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 283 for Sort (0.04 sec)

  1. cmd/erasure-server-pool.go

    			poolObjInfos[i] = pinfo
    		}(i, pool, poolOpts[i])
    	}
    	wg.Wait()
    
    	// Sort the objInfos such that we always serve latest
    	// this is a defensive change to handle any duplicate
    	// content that may have been created, we always serve
    	// the latest object.
    	sort.Slice(poolObjInfos, func(i, j int) bool {
    		mtime1 := poolObjInfos[i].ObjInfo.ModTime
    		mtime2 := poolObjInfos[j].ObjInfo.ModTime
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set_test.go

    		for _, r := range actualRSs {
    			actualRSNames = append(actualRSNames, r.Name)
    		}
    		for _, r := range c.expectedRSs {
    			expectedRSNames = append(expectedRSNames, r.Name)
    		}
    		sort.Strings(actualRSNames)
    		sort.Strings(expectedRSNames)
    		if !reflect.DeepEqual(actualRSNames, expectedRSNames) {
    			t.Errorf("Got [%s]; expected [%s]", strings.Join(actualRSNames, ", "), strings.Join(expectedRSNames, ", "))
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                keys[i] = key;
                values[i] = value;
              }
            } else {
              // Need to sort and check for nulls and dupes.
              // Inline the Comparator implementation rather than transforming with a Function
              // to save code size.
              Arrays.sort(
                  entryArray,
                  0,
                  size,
                  (e1, e2) -> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. src/regexp/syntax/parse.go

    	return t, nil
    }
    
    // cleanClass sorts the ranges (pairs of elements of r),
    // merges them, and eliminates duplicates.
    func cleanClass(rp *[]rune) []rune {
    
    	// Sort by lo increasing, hi decreasing to break ties.
    	sort.Sort(ranges{rp})
    
    	r := *rp
    	if len(r) < 2 {
    		return r
    	}
    
    	// Merge abutting, overlapping.
    	w := 2 // write index
    	for i := 2; i < len(r); i += 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceregistry_test.go

    		makeIstioObject(t, store, workloadEntry)
    
    		instances := []EndpointResponse{
    			{Address: pod.Status.PodIP, Port: 80},
    			{Address: pod.Status.PodIP, Port: 80},
    			{Address: workloadEntry.Spec.(*networking.WorkloadEntry).Address, Port: 80},
    			{Address: workloadEntry.Spec.(*networking.WorkloadEntry).Address, Port: 80},
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller.go

    	var podsToRemoveFinalizer []*v1.Pod
    	uncountedStatus := jobCtx.job.Status.UncountedTerminatedPods
    	var newSucceededIndexes []int
    	if isIndexed {
    		// Sort to introduce completed Indexes in order.
    		sort.Sort(byCompletionIndex(jobCtx.pods))
    	}
    	uidsWithFinalizer := make(sets.Set[string], len(jobCtx.pods))
    	for _, p := range jobCtx.pods {
    		uid := string(p.UID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		}
    	}
    	return fmt.Sprintf("%v", varNames)
    }
    
    func checkReasons(t *testing.T, actual, expected ConflictReasons) {
    	equal := len(actual) == len(expected)
    	sort.Sort(actual)
    	sort.Sort(expected)
    	if equal {
    		for i, reason := range actual {
    			if reason != expected[i] {
    				equal = false
    				break
    			}
    		}
    	}
    	if !equal {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

                    doLast {
                        def files = files1*.name.sort()
                        assert files == ['a-1.0.jar', 'b-1.0.jar', 'leaf-6.jar']
                        files = files2*.name.sort()
                        assert files == ['a-1.0.jar', 'c-1.0.jar', 'leaf-5.jar']
                        files = files3*.name.sort()
                        assert files == ['b-1.0.jar', 'c-1.0.jar', 'leaf-5.jar']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  9. src/cmd/internal/testdir/testdir_test.go

    	"flag"
    	"fmt"
    	"go/build"
    	"go/build/constraint"
    	"hash/fnv"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"log"
    	"os"
    	"os/exec"
    	"path"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"slices"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    	"unicode"
    )
    
    var (
    	allCodegen     = flag.Bool("all_codegen", defaultAllCodeGen(), "run all goos/goarch for codegen")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    		state.varSlots[varID] = parts
    		for _, slotID := range parts {
    			state.slotVars[slotID] = VarID(varID)
    		}
    		*state.partsByVarOffset.(*partsByVarOffset) = partsByVarOffset{parts, state.slots}
    		sort.Sort(state.partsByVarOffset)
    	}
    
    	state.initializeCache(f, len(state.varParts), len(state.slots))
    
    	for i, slot := range f.Names {
    		if ir.IsSynthetic(slot.N) {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top