Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 364 for Padding (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount"));
            assertEquals(4096, getPrivateField(cmd, "maxDataCount"));
        }
    
        @Test
        @DisplayName("writeSetupWireFormat writes subCommand and padding")
        void testWriteSetup() throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("foo");
            byte[] buf = new byte[2];
            int r = cmd.writeSetupWireFormat(buf, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Hexdump.java

            final char[] c = new char[size];
            toHexChars(val, c, 0, size);
            return new String(c);
        }
    
        /**
         * Converts a long value to a hexadecimal string representation with specified padding.
         *
         * @param val the long value to convert to hexadecimal
         * @param size the desired length of the resulting hex string (will be left-padded with zeros)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(18, ServerMessageBlock2.size8(15, 2));
            }
    
            @Test
            @DisplayName("Should calculate padding")
            void testPad8() {
                testMessage.encode(new byte[1024], 0);
                // After header is written, padding depends on position
                int headerStart = testMessage.getHeaderStart();
                assertEquals(0, headerStart); // Should start at 0
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/bootstrap.min.js.map

    }\n\n  _resetScrollbar() {\n    // Restore fixed content padding\n    const fixedContent = [].slice.call(document.querySelectorAll(SELECTOR_FIXED_CONTENT))\n    $(fixedContent).each((index, element) => {\n      const padding = $(element).data('padding-right')\n      $(element).removeData('padding-right')\n      element.style.paddingRight = padding ? padding : ''\n    })\n\n    // Restore sticky content\n    const elements = [].slice.call(document.querySelectorAll(`${SELECTOR_STICKY_CONTENT}`))\n   ...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/bootstrap.min.js

    nction(e,n){var i=n.style.paddingRight,a=o.default(n).css("padding-right");o.default(n).data("padding-right",i).css("padding-right",parseFloat(a)+t._scrollbarWidth+"px")})),o.default(n).each((function(e,n){var i=n.style.marginRight,a=o.default(n).css("margin-right");o.default(n).data("margin-right",i).css("margin-right",parseFloat(a)-t._scrollbarWidth+"px")}));var i=document.body.style.paddingRight,a=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",i).c...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            final int exp = size();
            final int actual = getLength();
            if (exp != actual) {
                // Log the size mismatch for debugging but don't throw exception
                // This can occur due to padding alignment differences between size8() and pad8()
                if (log.isDebugEnabled()) {
                    log.debug("Size calculation mismatch: expected {} but got {} (difference: {})", exp, actual, actual - exp);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe");
            byte[] dst = new byte[10];
    
            // writeSetupWireFormat writes 4 bytes:
            // - subCommand byte
            // - 3 zero bytes (padding and no FID)
            int written = pipe.writeSetupWireFormat(dst, 0);
    
            assertEquals(4, written, "Setup should write 4 bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/security.js

    .match(/([0-9])/)&&(b+=15),a.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&a.match(/([a-zA-Z])/)&&(b+=15),(a.match(/^\w+$/)||a.match(/^\d+$/))&&(b-=10),b<0&&(b=0),b>100&&(b=100),b<20?0:b<40?1:b<=60?2:3},strengthDisplay:function(b,c){var d={fontSize:"12pt",padding:"4px",bad:"Very bad",weak:"Weak",good:"Good",strong:"Strong"};c&&a.extend(d,c),b.bind("keyup",function(){var b=a(this).val(),c="undefined"==typeof d.parent?a(this).parent():a(d.parent),e=c.find(".strength-meter"),f=a.formUtils.validators.validate...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (1)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Arrange
                context = new PreauthIntegrityNegotiateContext();
                byte[] buffer = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // Padding
                        0x01, 0x00, // 1 hash algo
                        0x02, 0x00, // 2 bytes salt
                        0x01, 0x00, // SHA512
                        (byte) 0xAA, (byte) 0xBB // Salt
                };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // Verify - actual implementation reads 20 bytes (4 + 4 + 4 + 4 + 4)
            // bytesPerSect is read as Int2 but advances by 4 bytes (padding)
            assertEquals(20, bytesDecoded);
    
            // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect
            long expectedCapacity = alloc * sectPerAlloc * bytesPerSect;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top