Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 340 for bots (7.61 sec)

  1. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * </ul>
       */
      public static <T extends @Nullable Object> void testComparator(
          Comparator<? super T> comparator, List<T> valuesInExpectedOrder) {
        // This does an O(n^2) test of all pairs of values in both orders
        for (int i = 0; i < valuesInExpectedOrder.size(); i++) {
          T t = valuesInExpectedOrder.get(i);
    
          for (int j = 0; j < i; j++) {
            T lesser = valuesInExpectedOrder.get(j);
            assertTrue(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        }
      }
    
      // Technically we should test other reentrant scenarios (9 combinations of
      // hasNext/next/peek), but we'll cop out for now, knowing that peek() and
      // next() both start by invoking hasNext() anyway.
    
      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ImmutableGraph.java

         * directed; if it is undirected, the added edge will be undirected.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered.
         *
         * <p>If either or both endpoints are not already present in this graph, this method will
         * silently {@link #addNode(Object) add} each missing endpoint to the graph.
         *
         * @return this {@code Builder} object
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CharMatcher.java

       */
      public static CharMatcher noneOf(CharSequence sequence) {
        return anyOf(sequence).negate();
      }
    
      /**
       * Returns a {@code char} matcher that matches any character in a given BMP range (both endpoints
       * are inclusive). For example, to match any lowercase letter of the English alphabet, use {@code
       * CharMatcher.inRange('a', 'z')}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

       * returned from {@link #asMapOfRanges} will be different if there were existing entries which
       * connect to the given range and value.
       *
       * <p>Even if the input range is empty, if it is connected on both sides by ranges mapped to the
       * same value those two ranges will be coalesced.
       *
       * <p><b>Note:</b> coalescing requires calling {@code .equals()} on any connected values, which
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

    import java.net.MalformedURLException;
    import java.io.InputStream;
    import java.io.IOException;
    import java.io.InterruptedIOException;
    
    /**
     * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits.
     */
    
    public class SmbFileInputStream extends InputStream {
    
        private long fp;
        private int readSize, openFlags, access;
        private byte[] tmp = new byte[1];
    
        SmbFile file;
    
    /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ReaderInputStream.java

        // 3) array has no space available
        //
        // In case 2 we shift the existing chars to the left, and in case 3 we create a bigger
        // array, then they both become case 1.
    
        if (availableCapacity(charBuffer) == 0) {
          if (charBuffer.position() > 0) {
            // (2) There is room in the buffer. Move existing bytes to the beginning.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        if (!Collections.disjoint(allPresentFeatures, allAbsentFeatures)) {
          throw new ConflictingRequirementsException(
              "Annotation explicitly or "
                  + "implicitly requires one or more features to be both present "
                  + "and absent.",
              intersection(allPresentFeatures, allAbsentFeatures),
              testerAnnotation);
        }
        return new TesterRequirements(allPresentFeatures, allAbsentFeatures);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         *
         * <p><b>{@code edge} must be unique to this network</b>, just as a {@code Map} key must be. It
         * must also be non-null.
         *
         * <p>If either or both endpoints are not already present in this network, this method will
         * silently {@link #addNode(Object) add} each missing endpoint to the network.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

              return Optional.absent();
            }
            result += sizeIfKnown.get();
            if (result < 0) {
              // Overflow (or one or more sources that returned a negative size, but all bets are off in
              // that case)
              // Can't represent anything higher, and realistically there probably isn't anything that
              // can actually be done anyway with the supposed 8+ exbibytes of data the source is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top