Giter VIP home page Giter VIP logo

jzran's People

Contributors

jkff avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

coderczp

jzran's Issues

net.jzran.RandomAccessGZip.Index state is not initialized to State.VOID when

What steps will reproduce the problem?
1. I'm using the source code available in the download section.
2.
SeekableInputStream sis = new FileSeekableInputStream(new RandomAccessFile(new 
File("content.zip"), "r"));
RandomAccessGZip.Index index = RandomAccessGZip.index(sis, 1048576);
index.open(sis);
3. new IllegalStateException("Can only call open() once") is thrown in 
net.jzran.RandomAccessGZip.Index.open

What is the expected output? What do you see instead?
Stream should be initialized. IllegalStateException

What version of the product are you using? On what operating system?
WindowsXP 32bit, jzran-0.2-src.zip


Please provide any additional information below.
Suggested fix: 
add this.state = State.VOID; to private Index(List<ZRan.Point> idx, long 
decompressedSize) at line 49 in RandomAccessGZip  

Original issue reported on code.google.com by [email protected] on 21 Nov 2013 at 2:29

Library depends on native zlib library

What steps will reproduce the problem?
1. Use the library
2. Discover it is based on native object code
3. ???

What is the expected output? What do you see instead?
I expected java implementation but discovered coupling to native zlib shared 
library.

What version of the product are you using? On what operating system?
0.2

Please provide any additional information below.
The library looks helpful and I believe I can adapt it to my purpose. 
Specifically I may implement custom index points based on occurrence of JSON 
tokens, and a look-ahead cache (provided I can determine optimal method of 
implementation - I haven't done much programming with caches). I am new to java 
so I may not fully understand the implications of interfacing with native code, 
but a pure java implementation might be better. Thoughts?


Original issue reported on code.google.com by [email protected] on 29 May 2014 at 12:44

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.