- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 910 for charter (0.03 sec)
-
android/guava/src/com/google/common/net/PercentEscaper.java
* <ul> * <li>All specified safe characters remain unchanged. * <li>If {@code plusForSpace} was specified, the space character " " is converted into a plus * sign {@code "+"}. * <li>All other characters are converted into one or more bytes using UTF-8 encoding and each * byte is then represented by the 3-character string "%XX", where "XX" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
val mediaType = parse("text/plain; charset=utf-8; charset=UTF-8") assertEquals("UTF-8", mediaType.charsetName()) } @Test fun testMultipleCharsetsReturnsFirstMatch() { val mediaType = parse("text/plain; charset=utf-8; charset=utf-16") assertEquals("UTF-8", mediaType.charsetName()) } /** * This is invalid according to RFC 822. But it's what Chrome does and it avoids a potentially
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt
} internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> { var charset: Charset = Charsets.UTF_8 var finalContentType: MediaType? = this if (this != null) { val resolvedCharset = this.charset() if (resolvedCharset == null) { charset = Charsets.UTF_8 finalContentType = "$this; charset=utf-8".toMediaTypeOrNull() } else { charset = resolvedCharset } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHashFunction.java
int len = input.length(); return newHasher(len * 2).putUnencodedChars(input).hash(); } @Override public HashCode hashString(CharSequence input, Charset charset) { return newHasher().putString(input, charset).hash(); } @Override public HashCode hashInt(int input) { return newHasher(4).putInt(input).hash(); } @Override public HashCode hashLong(long input) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
abstract Table<String, Integer, Character> createTable(); @Override @SuppressWarnings("unchecked") public Cell<String, Integer, Character>[] createArray(int length) { return (Cell<String, Integer, Character>[]) new Cell<?, ?, ?>[length]; } @Override public List<Cell<String, Integer, Character>> order( List<Cell<String, Integer, Character>> insertionOrder) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
} /** * Returns the escaped form of the given character, or {@code null} if this character does not * need to be escaped. If an empty array is returned, this effectively strips the input character * from the resulting text. * * <p>If the character does not need to be escaped, this method should return {@code null}, rather * than a one-character array containing the character itself. This enables the escaping algorithm
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java
super(false, false, false, false); } @Override Table<Integer, String, Character> makeTable() { Table<Integer, String, Character> original = HashBasedTable.create(); return unmodifiableTable(original); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { Table<Integer, String, Character> table = HashBasedTable.create(); table.put(1, "foo", 'a'); table.put(1, "bar", 'b');
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
String[] BAD_STRINGS = { String.valueOf(Character.MIN_LOW_SURROGATE), Character.MIN_LOW_SURROGATE + "xyz", "abc" + Character.MIN_LOW_SURROGATE, "abc" + Character.MIN_LOW_SURROGATE + "xyz", String.valueOf(Character.MAX_LOW_SURROGATE), Character.MAX_LOW_SURROGATE + "xyz", "abc" + Character.MAX_LOW_SURROGATE, "abc" + Character.MAX_LOW_SURROGATE + "xyz", };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
String[] BAD_STRINGS = { String.valueOf(Character.MIN_LOW_SURROGATE), Character.MIN_LOW_SURROGATE + "xyz", "abc" + Character.MIN_LOW_SURROGATE, "abc" + Character.MIN_LOW_SURROGATE + "xyz", String.valueOf(Character.MAX_LOW_SURROGATE), Character.MAX_LOW_SURROGATE + "xyz", "abc" + Character.MAX_LOW_SURROGATE, "abc" + Character.MAX_LOW_SURROGATE + "xyz", };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
@SuppressWarnings("unchecked") // C can only be @Nullable Character or Character protected @NonNull C cellValue(Character character) { return (C) character; } // Only safe wrt. ClassCastException. Not null-safe (can be used to test expected Table NPEs) @SuppressWarnings("unchecked") protected C nullableCellValue(@Nullable Character character) { return (C) character; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.8K bytes - Viewed (0)