Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 103 for Align (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(0, transaction.pad(8)); // Already aligned
            assertEquals(3, transaction.pad(1)); // Need 3 bytes to align to 4
            assertEquals(2, transaction.pad(2)); // Need 2 bytes to align to 4
            assertEquals(1, transaction.pad(3)); // Need 1 byte to align to 4
        }
    
        @Test
        @DisplayName("Test getPadding method")
        void testGetPadding() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         *
         * @param size the size to align
         * @return the aligned size
         */
        protected static final int size8(final int size) {
            return size8(size, 0);
        }
    
        /**
         * Rounds up the size to the specified alignment.
         *
         * @param size the size to align
         * @param align the alignment boundary
         * @return the aligned size
         */
    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/main/webapp/css/admin/style.css

    }
    
    .top20 {
    	margin-top: 2.0em;
    }
    
    .top25 {
    	margin-top: 2.5em;
    }
    
    .top30 {
    	margin-top: 3.0em;
    }
    
    .container .text-muted {
    	margin: 20px 0;
    }
    
    .notification {
    	text-align: center;
    }
    
    ul.has-error {
    	color: #dd4b39 !important;
    	list-style-type: none;
    	padding: 0;
    }
    
    .form-group .has-error + .form-control {
    	border-color: #dd4b39 !important;
    	box-shadow: none;
    }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            int entry1Size = 12 + fileNameBytes1.length;
            int entry1AlignedSize = ((entry1Size + 3) / 4) * 4; // Align to 4 bytes
    
            int entry2Size = 12 + fileNameBytes2.length;
            int entry2AlignedSize = ((entry2Size + 3) / 4) * 4; // Align to 4 bytes
    
            // First notification
            buffer.putInt(entry1AlignedSize); // nextEntryOffset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. src/main/webapp/css/style.css

    }
    
    #result ol li {
    	margin: 1em 0;
    }
    
    #result ol li:first-child {
    	margin-top: 0;
    }
    
    #result .title a:visited {
    	color: #014c8c;
    }
    
    #result .body {
    	display: flex;
    	align-items: flex-start;
    }
    
    #result .site cite {
    	color: #093;
    	font-style: normal;
    }
    
    #result .more {
    	display: none;
    }
    
    #result .info {
    	font-size: 80%;
    }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. docs/assets/css/app.css

      font-weight: 300;
      font-size: 25px;
      line-height: 40px;
      padding: 3px 10px;
      display: inline-block;
      border-radius: 6px;
      color: #f0f0f0;
      margin: 5px 0;
      width: auto;
    }
    
    .logo {
      text-align: center;
      margin-top: 150px;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 08 07:57:03 UTC 2022
    - 1.1K bytes
    - Viewed (2)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write durable handle request data (16 bytes of reserved)
            for (int i = 0; i < 16; i++) {
                dst[dstIndex + i] = 0;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write file ID (16 bytes)
            System.arraycopy(fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            return dstIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            return 32;
        }
    
        @Override
        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("DLse")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Standard lease data: 32 bytes
            // Directory-specific data: 20 bytes (CacheScope(4) + MaxCacheAge(8) + Flags(4) + NotificationFilter(4))
            return 16 + 4 + 4 + 32 + 20;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacTest.java

                baos.write(new byte[8]);
    
                // SERVER_CHECKSUM data
                writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5);
                baos.write(mockChecksum);
    
                // Padding to align
                while (baos.size() < 104) {
                    baos.write(0);
                }
    
                // PRIVSVR_CHECKSUM data
                writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top