- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 730 for charsA (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
public List<Character> create(Character[] elements) { char[] chars = Chars.toArray(asList(elements)); return charactersOf(String.copyValueOf(chars)); } } public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator { @Override public List<Character> create(Character[] elements) { char[] chars = Chars.toArray(asList(elements));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
protected void handleLine(String line, String end) { lines.add(line + end); } }; char[] chars = input.toCharArray(); int off = 0; while (off < chars.length) { int len = min(chars.length, off + chunk) - off; lineBuf.add(chars, off, len); off += len; } lineBuf.finish(); return lines; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
protected void handleLine(String line, String end) { lines.add(line + end); } }; char[] chars = input.toCharArray(); int off = 0; while (off < chars.length) { int len = min(chars.length, off + chunk) - off; lineBuf.add(chars, off, len); off += len; } lineBuf.finish(); return lines; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
assertArrayEquals(expectedBytes, actualBytes); // Verify it's actually UTF-16LE (each ASCII char should be followed by 0x00) int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8; for (int i = 0; i < testPath.length(); i++) { char c = testPath.charAt(i); if (c < 128) { // ASCII character assertEquals(c, buffer[pathStart + i * 2]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt
val charset: Charset get() { val charset = authParams["charset"] if (charset != null) { try { return Charset.forName(charset) } catch (ignore: Exception) { } } return ISO_8859_1 } constructor(scheme: String, realm: String) : this(scheme, singletonMap("realm", realm)) init { val newAuthParams = mutableMapOf<String?, String>()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 15:01:35 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertThat(MediaType.parse("text/plain; charset =utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain; charset= utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain; charset = utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain;charset =utf-8").charset()).hasValue(UTF_8); } public void testGetCharset() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
} static CharMatcher from(BitSet chars, String description) { // Compute the filter. long filter = 0; int size = chars.cardinality(); boolean containsZero = chars.get(0); // Compute the hash table. char[] table = new char[chooseTableSize(size)]; int mask = table.length - 1; for (int c = chars.nextSetBit(0); c != -1; c = chars.nextSetBit(c + 1)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
String result = Hexdump.toHexString(data); assertEquals(2048, result.length()); // 1024 bytes * 2 chars // Test partial conversion String partial = Hexdump.toHexString(data, 512, 256); assertEquals(512, partial.length()); // 256 bytes * 2 chars assertTrue(partial.startsWith("00010203")); // 512 % 256 = 0, so starts at 0 }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
* {@code Charset}. * * @since 15.0 */ public static Funnel<CharSequence> stringFunnel(Charset charset) { return new StringCharsetFunnel(charset); } private static final class StringCharsetFunnel implements Funnel<CharSequence> { private final Charset charset; StringCharsetFunnel(Charset charset) { this.charset = Preconditions.checkNotNull(charset); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnels.java
* {@code Charset}. * * @since 15.0 */ public static Funnel<CharSequence> stringFunnel(Charset charset) { return new StringCharsetFunnel(charset); } private static final class StringCharsetFunnel implements Funnel<CharSequence> { private final Charset charset; StringCharsetFunnel(Charset charset) { this.charset = Preconditions.checkNotNull(charset); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0)