Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 376 for readFile (0.07 seconds)

  1. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt

      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
      fun readHeaders(): Headers {
        val result = Headers.Builder()
        while (true) {
          val line = readLine()
          if (line.isEmpty()) break
          result.addLenient(line)
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

            bufferIndex += 4;
            this.creationTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            if (file.type == SmbFile.TYPE_NAMED_PIPE) {
                response.responseTimeout = 0;
            }
    
            int r, n;
            do {
                r = len > readSize ? readSize : len;
    
                if (LogStream.level >= 4) {
                    SmbFile.log.println("read: len=" + len + ",r=" + r + ",fp=" + fp);
                }
    
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        public void setField(final Field field) {
            this.field = field;
            if (field != null && ModifierUtil.isPublic(field)) {
                readable = true;
                writable = true;
            }
        }
    
        @Override
        public boolean isReadable() {
            return readable;
        }
    
        @Override
        public boolean isWritable() {
            return writable;
        }
    
        @Override
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/ByteStreams.java

            break;
          }
          to.write(buf, 0, r);
          total += r;
        }
        return total;
      }
    
      /**
       * Copies all bytes from the readable channel to the writable channel. Does not close or flush
       * either channel.
       *
       * @param from the readable channel to read from
       * @param to the writable channel to write to
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java

            }
        }
    
        @Override
        public List<String> readMultipleLines() throws IOException {
            List<String> lines = new ArrayList<>();
            for (String line = readLine(); line != null && !line.isEmpty(); line = readLine()) {
                lines.add(line);
            }
            return lines;
        }
    
        @Override
        public void write(String line) throws IOException {
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:48:41 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/MoreObjects.java

         * readable name.
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(@Nullable Object value) {
          return addHolder(value);
        }
    
        /**
         * Adds an unnamed value to the formatted output.
         *
         * <p>It is strongly encouraged to use {@link #add(String, boolean)} instead and give value a
         * readable name.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Predicates.java

       *       {@link NullPointerException}.
       *   <li>Code that chains multiple predicates together (especially negations) may be more readable
       *       using this method. For example, {@code not(in(target))} is generally more readable than
       *       {@code not(target::contains)}.
       *   <li>This method's name conflicts with Kotlin's {@code in} operator.
       * </ul>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Predicates.java

       *       {@link NullPointerException}.
       *   <li>Code that chains multiple predicates together (especially negations) may be more readable
       *       using this method. For example, {@code not(in(target))} is generally more readable than
       *       {@code not(target::contains)}.
       *   <li>This method's name conflicts with Kotlin's {@code in} operator.
       * </ul>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top