Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 398 for compat (0.03 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <h3>Examples</h3>
     *
     * <p>To compute the median:
     *
     * {@snippet :
     * double myMedian = median().compute(myDataset);
     * }
     *
     * where {@link #median()} has been statically imported.
     *
     * <p>To compute the 99th percentile:
     *
     * {@snippet :
     * double myPercentile99 = percentiles().index(99).compute(myDataset);
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          Short[] prefix = {Short.MIN_VALUE, Short.MAX_VALUE};
          Short[] suffix = {(short) 86, (short) 99};
          Short[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Short[] concat(Short[] left, Short[] right) {
        Short[] result = new Short[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

          Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE};
          Long[] suffix = {86L, 99L};
          Long[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Long[] concat(Long[] left, Long[] right) {
        Long[] result = new Long[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          Short[] prefix = {Short.MIN_VALUE, Short.MAX_VALUE};
          Short[] suffix = {(short) 86, (short) 99};
          Short[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Short[] concat(Short[] left, Short[] right) {
        Short[] result = new Short[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            h[1] = h[2] = h[3] = 0;
            return h;
        }
    
        /**
         * Concatenates multiple byte arrays into a single array.
         */
        private static byte[] concat(byte[]... arrays) {
            int total = 0;
            for (byte[] a : arrays) {
                total += a.length;
            }
            byte[] res = new byte[total];
            int off = 0;
            for (byte[] a : arrays) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

            assertEquals(
                ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED),
                range.contains(i));
            assertEquals(
                ORDERING.compare(i, 3) > 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN),
                range.tooHigh(i));
            assertFalse(range.tooLow(i));
          }
        }
      }
    
      public void testDoublyBoundedAgainstRange() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedLists.java

       * making this call. If it is not sorted, the results are undefined.
       *
       * <p>If there are elements in the list which compare as equal to the key, the choice of {@link
       * KeyPresentBehavior} decides which index is returned. If no elements compare as equal to the
       * key, the choice of {@link KeyAbsentBehavior} decides which index is returned.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Comparators.java

       * @param b second value to compare.
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> using the given
       *     comparator.
       * @since 30.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T max(
          @ParametricNullness T a, @ParametricNullness T b, Comparator<? super T> comparator) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/DialectVersion.java

         *
         * @param v the version to compare against
         * @return whether this version is a least the given one
         */
        public boolean atLeast(final DialectVersion v) {
            return ordinal() >= v.ordinal();
        }
    
        /**
         * Check if this dialect version is at most the specified version
         *
         * @param v the version to compare against
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

    /**
     * A multiset which maintains the ordering of its elements, according to either their natural order
     * or an explicit {@link Comparator}. In all cases, this implementation uses {@link
     * Comparable#compareTo} or {@link Comparator#compare} instead of {@link Object#equals} to determine
     * equivalence of instances.
     *
     * <p><b>Warning:</b> The comparison must be <i>consistent with equals</i> as explained by the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
Back to top