- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 371 for Charset (0.82 sec)
-
android/guava-tests/test/com/google/common/base/Utf8Test.java
/** Tests that round tripping of all two byte permutations work. */ @GwtIncompatible // java.nio.charset.Charset public void testIsWellFormed_1Byte() { testBytes(1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT); } /** Tests that round tripping of all two byte permutations work. */ @GwtIncompatible // java.nio.charset.Charset public void testIsWellFormed_2Bytes() { testBytes(2, EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
* @param url the URL to read from * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for * helpful predefined constants * @return a string containing all the characters from the URL * @throws IOException if an I/O error occurs. */ public static String toString(URL url, Charset charset) throws IOException { return asCharSource(url, charset).read(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
* * @param is the input stream to read from * @param charset the character encoding to use for reading * @param bufferSize the maximum number of lines to keep in the buffer (0 to disable buffering) * @param outputCallback optional callback function to process each line (can be null) */ public InputStreamThread(final InputStream is, final Charset charset, final int bufferSize, final Consumer<String> outputCallback) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.logging import java.io.IOException import java.nio.charset.Charset import java.util.TreeSet import java.util.concurrent.TimeUnit import okhttp3.Headers import okhttp3.HttpUrl import okhttp3.Interceptor import okhttp3.OkHttpClient import okhttp3.Response
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSink.java
} } /** * A char sink that encodes written characters with a charset and writes resulting bytes to this * byte sink. */ private final class AsCharSink extends CharSink { private final Charset charset; private AsCharSink(Charset charset) { this.charset = checkNotNull(charset); } @Override public Writer openStream() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
} } /** * A char sink that encodes written characters with a charset and writes resulting bytes to this * byte sink. */ private final class AsCharSink extends CharSink { private final Charset charset; private AsCharSink(Charset charset) { this.charset = checkNotNull(charset); } @Override public Writer openStream() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
} public void testForStringsCharset() { for (Charset charset : Charset.availableCharsets().values()) { PrimitiveSink primitiveSink = mock(PrimitiveSink.class); Funnels.stringFunnel(charset).funnel("test", primitiveSink); verify(primitiveSink).putString("test", charset); } } public void testForStringsCharset_null() { for (Charset charset : Charset.availableCharsets().values()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
plusIsSpace = false, charset = charset, ) values += value.canonicalizeWithCharset( encodeSet = FORM_ENCODE_SET, // Plus is encoded as `%2B`, space is encoded as plus. plusIsSpace = false, charset = charset, ) } fun addEncoded( name: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
return new MockResponse() .setStatus("HTTP/1.1 404") .addHeader("content-type: text/plain; charset=utf-8") .setBody("NOT FOUND: " + path); } catch (IOException e) { return new MockResponse() .setStatus("HTTP/1.1 500") .addHeader("content-type: text/plain; charset=utf-8") .setBody("SERVER ERROR: " + e); } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
if (allBmp(string)) { assertHash(expected, murmur3_32().hashString(string, charset)); } assertHash(expected, murmur3_32_fixed().hashString(string, charset)); assertHash(expected, murmur3_32().newHasher().putString(string, charset).hash()); assertHash(expected, murmur3_32_fixed().newHasher().putString(string, charset).hash());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8.4K bytes - Viewed (0)