Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for Ordering (0.09 seconds)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
      private static final ImmutableSortedMap<Comparable<?>, Object> NATURAL_EMPTY_MAP =
          new ImmutableSortedMap<>(ImmutableSortedSet.emptySet(Ordering.natural()), ImmutableList.of());
    
      static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) {
        if (Ordering.natural().equals(comparator)) {
          return of();
        } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 52.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Sets.java

          if (forwardComparator == null) {
            return (Comparator) Ordering.natural().reverse();
          } else {
            return reverse(forwardComparator);
          }
        }
    
        // If we inline this, we get a javac error.
        private static <T extends @Nullable Object> Ordering<T> reverse(Comparator<T> forward) {
          return Ordering.from(forward).reverse();
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <E> the element type of {@link PriorityBlockingQueue}
         * @param initialCapacity the initial capacity of the priority queue
         * @param comparator the comparator for ordering the elements in the priority queue
         * @return a new instance of {@link PriorityBlockingQueue}
         * @see PriorityBlockingQueue#PriorityBlockingQueue(int, Comparator)
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  4. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  5. 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            CommonServerMessageBlock smb = (CommonServerMessageBlock) request;
            final 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) {
                    final int n = smb.encode(buffer, 4);
                    Encdec.enc_uint32be(n & 0xFFFF, buffer, 0); /* 4 byte session message header */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

        // These results are all incorrect, but there's no way (short of iterating over the result)
        // to verify that with an arbitrary ordering or comparator.
        assertEquals(ImmutableSortedMap.of(2, 0, 4, 0), Maps.subMap(map, Range.atLeast(4)));
        assertEquals(ImmutableSortedMap.of(8, 0, 10, 0), Maps.subMap(map, Range.atMost(8)));
        assertEquals(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  8. cmd/xl-storage.go

    		if err != nil {
    			return s, err
    		}
    		diskID := format.Erasure.This
    		if m != ep.SetIdx || n != ep.DiskIdx {
    			storageLogOnceIf(context.Background(),
    				fmt.Errorf("unexpected drive ordering on pool: %s: found drive at (set=%s, drive=%s), expected at (set=%s, drive=%s): %s(%s): %w",
    					humanize.Ordinal(ep.PoolIdx+1), humanize.Ordinal(m+1), humanize.Ordinal(n+1), humanize.Ordinal(ep.SetIdx+1), humanize.Ordinal(ep.DiskIdx+1),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       * computation is {@linkplain java.util.concurrent.Future#isDone() complete} or, if the
       * computation is already complete, immediately.
       *
       * <p>The callback is run on {@code executor}. There is no guaranteed ordering of execution of
       * callbacks, but any callback added through this method is guaranteed to be called once the
       * computation is complete.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 64.3K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/testdata/riscv64.s

    	SW	X5, (X6)				// 23205300
    	SW	X5, 4(X6)				// 23225300
    	SH	X5, (X6)				// 23105300
    	SH	X5, 4(X6)				// 23125300
    	SB	X5, (X6)				// 23005300
    	SB	X5, 4(X6)				// 23025300
    
    	// 2.7: Memory Ordering Instructions
    	FENCE						// 0f00f00f
    
    	// 4.2: Integer Computational Instructions (RV64I)
    	ADDIW	$1, X5, X6				// 1b831200
    	SLLIW	$1, X5, X6				// 1b931200
    	SRLIW	$1, X5, X6				// 1bd31200
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 73.7K bytes
    - Click Count (0)
Back to Top