Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 76 for Peeker (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/archive/tar/writer.go

    	}
    }
    
    func (sw *sparseFileWriter) ReadFrom(r io.Reader) (n int64, err error) {
    	rs, ok := r.(io.ReadSeeker)
    	if ok {
    		if _, err := rs.Seek(0, io.SeekCurrent); err != nil {
    			ok = false // Not all io.Seeker can really seek
    		}
    	}
    	if !ok {
    		return io.Copy(struct{ io.Writer }{sw}, r)
    	}
    
    	var readLastByte bool
    	pos0 := sw.pos
    	for sw.logicalRemaining() > 0 && !readLastByte && err == nil {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            )
          }
    
          socket.close()
          openClientSockets.remove(socket.javaNetSocket)
        }
    
        /**
         * Respond to `CONNECT` requests until a non-tunnel response is peeked. Returns true if further
         * calls should be attempted on the socket.
         */
        @Throws(IOException::class, InterruptedException::class)
        private fun processTunnelRequests(): Boolean {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                final SmbTransportInternal trans = dc.unwrap(SmbTransportInternal.class);
                // the tconHostName is from the DC referral, that referral must be resolved
                // before following deeper ones. Otherwise e.g. samba will return a broken
                // referral.
                synchronized (trans) {
                    try {
                        // ensure connected
                        trans.ensureConnected();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/Files.java

     *
     * <p>{@link java.nio.file.Path} users will find similar utilities in {@link MoreFiles} and the
     * JDK's {@link java.nio.file.Files} class.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Files {
    
      private Files() {}
    
      /**
       * Returns a buffered reader that reads from a file using the given character set.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       MoreExecutors#newSequentialExecutor} wrapper around {@code directExecutor()}. More
       *       complex cases may require using thread pools or making deeper changes.)
       *   <li>If an exception propagates out of a {@code Runnable}, it is not necessarily seen by any
       *       {@code UncaughtExceptionHandler} for the thread. For example, if the callback passed to
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

     *       implementations) will prevent further operations from completing as expected.
     * </ul>
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class ByteSource {
    
      /** Constructor for use by subclasses. */
      protected ByteSource() {}
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/io/ByteStreams.java

    import java.util.Arrays;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides utility methods for working with byte arrays and I/O streams.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     * @since 1.0
     */
    @GwtIncompatible
    public final class ByteStreams {
    
      private static final int BUFFER_SIZE = 8192;
    
      /** Creates a new byte array for buffering reads or writes. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 31.1K bytes
    - Click Count (0)
  8. src/archive/tar/reader_test.go

    // TestReadTruncation test the ending condition on various truncated files and
    // that truncated files are still detected even if the underlying io.Reader
    // satisfies io.Seeker.
    func TestReadTruncation(t *testing.T) {
    	var ss []string
    	for _, p := range []string{
    		"testdata/gnu.tar",
    		"testdata/ustar-file-reg.tar",
    		"testdata/pax-path-hdr.tar",
    		"testdata/sparse-formats.tar",
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/io/Files.java

     *
     * <p>{@link java.nio.file.Path} users will find similar utilities in {@link MoreFiles} and the
     * JDK's {@link java.nio.file.Files} class.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Files {
    
      private Files() {}
    
      /**
       * Returns a buffered reader that reads from a file using the given character set.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Iterators.java

          hasPeeked = false;
          peekedElement = null;
          return result;
        }
    
        @Override
        public void remove() {
          checkState(!hasPeeked, "Can't remove after you've peeked at next");
          iterator.remove();
        }
    
        @Override
        @ParametricNullness
        public E peek() {
          if (!hasPeeked) {
            peekedElement = iterator.next();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
Back to Top