- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 337 for Encoding (0.06 sec)
-
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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertThat(encoding.canDecode(encoded)).isTrue(); assertThat(encoding.decode(encoded)).isEqualTo(decoded); } private static void assertFailsToDecode(BaseEncoding encoding, String cannotDecode) { assertFailsToDecode(encoding, cannotDecode, null); } private static void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.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) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
apply { encodings[ 0x0] = encoding // Null character encodings[ 0x1] = encoding // Start of Header encodings[ 0x2] = encoding // Start of Text encodings[ 0x3] = encoding // End of Text encodings[ 0x4] = encoding // End of Transmission encodings[ 0x5] = encoding // Enquiry encodings[ 0x6] = encoding // Acknowledgment encodings[ 0x7] = encoding // Bell
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
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
// Mock the derive method to return a buffer for node encoding when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer); // When: Encoding the UUID uuid.encode(mockNdrBuffer); // Then: Verify the encoding sequence verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).enc_ndr_long(0x12345678);
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/util/StringsTest.java
assertArrayEquals(ASCII_STRING.getBytes(StandardCharsets.US_ASCII), result, "Should produce same bytes as ASCII encoding"); } } @Nested @DisplayName("OEM Encoding Tests") class OEMEncodingTests { @Test @DisplayName("getOEMBytes should use configuration encoding") void testGetOEMBytes() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
* @param params The parameter string. * @param paramList Additional parameters. * @param encoding The encoding. * @return The HttpEntity containing the parsed parameters. */ protected HttpEntity parseRequestParameters(final String params, final List<Pair<String, String>> paramList, final String encoding) { try { final List<BasicNameValuePair> parameters =
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} return normalizeEncoding(encoding); } /** * Normalizes the encoding name using the encoding helper. * * @param encoding the encoding name to normalize * @return the normalized encoding name */ protected String normalizeEncoding(final String encoding) { try {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.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)