Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,640 for writer (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
          return
        }
        try {
          super.write(source, byteCount)
        } catch (e: IOException) {
          hasErrors = true
          onException(e)
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

                // Write version minor (1 byte)
                buffer[bufferIndex++] = (byte) versionMinors[i];
    
                // Write type (4 bytes)
                SMBUtil.writeInt4(serverTypes[i], buffer, bufferIndex);
                bufferIndex += 4;
    
                // Write comment offset (4 bytes)
                SMBUtil.writeInt4(commentOffset, buffer, bufferIndex);
                bufferIndex += 4;
    
                // Write comment at offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. docs/smb3-features/05-rdma-smb-direct-design.md

            // Add RDMA read channel info
            writeInt4(dst, dstIndex + written, rdmaChannelInfo.getRemoteKey());
            written += 4;
            writeInt8(dst, dstIndex + written, rdmaChannelInfo.getAddress());
            written += 8;
            writeInt4(dst, dstIndex + written, rdmaChannelInfo.getLength());
            written += 4;
        }
        
        return written;
    }
    
    public static class RdmaChannelInfo {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashingOutputStream.java

      }
    
      @Override
      public void write(int b) throws IOException {
        hasher.putByte((byte) b);
        out.write(b);
      }
    
      @Override
      public void write(byte[] bytes, int off, int len) throws IOException {
        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. docs/metrics/healthcheck/README.md

    ## Cluster probe
    
    ### Cluster-writeable probe
    
    The reply is '200 OK' if cluster has write quorum if not it returns '503 Service Unavailable'.
    
    ```
    curl http://minio1:9001/minio/health/cluster
    HTTP/1.1 503 Service Unavailable
    Accept-Ranges: bytes
    Content-Length: 0
    Server: MinIO
    Vary: Origin
    X-Amz-Bucket-Region: us-east-1
    X-Minio-Write-Quorum: 3
    X-Amz-Request-Id: 16239D6AB80EBECF
    X-Xss-Protection: 1; mode=block
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jul 06 16:18:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertEquals(0x40, Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER);
            assertEquals(0x80, Smb2TreeConnectResponse.SMB2_SHARE_CAP_ASYMMETRIC);
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. cmd/metrics-v3-cluster-erasure-set.go

    		"Overall write quorum across pools and sets")
    	erasureSetOverallHealthMD = NewGaugeMD(erasureSetOverallHealth,
    		"Overall health across pools and sets (1=healthy, 0=unhealthy)")
    	erasureSetReadQuorumMD = NewGaugeMD(erasureSetReadQuorum,
    		"Read quorum for the erasure set in a pool", poolIDL, setIDL)
    	erasureSetWriteQuorumMD = NewGaugeMD(erasureSetWriteQuorum,
    		"Write quorum for the erasure set in a pool", poolIDL, setIDL)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            assertEquals(4, bytesWritten);
    
            // Verify structure size (4) is written at offset
            assertEquals(4, SMBUtil.readInt2(buffer, offset));
    
            // Verify reserved field (0) is written at offset + 2
            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
        }
    
        @Test
        @DisplayName("Should write exact wire format structure")
        void testWriteBytesWireFormatStructure() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaAccess.java

        /**
         * Local read access to the memory region
         */
        LOCAL_READ,
    
        /**
         * Local write access to the memory region
         */
        LOCAL_WRITE,
    
        /**
         * Remote read access to the memory region
         */
        REMOTE_READ,
    
        /**
         * Remote write access to the memory region
         */
        REMOTE_WRITE,
    
        /**
         * Memory bind access for advanced operations
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. .github/pull_request_template.md

    - [ ] Your pull request should address just one issue, without pulling in other changes.
    - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
    - [ ] Each commit in the pull request should have a meaningful subject line and body.
      Note that commits might be squashed by a maintainer on merge.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top