- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Neal (0.62 sec)
-
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// if this is a concern we could add special cases for some known charsets (like utf8) // or we could avoid inputstreamreader and use the decoder api directly // TODO(lukes): in a real implementation we would need to handle overflow conditions int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte()); char[] buffer = new char[maxChars]; int bufIndex = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0)