Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 396 for numero (0.21 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        // Anything not assigned was the default 0.
        return expected;
      }
    
      /**
       * Helper to run the loop to test all the permutations for the number of bytes specified.
       *
       * @param numBytes the number of bytes in the byte array
       * @param expectedCount the expected number of roundtrippable permutations
       */
      @GwtIncompatible // java.nio.charset.Charset
      private static void testBytes(int numBytes, long expectedCount) {
    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)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

            Long.MAX_VALUE
          };
    
      private static final float[] VALUES = Floats.concat(NUMBERS, new float[] {NaN});
    
      public void testHashCode() {
        for (float value : VALUES) {
          assertThat(Floats.hashCode(value)).isEqualTo(((Float) value).hashCode());
        }
      }
    
      public void testIsFinite() {
        for (float value : NUMBERS) {
          assertThat(Floats.isFinite(value))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

          this.size = calculateSize(inputList, comparator);
        }
    
        /**
         * The number of permutations with repeated elements is calculated as follows:
         *
         * <ul>
         *   <li>For an empty list, it is 1 (base case).
         *   <li>When r numbers are added to a list of n-r elements, the number of permutations is
         *       increased by a factor of (n choose r).
         * </ul>
         */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * sets ("constant sets"), with a given comparator. Example:
       *
       * <pre>{@code
       * public static final ImmutableSortedSet<Number> LUCKY_NUMBERS =
       *     new ImmutableSortedSet.Builder<Number>(ODDS_FIRST_COMPARATOR)
       *         .addAll(SINGLE_DIGIT_PRIMES)
       *         .add(42)
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
       * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
       * Comparators}</a>.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBasedTable.java

      }
    
      /**
       * Creates an empty {@code HashBasedTable} with the specified map sizes.
       *
       * @param expectedRows the expected number of distinct row keys
       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

              URISyntaxException.class);
    
      @Param Validator validator;
      @Param Result result;
      @Param ExceptionType exceptionType;
      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Monitor.java

      }
    
      /**
       * Returns the number of times the current thread has entered this monitor in excess of the number
       * of times it has left. Returns 0 if the current thread is not occupying this monitor.
       */
      public int getOccupiedDepth() {
        return lock.getHoldCount();
      }
    
      /**
       * Returns an estimate of the number of threads waiting to enter this monitor. The value is only
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

       * Tests that compilation will work when applying explicit types.
       */
      @SuppressWarnings("unused") // compilation test
      public void testIn_compilesWithExplicitSupertype() {
        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
        Predicate<Object> p2 = Predicates.<Object>in(nums);
        // The next two lines are not expected to compile.
        // Predicate<Integer> p3 = Predicates.in(nums);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/ConverterTest.java

              public Integer apply(String input) {
                return Integer.parseInt(input);
              }
            };
        Function<Object, String> backward = toStringFunction();
    
        Converter<String, Number> converter = Converter.<String, Number>from(forward, backward);
    
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
    
        assertEquals((Integer) 5, converter.convert("5"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
Back to top