Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,164 for checker (0.16 sec)

  1. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

                  public void close() throws IOException {
                    super.close();
                    counter[0]--;
                  }
                };
              }
            };
        byte[] result = ByteSource.concat(checker, checker, checker).read();
        assertEquals(150, result.length);
      }
    
      private void joinHelper(Integer... spans) throws Exception {
        List<ByteSource> sources = Lists.newArrayList();
        int start = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

                  public void close() throws IOException {
                    super.close();
                    counter[0]--;
                  }
                };
              }
            };
        byte[] result = ByteSource.concat(checker, checker, checker).read();
        assertEquals(150, result.length);
      }
    
      private void joinHelper(Integer... spans) throws Exception {
        List<ByteSource> sources = Lists.newArrayList();
        int start = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.AbstractCollection;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A simplistic collection which implements only the bare minimum allowed by the spec, and throws
     * exceptions whenever it can.
     *
     * @author Kevin Bourrillion
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

        /*
         * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our
         * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8).
         */
        if (result == null) {
          return null;
        } else {
          return (V) result;
        }
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        }
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
        // Either both arrays are null or neither is, but we check both to satisfy the nullness checker.
        if (predecessor != null && successor != null) {
          Arrays.fill(predecessor, 0, size(), 0);
          Arrays.fill(successor, 0, size(), 0);
        }
        super.clear();
      }
    
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ConsumingQueueIterator.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An Iterator implementation which draws elements from a queue, removing them from the queue as it
     * iterates. This class is not thread safe.
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jan 21 14:48:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractBiMap.java

          AbstractBiMap.this.clear();
        }
    
        @Override
        public boolean remove(@CheckForNull Object object) {
          /*
           * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
           * nullness checker.
           */
          if (!esDelegate.contains(object) || !(object instanceof Entry)) {
            return false;
          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

    import com.google.errorprone.annotations.DoNotCall;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     * @since 13.0
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

            possibleExplicitReceiver: KtExpression?,
        ): KtExtensionApplicabilityResult = analysisSession.withValidityAssertion {
            val checker = KtFirCompletionExtensionCandidateChecker(analysisSession, nameExpression, possibleExplicitReceiver, originalFile)
            return with(analysisSession) {
                checker.computeApplicability(firSymbolForCandidate)
            }
        }
    }
    
    private class KtFirCompletionExtensionCandidateChecker(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ClassToInstanceMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top