Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,160 for readN (0.02 sec)

  1. src/bytes/buffer_test.go

    	// check not at EOF
    	b.WriteString("abcdefghijklmnopqrstuvwxyz")
    
    	// after unsuccessful read
    	if n, err := b.Read(nil); n != 0 || err != nil {
    		t.Fatalf("Read(nil) = %d,%v; want 0,nil", n, err)
    	}
    	if err := b.UnreadByte(); err == nil {
    		t.Fatal("UnreadByte after Read(nil): got no error")
    	}
    
    	// after successful read
    	if _, err := b.ReadBytes('m'); err != nil {
    		t.Fatalf("ReadBytes: %v", err)
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

     *  Fix: Don't call `EventListener.responseHeadersStart()` or `responseBodyStart()` until bytes have
        been received. Previously these events were incorrectly sent too early, when OkHttp was ready to
        read the response headers or body, which mislead tracing tools. Note that the `responseFailed()`
        event always used to follow one of these events; now it may be sent without them.
    
     *  New: Upgrade to Kotlin 1.3.61.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * Tests to see if the file this <code>SmbFile</code> represents can be
         * read. Because any file, directory, or other resource can be read if it
         * exists, this method simply calls the <code>exists</code> method.
         *
         * @return <code>true</code> if the file is read-only
         * @throws SmbException if an error occurs while checking read permissions
         */
    
        public boolean canRead() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            System.arraycopy(b, i, buf, index, l);
            advance(l);
        }
    
        /**
         * Reads an octet array from the buffer.
         *
         * @param b the byte array to read into
         * @param i the starting index in the array
         * @param l the number of bytes to read
         */
        public void readOctetArray(final byte[] b, final int i, final int l) {
            System.arraycopy(buf, index, b, i, l);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          // The removed stream may be blocked on a connection-wide window update.
          notifyAll()
    
          return stream
        }
      }
    
      internal fun updateConnectionFlowControl(read: Long) {
        withLock {
          readBytes.update(total = read)
          val readBytesToAcknowledge = readBytes.unacknowledged
          if (readBytesToAcknowledge >= okHttpSettings.initialWindowSize / 2) {
            writeWindowUpdateLater(0, readBytesToAcknowledge)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    type dirReader struct {
    	err error
    }
    
    func (r *dirReader) Read([]byte) (int, error) {
    	return 0, r.err
    }
    
    func (r *dirReader) Close() error {
    	return nil
    }
    
    type checksumReader struct {
    	rc    io.ReadCloser
    	hash  hash.Hash32
    	nread uint64 // number of bytes read so far
    	f     *File
    	desr  io.Reader // if non-nil, where to read the data descriptor
    	err   error     // sticky error
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

        private int getMaxChannelsFromConfig(Configuration config) {
            // In a real implementation, this would read from configuration
            return 4; // Default to 4 channels
        }
    
        private LoadBalancingStrategy getLoadBalancingStrategyFromConfig(Configuration config) {
            // In a real implementation, this would read from configuration
            return LoadBalancingStrategy.ROUND_ROBIN;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. ci/official/README.md

    # 3. Add modifiers. Some modifiers for local execution are:
    #      Ex. disk_cache -- Use a local cache
    #      Ex. public_cache -- Use TF's public cache (read-only)
    #      Ex. public_cache_push -- Use TF's public cache (read and write, Googlers only)
    #      Ex. rbe        -- Use RBE for faster builds (Googlers only; see below)
    #      Ex. no_docker  -- Disable docker on enabled platforms
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. docs/en/docs/management-tasks.md

    This way, we can notice when there are new translations ready, because they have the `approved-1` label.
    
    ## Merge Translation PRs
    
    For Spanish, as I'm a native speaker and it's a language close to me, I will give it a final review myself and in most cases tweak the PR a bit before merging it.
    
    For the other languages, confirm that:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    		}
    		ctx = lkctx.Context()
    
    		// Release lock when the metadata is verified, and reader
    		// is ready to be read.
    		//
    		// This is possible to be lock free because
    		// - xl.meta for inlined objects has already read the data
    		//   into memory, any mutation on xl.meta subsequently is
    		//   inconsequential to the overall read operation.
    		// - xl.meta metadata is still verified for quorum under lock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top