- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 344 for encodes (0.58 sec)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
*/ public ShareInfo0() { } /** * The network name of the share. */ public String netname; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(netname, 1); if (netname != null) { _dst = _dst.deferred;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
byte[] buffer = new byte[22]; int idFileSystem = 0x12345678; int sectPerAlloc = 8; long alloc = 1000000L; long free = 500000L; int bytesPerSect = 512; // Encode test data int offset = 0; SMBUtil.writeInt4(idFileSystem, buffer, offset); // idFileSystem (skipped) offset += 4; SMBUtil.writeInt4(sectPerAlloc, buffer, offset); offset += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE); return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) (this.replaceIfExists ? 1 : 0); dstIndex += 8; // 7 Reserved
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
/** * Gets the total length of this message. * * @return the length */ public final int getLength() { return this.length; } @Override public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); this.byteCount = writeBytesWireFormat(dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
} @Test @DisplayName("Test encode and decode operations") void testEncodeDecodeOperations() { byte[] buffer = new byte[1024]; // Initialize transaction buffer to avoid NPE transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]); // Test encode int encodeLength = transaction.encode(buffer, 0); assertTrue(encodeLength > 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvTimestamp.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
} @Test @DisplayName("Test encode without andx command") void testEncodeWithoutAndx() { testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25); byte[] buffer = new byte[1024]; int length = testBlock.encode(buffer, 0); assertTrue(length > 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
assertEquals(expectedDecodeLength, response.decode(buffer, bufferIndex)); // Test encode method byte[] dst = new byte[512]; int dstIndex = 0; int expectedEncodeLength = 64; when(response.encode(dst, dstIndex)).thenReturn(expectedEncodeLength); assertEquals(expectedEncodeLength, response.encode(dst, dstIndex)); // Test digest methods
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 }; String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message)); when(request.getHeader("Authorization")).thenReturn(authHeader); when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0)