Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 422 for compact (0.07 sec)

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

      }
    
      /**
       * Returns an immutable list containing the given elements, sorted according to their natural
       * order. The sorting algorithm used is stable, so elements that compare as equal will stay in the
       * order in which they appear in the input.
       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntsTest.java

      public void testCompare() {
        for (int x : VALUES) {
          for (int y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y).that(Ints.compare(x, y)).isEqualTo(Integer.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Ints.contains(EMPTY, (int) 1)).isFalse();
        assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return new NullFriendlyComparator<>();
      }
    
      private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable {
        @Override
        public int compare(T left, T right) {
          return String.valueOf(left).compareTo(String.valueOf(right));
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method m1, Method m2) {
                int nameComparison = m1.getName().compareTo(m2.getName());
                if (nameComparison != 0) {
                  return nameComparison;
                } else {
                  return Integer.compare(m1.getParameterTypes().length, m2.getParameterTypes().length);
                }
              }
            });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        }
      };
    
      /**
       * Models a lock-free array of bits.
       *
       * <p>We use this instead of java.util.BitSet because we need access to the array of longs and we
       * need compare-and-swap.
       */
      static final class LockFreeBitArray {
        private static final int LONG_ADDRESSABLE_BITS = 6;
        final AtomicLongArray data;
        private final LongAddable bitCount;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. docs/en/docs/help-fastapi.md

    I love to hear about how **FastAPI** is being used, what you have liked in it, in which project/company are you using it, etc.
    
    ## Vote for FastAPI { #vote-for-fastapi }
    
    * <a href="https://www.slant.co/options/34241/~fastapi-review" class="external-link" target="_blank">Vote for **FastAPI** in Slant</a>.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    			break
    		}
    		if p.arch.Family == sys.S390X {
    			// 3-operand jumps.
    			target = &a[2]
    			prog.From = a[0]
    			if a[1].Reg != 0 {
    				// Compare two registers and jump.
    				prog.Reg = p.getRegister(prog, op, &a[1])
    			} else {
    				// Compare register with immediate and jump.
    				prog.AddRestSource(a[1])
    			}
    			break
    		}
    		if p.arch.Family == sys.ARM64 {
    			// Special 3-operand jumps.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This is
         * technically not correct however the server 8 byte challenge would be required to compute and compare the password
         * hashes but that it not available with this method.
         */
        @Override
        public boolean equals(final Object obj) {
            if (super.equals(obj)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/LittleEndianByteArray.java

                : UnsafeByteArray.UNSAFE_BIG_ENDIAN;
          }
        } catch (Throwable t) {
          // ensure we really catch *everything*
        }
    
        return JavaLittleEndianBytes.INSTANCE;
      }
    
      // Compare AbstractFuture.VarHandleAtomicHelperMaker.
      private enum VarHandleLittleEndianBytesMaker {
        INSTANCE {
          /**
           * Implementation used by non-J2ObjC environments (aside, of course, from those that have
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Set<Object> expectedValues = ImmutableSet.of(one);
        Set<Object> actualValues = ImmutableSet.copyOf(map.values());
        assertEquals(expectedValues, actualValues);
      }
    
      /** Lookups on the map view shouldn't impact the recency queue. */
      public void testAsMapRecency() {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().concurrencyLevel(1).maximumSize(SMALL_MAX_SIZE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top