Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 694 for nBytes (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Add bytes sent
         *
         * @param bytes number of bytes
         */
        public void addBytesSent(long bytes) {
            bytesSent.addAndGet(bytes);
        }
    
        /**
         * Add bytes received
         *
         * @param bytes number of bytes
         */
        public void addBytesReceived(long bytes) {
            bytesReceived.addAndGet(bytes);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // idFileSystem (4 bytes) - skipped in decode
            SMBUtil.writeInt4(0, buffer, offset);
            offset += 4;
    
            // sectPerAlloc (4 bytes)
            SMBUtil.writeInt4(8, buffer, offset);
            offset += 4;
    
            // alloc (4 bytes)
            SMBUtil.writeInt4(1000000, buffer, offset);
            offset += 4;
    
            // free (4 bytes)
            SMBUtil.writeInt4(500000, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // TID (2 bytes)
            buffer[24] = 0x01;
            buffer[25] = 0x00;
    
            // PID (2 bytes)
            buffer[26] = 0x02;
            buffer[27] = 0x00;
    
            // UID (2 bytes)
            buffer[28] = 0x03;
            buffer[29] = 0x00;
    
            // MID (2 bytes)
            buffer[30] = 0x04;
            buffer[31] = 0x00;
    
            // Word count
            buffer[32] = 10; // 10 words = 20 bytes
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            // Verify bytes written
            assertTrue(bytesWritten > 0);
            assertEquals(19, bytesWritten); // 2 + 13 + 2 + 2
    
            // Verify NET_SHARE_ENUM command (2 bytes)
            assertEquals(SmbComTransaction.NET_SHARE_ENUM, dst[0]);
            assertEquals(0, dst[1]);
    
            // Verify descriptor (WrLeh\0B13BWz\0 in ASCII - 13 bytes)
            String expectedDescr = "WrLeh\u0000B13BWz\u0000";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

        public void setEpoch(int epoch) {
            this.epoch = epoch;
        }
    
        @Override
        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("RqL2")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 52 bytes (lease V2 structure)
            return 16 + 4 + 4 + 52;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Strings.java

         *
         * @param str the string to encode
         * @return the string as bytes (UTF16-LE)
         */
        public static byte[] getUNIBytes(final String str) {
            return getBytes(str, UNI_ENCODING);
        }
    
        /**
         * Encodes a string into ASCII bytes.
         *
         * @param str the string to encode
         * @return the string as bytes (ASCII)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenTargTest.java

            NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic);
    
            // Act – serialise and parse back
            byte[] bytes = original.toByteArray();
            NegTokenTarg roundTrip = new NegTokenTarg(bytes);
    
            // Assert – all getters match the original values
            assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MD4.java

         * context and count, and leaving (buffering) the remaining bytes in buffer
         * for the next update or finish.
         *
         * @param    input    input block
         * @param    offset    start of meaningful bytes in input
         * @param    len        count of bytes in input block to consider
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

        }
    
        /**
         * Get preferred send size
         *
         * @return preferred send size in bytes
         */
        public int getPreferredSendSize() {
            return preferredSendSize;
        }
    
        /**
         * Set preferred send size
         *
         * @param preferredSendSize preferred send size in bytes
         */
        public void setPreferredSendSize(int preferredSendSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        /** Total number of parameter bytes the server is returning */
        protected int totalParameterCount;
        /** Total number of data bytes the server is returning */
        protected int totalDataCount;
        /** Number of parameter bytes in this response */
        protected int parameterCount;
        /** Offset from the start of the SMB header to the parameter bytes */
        protected int parameterOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top