- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 56 for ASCII (1.88 sec)
-
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
} /** * Test encode/decode round trip with various data * * @throws Exception */ public void testEncodeDecode_RoundTrip() throws Exception { // Test with ASCII text final String text = "Hello, World!"; final byte[] textBytes = text.getBytes("UTF-8"); final String encoded = Base64Util.encode(textBytes); final byte[] decoded = Base64Util.decode(encoded);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
log.println("WARNING: The default OEM encoding " + DEFAULT_OEM_ENCODING + " does not appear to be supported by this JRE. The default encoding will be US-ASCII."); } DEFAULT_OEM_ENCODING = "US-ASCII"; } if (LogStream.level >= 4) { try { prp.store(log, "JCIFS PROPERTIES"); } catch (final IOException ioe) {}
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertEquals(longMessage, exception.getMessage()); }); // Test message with special characters String specialMessage = "Error: ñoñ-ASCII çhárácters & symbols!@#$%^&*()"; assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException(specialMessage); assertEquals(specialMessage, exception.getMessage());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
/* negotiation complete, remove the challenge object */ ssn.removeAttribute("NtlmHttpChal"); } else { final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII"); int index = auth.indexOf(':'); String user = index != -1 ? auth.substring(0, index) : auth; final String password = index != -1 ? auth.substring(index + 1) : "";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
@Test @DisplayName("Should decode bytes correctly") void testReadBytesWireFormat() throws Exception { // Given - Service string in ASCII String testService = "A:"; byte[] serviceBytes = testService.getBytes("ASCII"); byte[] buffer = new byte[serviceBytes.length + 1]; System.arraycopy(serviceBytes, 0, buffer, 0, serviceBytes.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
*/ public static String defaultString(final String str, final String defaultStr) { return str == null ? defaultStr : str; } /** * <p>Checks if the CharSequence contains only ASCII printable characters.</p> * * <p>{@code null} will return {@code false}. * An empty CharSequence (length()=0) will return {@code true}.</p> * * <pre>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
assertTrue(result.contains("totalAvailableEntries=5")); assertTrue(result.endsWith("]")); } @Test @DisplayName("Test readString with ASCII encoding") void testReadStringAscii() throws Exception { String testString = "TestString"; byte[] buffer = new byte[128]; byte[] stringBytes = testString.getBytes(StandardCharsets.US_ASCII);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0)