Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Goff (0.17 sec)

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

      /**
       * This method will be called for each chunk of bytes in an input stream. The implementation
       * should process the bytes from {@code buf[off]} through {@code buf[off + len - 1]} (inclusive).
       *
       * @param buf the byte array containing the data to process
       * @param off the initial offset into the array
       * @param len the length of data to be processed
       * @return true to continue processing, false to stop
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ReaderInputStream.java

      }
    
      // TODO(chrisn): Consider trying to encode/flush directly to the argument byte
      // buffer when possible.
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        // Obey InputStream contract.
        checkPositionIndexes(off, off + len, b.length);
        if (len == 0) {
          return 0;
        }
    
        // The rest of this method implements the process described by the CharsetEncoder javadoc.
    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)
  3. api/maven-api-metadata/src/main/java/org/apache/maven/api/metadata/package-info.java

    // CHECKSTYLE_OFF: RegexpHeader
    /**
     * Maven Repository Metadata model.
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 11 14:06:34 GMT 2024
    - 115 bytes
    - Viewed (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java

    // CHECKSTYLE_OFF: RegexpHeader
    /**
     * Maven immutable XML api.
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 102 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      public LittleEndianDataOutputStream(OutputStream out) {
        super(new DataOutputStream(Preconditions.checkNotNull(out)));
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        // Override slow FilterOutputStream impl
        out.write(b, off, len);
      }
    
      @Override
      public void writeBoolean(boolean v) throws IOException {
        ((DataOutputStream) out).writeBoolean(v);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Funnels.java

          sink.putByte((byte) b);
        }
    
        @Override
        public void write(byte[] bytes) {
          sink.putBytes(bytes);
        }
    
        @Override
        public void write(byte[] bytes, int off, int len) {
          sink.putBytes(bytes, off, len);
        }
    
        @Override
        public String toString() {
          return "Funnels.asOutputStream(" + sink + ")";
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      @Override
      public synchronized void write(byte[] b) throws IOException {
        write(b, 0, b.length);
      }
    
      @Override
      public synchronized void write(byte[] b, int off, int len) throws IOException {
        update(len);
        out.write(b, off, len);
      }
    
      @Override
      public synchronized void close() throws IOException {
        out.close();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

          // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty
          int off = expected.length == 0 ? 0 : random.nextInt(expected.length);
          int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
    
          ByteSourceFactory sliced = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, len);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Utf8.java

       *
       * @param bytes the input buffer
       * @param off the offset in the buffer of the first byte to read
       * @param len the number of bytes to read from the buffer
       */
      public static boolean isWellFormed(byte[] bytes, int off, int len) {
        int end = off + len;
        checkPositionIndexes(off, end, bytes.length);
        // Look for the first non-ASCII character.
        for (int i = off; i < end; i++) {
          if (bytes[i] < 0) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  10. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top