Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Goff (0.18 sec)

  1. android/guava/src/com/google/common/hash/PrimitiveSink.java

      /**
       * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written,
       * {@code bytes[off + len - 1]} is the last.
       *
       * @param bytes a byte array
       * @param off the start offset in the array
       * @param len the number of bytes to write
       * @return this instance
       * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or
       *     {@code len < 0}
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/LineBuffer.java

       *
       * @param cbuf the character buffer to process
       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
       * @see #finish
       */
      protected void add(char[] cbuf, int off, int len) throws IOException {
        int pos = off;
        if (sawReturn && len > 0) {
          // Last call to add ended with a CR; we can handle the line now.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        testThreshold(1000, 100, false, true);
      }
    
      static void write(OutputStream out, byte[] b, int off, int len, boolean singleByte)
          throws IOException {
        if (singleByte) {
          for (int i = off; i < off + len; i++) {
            out.write(b[i]);
          }
        } else {
          out.write(b, off, len);
        }
        out.flush(); // for coverage
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        @Override
        public int bits() {
          return 32;
        }
    
        @Override
        public HashCode hashBytes(byte[] input, int off, int len) {
          return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len));
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        @Override
        public int bits() {
          return 32;
        }
    
        @Override
        public HashCode hashBytes(byte[] input, int off, int len) {
          return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len));
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CountingOutputStream.java

        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
      public long getCount() {
        return count;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        out.write(b, off, len);
        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/TestOutputStream.java

        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        throwIf(closed);
        throwIf(WRITE_THROWS);
        super.write(b, off, len);
      }
    
      @Override
      public void write(int b) throws IOException {
        throwIf(closed);
        throwIf(WRITE_THROWS);
        super.write(b);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/TestInputStream.java

      public int read() throws IOException {
        throwIf(closed);
        throwIf(READ_THROWS);
        return in.read();
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        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);
      }
    
    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)
  9. android/guava-tests/test/com/google/common/io/TestInputStream.java

      public int read() throws IOException {
        throwIf(closed);
        throwIf(READ_THROWS);
        return in.read();
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        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);
      }
    
    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)
  10. android/guava/src/com/google/common/io/ByteArrayDataInput.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ByteArrayDataInput extends DataInput {
      @Override
      void readFully(byte b[]);
    
      @Override
      void readFully(byte b[], int off, int len);
    
      // not guaranteed to skip n bytes so result should NOT be ignored
      // use ByteStreams.skipFully or one of the read methods instead
      @Override
      int skipBytes(int n);
    
    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)
Back to top