Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 901 for we (0.24 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        assertEquals(1 << 29, ImmutableSet.chooseTableSize((1 << 29) * 3 / 5));
    
        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
        assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/ElementTypesAreNonnullByDefault.java

    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/ElementTypesAreNonnullByDefault.java

    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java

    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    #### Merging pull requests ####
    
    Due to Guava's nature as a subset of Google's internal codebase which is
    automatically synced to the public GitHub repository, we are unable to merge
    pull requests directly into the master branch. Instead, once a pull request is
    ready for merging, we'll make the appropriate changes in the internal codebase
    and, when the change is synced out, give the pull request author credit for the
    commit.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. guava-gwt/src/com/google/common/util/concurrent/Concurrent.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jul 19 04:29:50 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/SmallCharMatcher.java

      }
    
      private boolean checkFilter(int c) {
        return 1 == (1 & (filter >> c));
      }
    
      // This is all essentially copied from ImmutableSet, but we have to duplicate because
      // of dependencies.
    
      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.5;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Collections2.java

        void calculateNextPermutation() {
          int j = findNextJ();
          if (j == -1) {
            nextPermutation = null;
            return;
          }
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
    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)
  9. guava-gwt/src/com/google/common/cache/Cache.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  10. guava-gwt/test/com/google/common/collect/testing/google/Google.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.7K bytes
    - Viewed (0)
Back to top