Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 142 for Povirk (0.17 sec)

  1. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

        this.equivalence = checkNotNull(equivalence);
        this.relationshipName = checkNotNull(relationshipName);
        this.hashName = checkNotNull(hashName);
        this.itemReporter = checkNotNull(itemReporter);
      }
    
      // TODO(cpovirk): should we reject null items, since the tests already check null automatically?
      @CanIgnoreReturnValue
      public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) {
        groups.add(ImmutableList.copyOf(group));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Platform.java

       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
       * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552
       */
      /*
       * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if
       * likewise not type-checked)? Could our single caller do something different?
       */
      @SuppressWarnings({"nullness", "unchecked"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        assertEquals(2, ictim.size());
    
        assertEquals(0, (int) ictim.getInstance(Integer.class));
        assertEquals(1, (int) ictim.getInstance(int.class));
      }
    
      @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places?
      abstract static class TestClassToInstanceMapGenerator implements TestMapGenerator<Class, Impl> {
    
        @Override
        public Class<?>[] createKeyArray(int length) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * always contains not just the current thread's exception but also the initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                /*
                 * StandardDescendingMap uses lowerEntry(), and TreeMap.lowerEntry() deliberately
                 * produces immutable entries.
                 *
                 * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that
                 * supports setValue().
                 */
                .suppressing(
                    MapEntrySetTester.getSetValueMethod(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

      }
    
      private <T> TypeToken<Iterable<T>> anyIterableType() {
        return new TypeToken<Iterable<T>>() {};
      }
    
      @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places?
      abstract static class TestTypeToInstanceMapGenerator
          implements TestMapGenerator<TypeToken, Object> {
    
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * characters).
       *
       * @param c the character to escape
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      // TODO(dbeaumont,cpovirk): Rename this something better once refactoring done
      @CheckForNull
      protected abstract char[] escapeUnsafe(char c);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

     * implementations are in {@link AbstractNetwork}; in future they might be in {@link Network}
     * itself, once we are willing to use Java 8 default methods.
     */
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    public final class DefaultNetworkImplementationsTest {
      private MutableNetwork<Integer, String> network;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

     * implementations are in {@link AbstractNetwork}; in future they might be in {@link Network}
     * itself, once we are willing to use Java 8 default methods.
     */
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    public final class DefaultNetworkImplementationsTest {
      private MutableNetwork<Integer, String> network;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        assertEquals(2, ictim.size());
    
        assertEquals(0, (int) ictim.getInstance(Integer.class));
        assertEquals(1, (int) ictim.getInstance(int.class));
      }
    
      @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places?
      abstract static class TestClassToInstanceMapGenerator implements TestMapGenerator<Class, Impl> {
    
        @Override
        public Class<?>[] createKeyArray(int length) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top