- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 554 for padding (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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))Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
ns.encode(buf); // should not throw // After encoding, check how many bytes were used int bytesUsed = buf.getIndex(); // Should be 2 bytes for the short value (alignment may add padding) assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short"); // Reset index to read back buf.reset(); NdrShort decoded = new NdrShort(0); // placeholder value
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// Prepare superclass fields for successful parsing setSuperclassFieldsForSuccessfulParsing(); byte[] src = new byte[10]; int srcIndex = 0; // Simulate groupName = false (0x00), nodeType = 0 (0x00) -> src[srcIndex] = 0x00 src[srcIndex] = (byte) 0x00; src[srcIndex + 1] = (byte) 0x00; // Reserved/padding byte // Simulate address = 192.168.1.1 (0xC0A80101)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertEquals(1, transaction.pad(3)); // Need 1 byte to align to 4 } @Test @DisplayName("Test getPadding method") void testGetPadding() { int padding = transaction.getPadding(); assertTrue(padding >= 0); } @Test @DisplayName("Test write operations") void testWriteOperations() { byte[] dst = new byte[1024];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
this.hasMore = false; } return this; } /** * Calculates padding needed for the given offset * @param offset * the current offset * @return padding size in bytes */ protected int pad(final int offset) { final int p = offset % getPadding(); if (p == 0) { return 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.3K bytes - Click Count (0) -
docs/assets/css/app.css
font-family: cash-market,"Helvetica Neue",helvetica,sans-serif; line-height: normal; font-weight: bold; } button.dl { 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;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 08 07:57:03 GMT 2022 - 1.1K bytes - Click Count (2) -
docs/en/docs/css/termynal.css
font-family: var(--md-code-font-family), 'Roboto Mono', 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; border-radius: 4px; padding: 75px 45px 35px; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; /* Custom line-height */ line-height: 1.2; } [data-termynal]:before { content: '';
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Nov 23 09:27:40 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
if (i < len) { System.arraycopy(input, offset + i, buffer, bufferNdx, len - i); } } /** * Completes the hash computation by performing final operations such * as padding. At the return of this engineDigest, the MD engine is * reset. * * @return the array of bytes for the resulting hash value. */ @Override public byte[] engineDigest() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
if (i != negotiateContextCount - 1) { int padding = pad8(ncpos); if (ncpos + padding > buffer.length) { throw new SMBProtocolDecodingException("Negotiate context padding extends beyond buffer at position " + i); } ncpos += padding; } } this.negotiateContexts = contexts;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
DirectoryLeaseContext context = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); // Context header: 16 bytes // Name: 4 bytes ("DLse") // Padding: 4 bytes // Standard lease data: 32 bytes // Directory-specific data: 20 bytes assertEquals(76, context.size()); } @Test public void testEncode() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0)