Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getbufvar (0.36 sec)

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

          OutputStream encodingStream = encoding.encoding.encodingStream(target);
          encodingStream.write(encodingInputs[i & INPUTS_MASK]);
          encodingStream.close();
          tmp += target.getBuffer().length();
        }
        return tmp;
      }
    
      @Benchmark
      public int decodingStream(int reps) throws IOException {
        int tmp = 0;
        byte[] target = new byte[n];
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      @GuardedBy("this")
      @CheckForNull
      private File file;
    
      /** ByteArrayOutputStream that exposes its internals. */
      private static class MemoryOutput extends ByteArrayOutputStream {
        byte[] getBuffer() {
          return buf;
        }
    
        int getCount() {
          return count;
        }
      }
    
      /** Returns the file holding the data (possibly null). */
      @VisibleForTesting
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

          OutputStream encodingStream = encoding.encoding.encodingStream(target);
          encodingStream.write(encodingInputs[i & INPUTS_MASK]);
          encodingStream.close();
          tmp += target.getBuffer().length();
        }
        return tmp;
      }
    
      @Benchmark
      public int decodingStream(int reps) throws IOException {
        int tmp = 0;
        byte[] target = new byte[n];
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
Back to top