Lines Matching refs:bucket
183 """A bucket contains a group of codepoints and an ordered width list. If one bucket's width
187 """Creates an empty bucket."""
192 """Adds a codepoint/width pair to the bucket, and appends `width` to the width list."""
197 """If either `self` or `attempt`'s width list starts with the other bucket's width list,
210 """Return a list of the codepoint/width pairs in this bucket, sorted by codepoint."""
216 """If all codepoints in this bucket have the same width, return that width; otherwise,
230 same bucket. Returns a list of the buckets in increasing order of those bits."""
247 indexes into the bucket list (~= indexes into the sub-tables of the next-level table.) The
249 same width list, which means that they can be merged into the same bucket.
251 If no bucket contains two codepoints with different widths, calling `indices_to_widths` will
271 for bucket in buckets:
273 if existing.try_extend(bucket):
278 self.indexed.append(bucket)
286 their buckets. Assumes that no bucket contains codepoints with different widths."""
320 entry_groups = map(lambda bucket: bucket.entries(), table.buckets())