jkff / jzran Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jzran
Automatically exported from code.google.com/p/jzran
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.