- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for ascii (0.03 sec)
-
android/guava-tests/test/com/google/common/io/FilesTest.java
assertEquals(ASCII, Files.toString(temp, UTF_8)); } public void testCopyIdenticalFiles() throws IOException { File temp1 = createTempFile(); Files.write(ASCII, temp1, UTF_8); File temp2 = createTempFile(); Files.write(ASCII, temp2, UTF_8); Files.copy(temp1, temp2); assertEquals(ASCII, Files.toString(temp2, UTF_8)); } public void testEqual() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
String name1 = "WORKSTATION "; System.arraycopy(name1.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16); src[srcIndex + 16] = 0x00; // hex code src[srcIndex + 17] = 0x04; // flags: active // Second name entry (18 bytes) String name2 = "DOMAIN "; System.arraycopy(name2.getBytes("US-ASCII"), 0, src, srcIndex + 19, 16); src[srcIndex + 34] = 0x00; // hex code
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* lookups. * * <p>During construction, names are normalized in two ways: * * <ol> * <li>ASCII uppercase characters are converted to lowercase. * <li>Unicode dot separators other than the ASCII period ({@code '.'}) are converted to the ASCII * period. * </ol> * * <p>The normalized values will be returned from {@link #toString()} and {@link #parts()}, and will
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
} catch (final UnsupportedEncodingException e) { return host; } } /** * Converts the given host string to ASCII using IDN. * * @param host the host string to convert * @return the ASCII representation of the host string */ protected String toAscii(final String host) { return IDN.toASCII(decode(host), flag); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
assertEquals(ASCII, Files.toString(temp, UTF_8)); } public void testCopyIdenticalFiles() throws IOException { File temp1 = createTempFile(); Files.write(ASCII, temp1, UTF_8); File temp2 = createTempFile(); Files.write(ASCII, temp2, UTF_8); Files.copy(temp1, temp2); assertEquals(ASCII, Files.toString(temp2, UTF_8)); } public void testEqual() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
descrField.setAccessible(true); String descr = (String) descrField.get(null); assertEquals("WrLeh\u0000B13BWz\u0000", descr); // Verify ASCII conversion byte[] descrBytes = descr.getBytes("ASCII"); assertNotNull(descrBytes); assertEquals(13, descrBytes.length); // WrLeh(5) + null(1) + B13BWz(6) + null(1) = 13 } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
} @ParameterizedTest @DisplayName("getBytes should handle various string inputs") @NullAndEmptySource @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский", "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" }) void testGetBytesWithVariousInputs(String input) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
*/ public static byte[] getUNIBytes(final String str) { return getBytes(str, UNI_ENCODING); } /** * Encodes a string into ASCII bytes. * * @param str the string to encode * @return the string as bytes (ASCII) */ public static byte[] getASCIIBytes(final String str) { return getBytes(str, ASCII_ENCODING); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java
} /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig { WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS), HASH(CharMatcher.is('#'), "#"), ASCII(CharMatcher.ascii(), ASCII_CHARACTERS), WESTERN_DIGIT("0123456789"), ALL_DIGIT(CharMatcher.digit(), ALL_DIGITS), OPS_5("+-*/%"), HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
this.cfg = new BaseConfiguration(true); } /** * Sub-class of {@link BaseConfiguration} that forces {@code useUnicode()} * to return {@code false}. This mimics an ASCII only client */ private static class OffUnicodeConfig extends BaseConfiguration { public OffUnicodeConfig() throws Exception { super(true); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0)