Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 345 for sorted (0.08 sec)

  1. android/guava/src/com/google/common/graph/Network.java

     *
     * <ul>
     *   <li>directed graphs
     *   <li>undirected graphs
     *   <li>graphs that do/don't allow parallel edges
     *   <li>graphs that do/don't allow self-loops
     *   <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
     *   <li>graphs whose edges are unique objects
     * </ul>
     *
     * <h3>Building a {@code Network}</h3>
     *
     * <p>The implementation classes that {@code common.graph} provides are not public, by design. To
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    		bytes.Index(buf.Bytes(), []byte("baz=baz")),
    		bytes.Index(buf.Bytes(), []byte("foo=foo")),
    		bytes.Index(buf.Bytes(), []byte("qux=qux")),
    	}
    	if !slices.IsSorted(indices) {
    		t.Fatal("PAX headers are not sorted")
    	}
    }
    
    func TestUSTARLongName(t *testing.T) {
    	// Create an archive with a path that failed to split with USTAR extension in previous versions.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    }
    
    func compareAPI(w io.Writer, features, required, exception []string) (ok bool) {
    	ok = true
    
    	featureSet := set(features)
    	exceptionSet := set(exception)
    
    	sort.Strings(features)
    	sort.Strings(required)
    
    	take := func(sl *[]string) string {
    		s := (*sl)[0]
    		*sl = (*sl)[1:]
    		return s
    	}
    
    	for len(features) > 0 || len(required) > 0 {
    		switch {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    	decompressors map[uint16]Decompressor
    
    	// Some JAR files are zip files with a prefix that is a bash script.
    	// The baseOffset field is the start of the zip file proper.
    	baseOffset int64
    
    	// fileList is a list of files sorted by ename,
    	// for use by the Open method.
    	fileListOnce sync.Once
    	fileList     []fileListEntry
    }
    
    // A ReadCloser is a [Reader] that must be closed when no longer needed.
    type ReadCloser struct {
    	f *os.File
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. cmd/endpoint.go

    // ESCount returns the total number of erasure sets in this cluster
    func (l EndpointServerPools) ESCount() (count int) {
    	for _, p := range l {
    		count += p.SetCount
    	}
    	return
    }
    
    // GetNodes returns a sorted list of nodes in this cluster
    func (l EndpointServerPools) GetNodes() (nodes []Node) {
    	nodesMap := make(map[string]Node)
    	for _, pool := range l {
    		for _, ep := range pool.Endpoints {
    			node, ok := nodesMap[ep.Host]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	}
    
    	// S3 spec says uploadIDs should be sorted based on initiated time, we need
    	// to read the metadata entry.
    	var uploads []MultipartInfo
    
    	populatedUploadIDs := set.NewStringSet()
    
    	for _, uploadID := range uploadIDs {
    		if populatedUploadIDs.Contains(uploadID) {
    			continue
    		}
    		// If present, use time stored in ID.
    		startTime := time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                } else if (!failedProjects.isEmpty()) {
                    List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
                    // Sort the failedProjects list in the topologically sorted order.
                    failedProjects.sort(comparing(sortedProjects::indexOf));
    
                    MavenProject firstFailedProject = failedProjects.get(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    		if len(xl.versions) != 855 {
    			t.Errorf("want %d versions, got %d", 855, len(xl.versions))
    		}
    		xl.sortByModTime()
    		if !sort.SliceIsSorted(xl.versions, func(i, j int) bool {
    			return xl.versions[i].header.ModTime > xl.versions[j].header.ModTime
    		}) {
    			t.Errorf("Contents not sorted")
    		}
    		for i := range xl.versions {
    			hdr := xl.versions[i].header
    			ver, err := xl.getIdx(i)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

    /**
     * This class contains static utility methods that operate on or return objects of type {@link
     * Iterator}. Except as noted, each method has a corresponding {@link Iterable}-based method in the
     * {@link Iterables} class.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterators produced in this class
     * are <i>lazy</i>, which means that they only advance the backing iteration when absolutely
     * necessary.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top