Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for skip (0.18 sec)

  1. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @CanIgnoreReturnValue // to skip some bytes
      @Override
      short readShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readUnsignedShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      char readChar();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readInt();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      long readLong();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

                              @Override
                              public long skip(long n) {
                                return 0;
                              }
                            };
                          }
                        })
                    .iterator());
        assertEquals(0, multi.skip(-1));
        assertEquals(0, multi.skip(-1));
        assertEquals(0, multi.skip(0));
        ByteStreams.skipFully(multi, 20);
    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)
  3. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

                              @Override
                              public long skip(long n) {
                                return 0;
                              }
                            };
                          }
                        })
                    .iterator());
        assertEquals(0, multi.skip(-1));
        assertEquals(0, multi.skip(-1));
        assertEquals(0, multi.skip(0));
        ByteStreams.skipFully(multi, 20);
    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)
  4. guava-tests/test/com/google/common/io/TestInputStream.java

        throwIf(closed);
        throwIf(READ_THROWS);
        return in.read(b, off, len);
      }
    
      @Override
      public long skip(long n) throws IOException {
        throwIf(closed);
        throwIf(SKIP_THROWS);
        return in.skip(n);
      }
    
      @Override
      public int available() throws IOException {
        throwIf(closed);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestInputStream.java

        throwIf(closed);
        throwIf(READ_THROWS);
        return in.read(b, off, len);
      }
    
      @Override
      public long skip(long n) throws IOException {
        throwIf(closed);
        throwIf(SKIP_THROWS);
        return in.skip(n);
      }
    
      @Override
      public int available() throws IOException {
        throwIf(closed);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertEquals("[c, d, e]", FluentIterable.from(set).skip(2).toString());
      }
    
      public void testSkip_simpleList() {
        Collection<String> list = Lists.newArrayList("a", "b", "c", "d", "e");
        assertEquals(
            Lists.newArrayList("c", "d", "e"), Lists.newArrayList(FluentIterable.from(list).skip(2)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        assertEquals(3, uniqueEntries.size());
      }
    
      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
      private static class EnumMultisetFactory {
        public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-tests/pom.xml

              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-deploy-plugin</artifactId>
            <version>2.8.2</version>
            <configuration>
              <skip>true</skip>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>animal-sniffer-maven-plugin</artifactId>
            <configuration>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 07 19:01:53 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertFullyRead(reader);
    
        // skip fully
        reader = new CharSequenceReader(charSequence);
        assertEquals(expected.length(), reader.skip(Long.MAX_VALUE));
        assertFullyRead(reader);
    
        // skip 5 and read the rest
        if (expected.length() > 5) {
          reader = new CharSequenceReader(charSequence);
          assertEquals(5, reader.skip(5));
    
          buf = new char[expected.length() - 5];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LineReader.java

       *     line-termination characters, or {@code null} if the end of the stream has been reached.
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip a line
      @CheckForNull
      public String readLine() throws IOException {
        while (lines.peek() == null) {
          Java8Compatibility.clear(cbuf);
          // The default implementation of Reader#read(CharBuffer) allocates a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top