HomeSort by relevance Sort by last modified time
    Searched refs:arrayCache (Results 1 - 25 of 40) sorted by null

1 2

  /external/xz-java/src/org/tukaani/xz/
ResettableArrayCache.java 16 * An ArrayCache wrapper that remembers what has been allocated
21 public class ResettableArrayCache extends ArrayCache {
22 private final ArrayCache arrayCache;
24 // Lists of arrays that have been allocated from the arrayCache.
29 * Creates a new ResettableArrayCache based on the given ArrayCache.
31 public ResettableArrayCache(ArrayCache arrayCache) {
32 this.arrayCache = arrayCache;
    [all...]
ArrayCache.java 2 * ArrayCache
21 * The {@code ArrayCache} API provides a way to cache large array allocations
27 * <b>Important: The users of ArrayCache don't return the allocated arrays
55 * If no {@code ArrayCache} is specified when constructing a compressor or
56 * decompressor, the default {@code ArrayCache} implementation is used.
57 * See {@link #getDefaultCache()} and {@link #setDefaultCache(ArrayCache)}.
67 public class ArrayCache {
71 private static final ArrayCache dummyCache = new ArrayCache();
74 * Global default {@code ArrayCache} that is used when no other cache ha
    [all...]
FilterEncoder.java 17 ArrayCache arrayCache);
FilterDecoder.java 16 InputStream getInputStream(InputStream in, ArrayCache arrayCache);
ARMOptions.java 26 ArrayCache arrayCache) {
30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
ARMThumbOptions.java 26 ArrayCache arrayCache) {
30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
DeltaEncoder.java 34 ArrayCache arrayCache) {
35 return options.getOutputStream(out, arrayCache);
IA64Options.java 26 ArrayCache arrayCache) {
30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
LZMA2Decoder.java 32 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
33 return new LZMA2InputStream(in, dictSize, null, arrayCache);
PowerPCOptions.java 26 ArrayCache arrayCache) {
30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
SPARCOptions.java 26 ArrayCache arrayCache) {
30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
X86Options.java 26 ArrayCache arrayCache) {
30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
XZInputStream.java 64 private final ArrayCache arrayCache;
109 * except that this takes also the <code>arrayCache</code> argument.
114 * @param arrayCache cache to be used for allocating large arrays
134 public XZInputStream(InputStream in, ArrayCache arrayCache)
136 this(in, -1, arrayCache);
177 * <code>arrayCache</code> arguments.
186 * @param arrayCache cache to be used for allocating large arrays
207 ArrayCache arrayCache) throws IOException
    [all...]
BCJEncoder.java 46 ArrayCache arrayCache) {
47 return options.getOutputStream(out, arrayCache);
LZMA2Encoder.java 48 ArrayCache arrayCache) {
49 return options.getOutputStream(out, arrayCache);
SingleXZInputStream.java 44 private final ArrayCache arrayCache;
102 * except that this also takes the <code>arrayCache</code> argument.
107 * @param arrayCache cache to be used for allocating large arrays
127 public SingleXZInputStream(InputStream in, ArrayCache arrayCache)
129 this(in, -1, arrayCache);
173 * <code>arrayCache</code> arguments.
182 * @param arrayCache cache to be used for allocating large arrays
203 ArrayCache arrayCache) throws IOException
    [all...]
DeltaDecoder.java 29 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
LZMAInputStream.java 50 private ArrayCache arrayCache;
191 * except that this also takes the <code>arrayCache</code> argument.
199 * @param arrayCache cache to be used for allocating large arrays
217 public LZMAInputStream(InputStream in, ArrayCache arrayCache)
219 this(in, -1, arrayCache);
254 this(in, memoryLimit, ArrayCache.getDefaultCache());
262 * except that this also takes the <code>arrayCache</code> argument.
273 * @param arrayCache cache to be used for allocating large array
    [all...]
LZMAOutputStream.java 27 private final ArrayCache arrayCache;
46 ArrayCache arrayCache)
59 this.arrayCache = arrayCache;
70 arrayCache);
130 this(out, options, inputSize, ArrayCache.getDefaultCache());
138 * except that this also takes the <code>arrayCache</code> argument.
149 * @param arrayCache cache to be used for allocating large array
    [all...]
UncompressedLZMA2OutputStream.java 16 private final ArrayCache arrayCache;
36 ArrayCache arrayCache) {
46 this.arrayCache = arrayCache;
47 uncompBuf = arrayCache.getByteArray(
109 arrayCache.putArray(uncompBuf);
DeltaOptions.java 79 ArrayCache arrayCache) {
87 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) {
FilterOptions.java 62 * This is uses ArrayCache.getDefaultCache() as the ArrayCache.
65 return getOutputStream(out, ArrayCache.getDefaultCache());
70 * and the given ArrayCache.
77 FinishableOutputStream out, ArrayCache arrayCache);
88 * This is uses ArrayCache.getDefaultCache() as the ArrayCache.
91 return getInputStream(in, ArrayCache.getDefaultCache());
96 * and the given ArrayCache
    [all...]
  /external/xz-java/src/org/tukaani/xz/rangecoder/
RangeEncoderToBuffer.java 15 import org.tukaani.xz.ArrayCache;
21 public RangeEncoderToBuffer(int bufSize, ArrayCache arrayCache) {
22 buf = arrayCache.getByteArray(bufSize, false);
26 public void putArraysToCache(ArrayCache arrayCache) {
27 arrayCache.putArray(buf);
RangeDecoderFromBuffer.java 15 import org.tukaani.xz.ArrayCache;
24 public RangeDecoderFromBuffer(int inputSizeMax, ArrayCache arrayCache) {
27 buf = arrayCache.getByteArray(inputSizeMax - INIT_SIZE, false);
31 public void putArraysToCache(ArrayCache arrayCache) {
32 arrayCache.putArray(buf);
  /external/xz-java/src/org/tukaani/xz/lz/
Hash234.java 13 import org.tukaani.xz.ArrayCache;
53 Hash234(int dictSize, ArrayCache arrayCache) {
54 hash2Table = arrayCache.getIntArray(HASH_2_SIZE, true);
55 hash3Table = arrayCache.getIntArray(HASH_3_SIZE, true);
58 hash4Table = arrayCache.getIntArray(hash4Size, true);
62 void putArraysToCache(ArrayCache arrayCache) {
63 arrayCache.putArray(hash4Table);
64 arrayCache.putArray(hash3Table)
    [all...]

Completed in 170 milliseconds

1 2