Searched defs:indicator (Results 1 - 3 of 3) sorted by relevance

/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/encoding/
H A DChunksIntEncoder.java31 * build the proper indicator (flags). When enough values were accumulated
33 * flush the indicator and the rest of the values.
56 /** Holds the values which must be encoded, outside the indicator. */
60 /** Encoder used to encode values outside the indicator. */
64 protected int indicator = 0; field in class:ChunksIntEncoder
74 * Encodes the values of the current chunk. First it writes the indicator, and
75 * then it encodes the values outside the indicator.
78 out.write(indicator);
84 indicator = 0;
101 indicator
[all...]
H A DEightFlagsIntDecoder.java25 * the <code>indicator</code>, one flag (1-bits) at a time, and decodes extra
34 * Holds all combinations of <i>indicator</i> for fast decoding (saves time
39 /** Generating all combinations of <i>indicator</i> into separate flags. */
52 /** The indicator for decoding a chunk of 8 integers. */
53 private int indicator; field in class:EightFlagsIntDecoder
60 // If we've decoded 8 integers, read the next indicator.
62 indicator = in.read();
63 if (indicator < 0) {
69 if (decodeTable[indicator][ordinal++] == 0) {
83 indicator
[all...]
H A DFourFlagsIntDecoder.java25 * the <code>indicator</code>, one flag (1-bits) at a time, and decodes extra
34 * Holds all combinations of <i>indicator</i> for fast decoding (saves time
39 /** Generating all combinations of <i>indicator</i> into separate flags. */
52 /** The indicator for decoding a chunk of 4 integers. */
53 private int indicator; field in class:FourFlagsIntDecoder
60 // If we've decoded 8 integers, read the next indicator.
62 indicator = in.read();
63 if (indicator < 0) {
69 byte decodeVal = decodeTable[indicator][ordinal++];
84 indicator
[all...]

Completed in 15 milliseconds