- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 378 for decoding (0.25 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
* <p> * The class only contains an encode/decode pair that delegates to * {@link NdrBuffer#enc_ndr_hyper(long)} and {@link NdrBuffer#dec_ndr_hyper()}. * The tests verify that: * <ul> * <li>encoding and decoding round‑trip correctly handle typical, zero, * and extreme {@code long} values.</li> * <li>encode/decode methods interact correctly with a mocked * {@link NdrBuffer} so that the correct method is called withRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
* Applies URL decoding with the specified character encoding. * * @param queryString the query string to parse * @param enc the character encoding to use for URL decoding * @return a map of parameter names to their decoded values * @throws IOException if an error occurs during URL decoding */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
return url; } /** * Extracts and processes the site path from a URL with proper encoding handling. * Removes protocol, query parameters, and applies URL decoding based on encoding settings. * * @param u the URL string to process * @param encoding the character encoding to use for URL decoding * @return the processed site path, abbreviated if necessary */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
} /** * Creates a security descriptor by decoding from a byte buffer. * * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link NdrShort}. The tests cover construction, * encoding and decoding logic, masking behaviour, alignment handling and * interaction with {@link NdrBuffer}. All public behaviour is exercised. */ @ExtendWith(MockitoExtension.class) class NdrShortTest { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlock.java
*/ package jcifs.internal; import jcifs.util.transport.Message; /** * Common interface for all SMB message blocks in the jCIFS protocol implementation. * Provides core functionality for encoding/decoding SMB messages, handling message signing, * and managing message metadata such as IDs, commands, and authentication information. * * @author mbechler */ public interface CommonServerMessageBlock extends Message {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
*/ package org.codelibs.core.misc; import java.util.Base64; import org.codelibs.core.collection.ArrayUtil; import org.codelibs.core.lang.StringUtil; /** * Utility class for handling Base64 encoding and decoding. * <p> * This class now uses the standard {@link java.util.Base64} implementation * instead of a custom implementation, providing better security and performance.Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
// Close the static mock mockedStaticAuthData.close(); } /** * Test constructor with a valid ASN.1 token. * * @throws IOException if ASN.1 encoding fails. * @throws PACDecodingException if PAC decoding fails. */ @Test void testConstructor_ValidToken() throws IOException, PACDecodingException { // 1. GIVENRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
} // Simulate some encoding activity on the buffer dst.enc_ndr_long(123); } @Override public void decode(NdrBuffer src) throws NdrException { if (throwOnDecode) { throw new NdrException("Failed to decode"); } // Simulate some decoding activity on the buffer src.dec_ndr_long(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
Encdec.dec_uint32le(smallBuffer, 0); }); } @Test @DisplayName("Should handle time encoding/decoding") void testTimeOperations() { // Given Date currentDate = new Date(); byte[] buffer = new byte[8]; // When - Use direct encoding methods since time constants are private Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0)