Lines Matching defs:packed
29 * in either a "packed" or "sparse" form.
47 /** whether the output table will be packed (vs. sparse) */
48 private final boolean packed;
90 this.packed = shouldPack(cases);
96 return packed ? (int) packedCodeSize(cases) :
107 if (packed) {
153 * Returns whether or not this instance's data will be output as packed.
155 * @return {@code true} iff the data is to be packed
158 return packed;
184 sb.append(packed ? "packed" : "sparse");
203 * Gets the size of a packed table for the given cases, in 16-bit code
207 * @return {@code >= -1;} the packed table size or {@code -1} if the
208 * cases couldn't possibly be represented as a packed table
233 * Determines whether the given list of cases warrant being packed.
237 * should be packed
250 * We pick the packed representation if it is possible and
253 * the packed representation, since that format is faster to