Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for high (0.17 sec)

  1. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                Comparable low = c[i - 1];
                for (int j = i; j < versions.length; j++) {
                    Comparable high = c[j];
                    assertTrue(low.compareTo(high) < 0, "expected " + low + " < " + high);
                    assertTrue(high.compareTo(low) > 0, "expected " + high + " > " + low);
                }
            }
        }
    
        private void checkVersionsEqual(String v1, String v2) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/Utf8Test.java

        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/Utf8Test.java

        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

      }
    
      static char randomHighSurrogate(Random random) {
        return (char)
            (Character.MIN_HIGH_SURROGATE
                + random.nextInt(Character.MAX_HIGH_SURROGATE - Character.MIN_HIGH_SURROGATE + 1));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0);
    
        // both with high bit set
        assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
    
        // one with high bit set
        assertThat(UnsignedLongs.compare(0x5a4316b8c153ac4dL, 0xff1a618b7f65ea12L)).isLessThan(0);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

        // center will be at either low or high.
        int low = requiredFrom;
        int high = requiredTo;
        while (high > low + 1) {
          int mid = (low + high) >>> 1;
          if (allRequired[mid] > centerFloor) {
            high = mid;
          } else if (allRequired[mid] < centerFloor) {
            low = mid;
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0);
    
        // both with high bit set
        assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
    
        // one with high bit set
        assertThat(UnsignedLongs.compare(0x5a4316b8c153ac4dL, 0xff1a618b7f65ea12L)).isLessThan(0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

        CompactHashSet<E> set = createWithExpectedSize(elements.length);
        Collections.addAll(set, elements);
        return set;
      }
    
      /**
       * Creates a {@code CompactHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashTestUtils.java

      }
    
      static char randomHighSurrogate(Random random) {
        return (char)
            (Character.MIN_HIGH_SURROGATE
                + random.nextInt(Character.MAX_HIGH_SURROGATE - Character.MIN_HIGH_SURROGATE + 1));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactLinkedHashMap.java

          CompactLinkedHashMap<K, V> create() {
        return new CompactLinkedHashMap<>();
      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top