Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 304 for reordering (0.1 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.put("bb", 3);
        builder.put("d", 2);
        builder.put("a", 5);
        builder.orderKeysBy(
            new Ordering<String>() {
              @Override
              public int compare(String left, String right) {
                return left.length() - right.length();
              }
            });
        builder.put("cc", 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
       * of reads may not be immediately reflected on the algorithm's data structures. These structures
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Chars.java

      /**
       * Returns a comparator that compares two {@code char} arrays <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>; not advisable
       * for sorting user-visible strings as the ordering may not match the conventions of the user's
       * locale. That is, it compares, using {@link #compare(char, char)}), the first pair of values
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableBiMap.java

                }
                sort(
                    (Entry<K, V>[]) entries, // Entries up to size are not null
                    0,
                    size,
                    Ordering.from(valueComparator).onResultOf(Maps.valueFunction()));
              }
              entriesUsed = true;
              return RegularImmutableBiMap.fromEntryArray(size, entries);
          }
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    	// Write PAX records to the output.
    	isGlobal := hdr.Typeflag == TypeXGlobalHeader
    	if len(paxHdrs) > 0 || isGlobal {
    		// Write each record to a buffer.
    		var buf strings.Builder
    		// Sort keys for deterministic ordering.
    		for _, k := range slices.Sorted(maps.Keys(paxHdrs)) {
    			rec, err := formatPAXRecord(k, paxHdrs[k])
    			if err != nil {
    				return err
    			}
    			buf.WriteString(rec)
    		}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            CommonServerMessageBlock smb = (CommonServerMessageBlock) request;
            byte[] buffer = this.getContext().getBufferCache().getBuffer();
            try {
                // synchronize around encode and write so that the ordering for SMB1 signing can be maintained
                synchronized ( this.outLock ) {
                    int n = smb.encode(buffer, 4);
                    Encdec.enc_uint32be(n & 0xFFFF, buffer, 0); /* 4 byte session message header */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			}
    			if !tc.hasRules && len(rules) > 0 {
    				t.Fatalf("%d: Expected no rules to match but got matches %v", i+1, rules)
    			}
    		})
    	}
    }
    
    // TestDeleteAllVersions tests ordering among events, especially ones which
    // expire all versions like ExpiredObjectDeleteAllVersions and
    // DelMarkerExpiration
    func TestDeleteAllVersions(t *testing.T) {
    	// ExpiredObjectDeleteAllVersions
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    func (r *Reader) decompressor(method uint16) Decompressor {
    	dcomp := r.decompressors[method]
    	if dcomp == nil {
    		dcomp = decompressor(method)
    	}
    	return dcomp
    }
    
    // Close closes the Zip file, rendering it unusable for I/O.
    func (rc *ReadCloser) Close() error {
    	return rc.f.Close()
    }
    
    // DataOffset returns the offset of the file's possibly-compressed
    // data, relative to the beginning of the zip 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)
  9. doc/go_mem.html

    </p>
    
    <p>
    If the effects of a goroutine must be observed by another goroutine,
    use a synchronization mechanism such as a lock or channel
    communication to establish a relative ordering.
    </p>
    
    <h3 id="chan">Channel communication</h3>
    
    <p>
    Channel communication is the main method of synchronization
    between goroutines.  Each send on a particular channel
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

        if (typeof define === 'function' && define.amd) {
            // AMD. Make globaly available as well
            define(['moment', 'jquery'], function (moment, jquery) {
                if (!jquery.fn) jquery.fn = {}; // webpack server rendering
                if (typeof moment !== 'function' && moment.hasOwnProperty('default')) moment = moment['default']
                return factory(moment, jquery);
            });
        } else if (typeof module === 'object' && module.exports) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top