Examples of SnzMTInputStream


Examples of de.jarnbjo.jsnappy.SnzMTInputStream

        int iterations = 2500;

        long t0 = System.nanoTime();
        for(int i=0; i<iterations; i++) {
          SnzInputStream sis = mt ?
              new SnzMTInputStream(new ByteArrayInputStream(compressed)) :
              new SnzInputStream(new ByteArrayInputStream(compressed));
          while((r = sis.read(dummy)) >= 0) {
            l += r;
          }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.