Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for decodingStream (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

      }
    
      @Benchmark
      public int decodingStream(int reps) throws IOException {
        int tmp = 0;
        byte[] target = new byte[n];
        for (int i = 0; i < reps; i++) {
          StringReader source = new StringReader(decodingInputs[i & INPUTS_MASK]);
          InputStream decodingStream = encoding.encoding.decodingStream(source);
          decodingStream.read(target);
          decodingStream.close();
          tmp += target[0];
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

      }
    
      @Benchmark
      public int decodingStream(int reps) throws IOException {
        int tmp = 0;
        byte[] target = new byte[n];
        for (int i = 0; i < reps; i++) {
          StringReader source = new StringReader(decodingInputs[i & INPUTS_MASK]);
          InputStream decodingStream = encoding.encoding.decodingStream(source);
          decodingStream.read(target);
          decodingStream.close();
          tmp += target[0];
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          throws IOException {
        byte[] bytes = decoded.getBytes(UTF_8);
        try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) {
          for (int i = 0; i < bytes.length; i++) {
            assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF);
          }
          assertThat(decodingStream.read()).isEqualTo(-1);
        }
      }
    
      public void testToString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
Back to Top