Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for skipped (0.31 sec)

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

       *       AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, {@code C} is skipped for serialization test, even if it implements {@link
       *       Serializable}.
       *   <li>Serialization test is not performed on method return values unless the method is a
    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)
  2. android/guava/src/com/google/common/io/ByteStreams.java

        long skipped = skipUpTo(in, n);
        if (skipped < n) {
          throw new EOFException(
              "reached end of stream after skipping " + skipped + " bytes; " + n + " bytes expected");
        }
      }
    
      /**
       * Discards up to {@code n} bytes of data from the input stream. This method will block until
       * either the full amount has been skipped or until the end of the stream is reached, whichever
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/CharEscaper.java

          if (destSize < sizeNeeded) {
            destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index);
            dest = growBuffer(dest, destIndex, destSize);
          }
    
          // If we have skipped any characters, we need to copy them now.
          if (charsSkipped > 0) {
            s.getChars(lastEscape, index, dest, destIndex);
            destIndex += charsSkipped;
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

      /** Counts the bytes in the given input stream using skip if possible. */
      private long countBySkipping(InputStream in) throws IOException {
        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
       * Copies the contents of this byte source to the given {@code OutputStream}. Does not close
       * {@code output}.
       *
    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)
  5. android/guava/src/com/google/common/collect/Iterators.java

        checkNonnegative(position);
        int skipped = advance(iterator, position);
        if (!iterator.hasNext()) {
          throw new IndexOutOfBoundsException(
              "position ("
                  + position
                  + ") must be less than the number of elements that remained ("
                  + skipped
                  + ")");
        }
        return iterator.next();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       </ul>
       *   <li>If there is no non-private constructor or non-private static factory method declared by
       *       {@code cls}, instance methods are skipped for nulls test.
       *   <li>Nulls test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       * </ul>
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * <p>The names are retrieved from the {@code nameSupplier} on the thread that is being renamed
       * right before each task is run. The renaming is best effort, if a {@link SecurityManager}
       * prevents the renaming then it will be skipped but the tasks will still execute.
       *
       * @param executor The executor to decorate
       * @param nameSupplier The source of names for each task
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p>The returned fluent iterable's iterator supports {@code remove()} if the {@code Iterator} of
       * this fluent iterable supports it. Note that it is <i>not</i> possible to delete the last
       * skipped element by immediately calling {@code remove()} on the returned fluent iterable's
       * iterator, as the {@code Iterator} contract states that a call to {@code * remove()} before a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

            }
            hasSkip = true;
            partsSkipped++; // :: means we skipped an extra part in between the two delimiters.
            if (i == 0) {
              partsSkipped++; // Begins with ::, so we skipped the part preceding the first :
            }
            if (i == ipString.length() - 2) {
              partsSkipped++; // Ends with ::, so we skipped the part after the last :
            }
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p>The returned iterable's iterator supports {@code remove()} if the iterator of the underlying
       * iterable supports it. Note that it is <i>not</i> possible to delete the last skipped element by
       * immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states
       * that a call to {@code remove()} before a call to {@code next()} will throw an {@link
       * IllegalStateException}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
Back to top