- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 405 for Encoding (0.05 seconds)
-
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 */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (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 // BellCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
*/ public static int copy(final InputStream in, final String encoding, final Writer out) { assertArgumentNotNull("in", in); assertArgumentNotEmpty("encoding", encoding); assertArgumentNotNull("out", out); final Reader is = ReaderUtil.create(wrap(in), encoding); return copyInternal(is, wrap(out)); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 45.2K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.9K bytes - Click Count (0) -
api/go1.6.txt
pkg encoding/asn1, const TagBitString ideal-int pkg encoding/asn1, const TagBoolean = 1 pkg encoding/asn1, const TagBoolean ideal-int pkg encoding/asn1, const TagEnum = 10 pkg encoding/asn1, const TagEnum ideal-int pkg encoding/asn1, const TagGeneralString = 27 pkg encoding/asn1, const TagGeneralString ideal-int pkg encoding/asn1, const TagGeneralizedTime = 24 pkg encoding/asn1, const TagGeneralizedTime ideal-int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 13 23:40:13 GMT 2016 - 12.9K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
/** * Reads text from a file with the specified encoding. * * @param path * The file path. Must not be {@literal null} or empty. * @param encoding * The encoding. Must not be {@literal null} or empty. * @return The text read from the file. */ public static String readText(final String path, final String encoding) { assertArgumentNotEmpty("path", path);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0)