Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 337 for Sort (0.04 sec)

  1. src/cmd/distpack/pack.go

    		name := "bin/" + b + exe
    		src := filepath.Join(goroot, crossBin, b+exe)
    		info, err := os.Stat(src)
    		if err != nil {
    			log.Fatal(err)
    		}
    		binArch.Add(name, src, info)
    	}
    	binArch.Sort()
    	binArch.SetTime(versionTime) // fix added files
    	binArch.SetMode(mode)        // fix added files
    
    	zipArch := binArch.Clone()
    	zipArch.AddPrefix("go")
    	testZip(zipArch)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    		w.waitingUntilFresh.Add()
    		err = w.waitUntilFreshAndBlock(ctx, resourceVersion)
    		w.waitingUntilFresh.Remove()
    	} else {
    		err = w.waitUntilFreshAndBlock(ctx, resourceVersion)
    	}
    
    	defer func() { sort.Sort(sortableStoreElements(result)) }()
    	defer w.RUnlock()
    	if err != nil {
    		return result, rv, index, err
    	}
    
    	result, rv, index, err = func() ([]interface{}, uint64, string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. src/go/doc/reader.go

    	r.funcs = make(methodSet)
    	r.notes = make(map[string][]*Note)
    	r.importByName = make(map[string]string)
    
    	// sort package files before reading them so that the
    	// result does not depend on map iteration order
    	i := 0
    	for filename := range pkg.Files {
    		r.filenames[i] = filename
    		i++
    	}
    	slices.Sort(r.filenames)
    
    	// process files in sorted order
    	for _, filename := range r.filenames {
    		f := pkg.Files[filename]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. src/internal/trace/gc.go

    // no guarantees on which set of disjoint windows this returns.
    func (c *MMUCurve) Examples(window time.Duration, n int) (worst []UtilWindow) {
    	acc := accumulator{mmu: 1.0, bound: 1.0, nWorst: n}
    	c.mmu(window, &acc)
    	sort.Sort(sort.Reverse(acc.wHeap))
    	return ([]UtilWindow)(acc.wHeap)
    }
    
    // MUD returns mutator utilization distribution quantiles for the
    // given window size.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"mime"
    	"net/http"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/crypto"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/background-newdisks-heal-ops.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:32 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. src/runtime/runtime_test.go

    				ok := fn()
    				if !ok {
    					b.Fatal("goroutine profile failed")
    				}
    				latencies = append(latencies, time.Since(start))
    			}
    			b.StopTimer()
    
    			// Sort latencies then report percentiles.
    			slices.Sort(latencies)
    			b.ReportMetric(float64(latencies[len(latencies)*50/100]), "p50-ns")
    			b.ReportMetric(float64(latencies[len(latencies)*90/100]), "p90-ns")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"math/rand"
    	"runtime"
    	"sort"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. pilot/pkg/model/telemetry_logging.go

    	if len(labels) == 0 {
    		return nil
    	}
    	attrList := make([]*otlpcommon.KeyValue, 0, len(labels))
    	// Sort keys to ensure stable XDS generation
    	for _, key := range slices.Sort(maps.Keys(labels)) {
    		value := labels[key]
    		kv := &otlpcommon.KeyValue{
    			Key:   key,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/cmd/go/internal/load/test.go

    			pmain.Internal.Imports = append(pmain.Internal.Imports, pxtest)
    			pmain.Imports = append(pmain.Imports, pxtest.ImportPath)
    			t.ImportXtest = true
    		}
    
    		// Sort and dedup pmain.Imports.
    		// Only matters for go list -test output.
    		sort.Strings(pmain.Imports)
    		w := 0
    		for _, path := range pmain.Imports {
    			if w == 0 || path != pmain.Imports[w-1] {
    				pmain.Imports[w] = path
    				w++
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top