Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for errorData (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            int bodyLen = 8 + bc; // 8 bytes fixed + variable data
            byte[] buf = new byte[bodyLen];
            SMBUtil.writeInt2(9, buf, 0); // structureSize
            buf[2] = (byte) errorContextCount; // ErrorContextCount
            // one reserved byte at position 3
            SMBUtil.writeInt4(bc, buf, 4); // ByteCount
            if (bc > 0 && errorData != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        /**
         * Gets the error data associated with this message.
         *
         * @return the errorData
         */
        public final byte[] getErrorData() {
            return this.errorData;
        }
    
        /**
         * Gets the error context count for this message.
         *
         * @return the errorContextCount
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            // Error response structure: size(2)=9, errorContextCount(1), reserved(1), bc(4), errorData(bc)
            SMBUtil.writeInt2(9, buf, bodyStart);
            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE)
                return 0;
    
            // Adjust based on error rate
            double errorRate = getErrorRate();
            if (errorRate > 0.1)
                score -= 50;
            else if (errorRate > 0.01)
                score -= 20;
    
            // Adjust based on interface capabilities
            score += localInterface.getScore() / 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                    return true;
                }
            }
    
            // If we've had many errors, consider fallback
            double errorRate = statistics.getErrorRate();
            if (errorRate > 0.1) { // More than 10% error rate
                log.warn("High RDMA error rate ({:.1f}%), TCP fallback recommended", errorRate * 100);
                return true;
            }
    
            return false;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. docs/smb3-features/03-multi-channel-design.md

            if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE) return 0;
            
            // Adjust based on error rate
            double errorRate = getErrorRate();
            if (errorRate > 0.1) score -= 50;
            else if (errorRate > 0.01) score -= 20;
            
            // Adjust based on interface capabilities
            score += localInterface.getScore() / 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        }
    
        @Override
        public String toString() {
            return String.format(
                    "RdmaStatistics[reads=%d, writes=%d, sends=%d, receives=%d, "
                            + "bytes=%d, errors=%d, errorRate=%.3f, activeConnections=%d, activeMemRegions=%d]",
                    rdmaReads.get(), rdmaWrites.get(), rdmaSends.get(), rdmaReceives.get(), bytesTransferred.get(), operationErrors.get(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top