Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for raising (0.21 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

         * determined experimentally to match our desired probability of false positives.
         */
        // NB: yes, this is surprisingly high, but that's what the experiments said was necessary
        // Raising this number slows the worst-case contains behavior, speeds up hashFloodingDetected,
        // and reduces the false-positive probability.
        static final int MAX_RUN_MULTIPLIER = 13;
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        /**
         * Returns true if (current * radix) + digit is a number too large to be represented by an
         * unsigned long. This is useful for detecting overflow while parsing a string representation of
         * a number. Does not verify whether supplied radix is valid, passing an invalid radix will give
         * undefined results or an ArrayIndexOutOfBoundsException.
         */
        static boolean overflowInParse(long current, int digit, int radix) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     accepts a cause: Users of this class typically expect for instances to have a non-null
       *     cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicit
       *     {@code null} cause. Note, however, that passing an explicit {@code null} cause prevents
       *     anyone from calling {@link #initCause} later, so it is not quite equivalent to using a
       *     constructor that omits the cause.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/TearDown.java

       * com.google.common.testing.junit3.TearDownTestCase} and {@code
       * com.google.common.testing.junit4.TearDownTestCase} for example.
       *
       * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on the version of
       * JUnit test case you are running under. To avoid failing in the face of an exception regardless
       * of JUnit version, implement a {@link SloppyTearDown} instead.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A specification of a {@link CacheBuilder} configuration.
     *
     * <p>{@code CacheBuilderSpec} supports parsing configuration off of a string, which makes it
     * especially useful for command-line configuration of a {@code CacheBuilder}.
     *
     * <p>The string syntax is a series of comma-separated keys or key-value pairs, each corresponding
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

          multimap().putAll(k3(), Lists.newArrayList(null, v3()));
          fail();
        } catch (NullPointerException expected) {
        }
    
        /*
         * In principle, a Multimap implementation could add e3 first before failing on the null. But
         * that seems unlikely enough to be worth complicating the test over, especially if there's any
         * chance that a permissive test could mask a bug.
         */
        expectUnchanged();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Longs.java

       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
       * an exception if parsing fails. Additionally, this method only accepts ASCII digits, and returns
       * {@code null} if non-ASCII digits are present in the string.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/Escapers.java

     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Escapers {
      private Escapers() {}
    
      /**
       * Returns an {@link Escaper} that does no escaping, passing all character data through unchanged.
       */
      public static Escaper nullEscaper() {
        return NULL_ESCAPER;
      }
    
      // An Escaper that efficiently performs no escaping.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("null [5, 6]", Strings.lenientFormat(null, 5, 6));
        assertEquals("null", Strings.lenientFormat("%s", (Object) null));
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testLenientFormat_nullArrayVarargs() {
        assertEquals("(Object[])null", Strings.lenientFormat("%s", (Object[]) null));
      }
    
      @GwtIncompatible // GWT reflection includes less data
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      }
    
      /**
       * Performs {@link NullPointerTester} checks for all top-level classes in the package. For a class
       * {@code C}
       *
       * <ul>
       *   <li>All visible static methods are checked such that passing null for any parameter that's
       *       not annotated nullable (according to the rules of {@link NullPointerTester}) should throw
       *       {@link NullPointerException}.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
Back to top