- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 854 for decoding (0.1 sec)
-
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
// Create buffer for encoding - initially allocate some space byte[] encodeBuffer = new byte[1024]; NdrBuffer dst = new NdrBuffer(encodeBuffer, 0); info1.encode(dst); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); // Use the encoded buffer for decoding NdrBuffer src = new NdrBuffer(encodeBuffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
// When: Decoding the unicode string unicodeString.decode(mockNdrBuffer); // Then: Verify the decoding sequence and values verify(mockNdrBuffer).align(4); verify(mockNdrBuffer, times(2)).dec_ndr_short(); verify(mockNdrBuffer).dec_ndr_long(); // No deferred decoding for null buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
array.entries = new samr.SamrSamEntry[1]; // Pre-populate to avoid decoding array.entries[0] = new samr.SamrSamEntry(); when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // count, _entriesp when(mockDeferredBuffer.dec_ndr_long()).thenReturn(1); // _entriess // Setup deferred buffer chain for entry decoding mockDeferredBuffer.deferred = mockDeferredBuffer;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
// Create separate mocks for encoding and decoding to simulate real buffer NdrBuffer encodeBuffer = mock(NdrBuffer.class); NdrBuffer decodeBuffer = mock(NdrBuffer.class); when(decodeBuffer.dec_ndr_short()).thenReturn(originalValue); // When: Encoding then decoding ndrShort1.encode(encodeBuffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
array.entries = new samr.SamrSamEntry[1]; // Pre-populate to avoid decoding array.entries[0] = new samr.SamrSamEntry(); when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // count, _entriesp when(mockDeferredBuffer.dec_ndr_long()).thenReturn(1); // _entriess // Setup deferred buffer chain for entry decoding mockDeferredBuffer.deferred = mockDeferredBuffer;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
*/ public void setFlag(final int flag) { this.flag = flag; } /** * Sets the encoding for URL decoding. * * @param encoding the encoding to set */ public void setEncoding(final String encoding) { this.encoding = encoding; }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
} @Test @DisplayName("Test context encoding") public void testEncoding() { byte[] buffer = new byte[256]; int encodedSize = context.encode(buffer, 0); assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms assertEquals(context.size(), encodedSize); } @Test @DisplayName("Test context decoding")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrObject.java
* This abstract class defines the interface for encoding and decoding NDR data types. */ public abstract class NdrObject { /** * Default constructor for NDR object */ public NdrObject() { // Default constructor } /** * Encodes this NDR object into the specified buffer * @param dst the destination buffer for encoding * @throws NdrException if encoding fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java
* This abstract class defines the interface for encoding and decoding NDR data types. */ public abstract class NdrObject { /** * Default constructor for NDR object */ public NdrObject() { // Default constructor } /** * Encodes this NDR object into the specified buffer * @param dst the destination buffer for encoding * @throws NdrException if encoding fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PACDecodingException.java
private static final long serialVersionUID = 1L; /** * Constructs a new PAC decoding exception with no detail message. */ public PACDecodingException() { this(null, null); } /** * Constructs a new PAC decoding exception with the specified detail message. * @param message the detail message */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)