- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for Ascii (0.02 sec)
-
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) -
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/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/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) -
src/bytes/bytes.go
// given ASCII character in the set. The 128-bits of the lower 16 bytes, // starting with the least-significant bit of the lowest word to the // most-significant bit of the highest word, map to the full range of all // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed, // ensuring that any non-ASCII character will be reported as not in the set.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
BaseEncoding encoding, String decoded, String encoded) { testEncodingWithSeparators(encoding, decoded, encoded); testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); } private static void testEncodingWithSeparators( BaseEncoding encoding, String decoded, String encoded) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0)