Lines Matching refs:_chunks
55 protected _chunks: Vector<T>[]; property in Chunked
64 this._chunks = chunks;
72 public get chunks() { return this._chunks; }
76 return this._chunks[0] ? this._chunks[0].data : <any> null;
81 public get stride() { return this._chunks[0] ? this._chunks[0].stride : 1; }
83 return this._chunks.reduce((byteLength, chunk) => byteLength + chunk.byteLength, 0);
88 … this._nullCount = nullCount = this._chunks.reduce((x, { nullCount }) => x + nullCount, 0);
97 const chunks = (<any> this._chunks) as DictionaryVector<T, any>[];
108 return this._chunks[this._chunks.length - 1].data.dictionary as ChunkedDict<T>;
114 for (const chunk of this._chunks) {
119 public clone(chunks = this._chunks): Chunked<T> {
140 chunks = this._chunks
212 … protected getInternal({ _chunks }: Chunked<T>, i: number, j: number) { return _chunks[i].get(j); }
213 …protected isValidInternal({ _chunks }: Chunked<T>, i: number, j: number) { return _chunks[i].isVal…
214 …protected indexOfInternal({ _chunks }: Chunked<T>, chunkIndex: number, fromIndex: number, element:…
215 let i = chunkIndex - 1, n = _chunks.length;
218 if (~(found = _chunks[i].indexOf(element, start))) {
222 offset += _chunks[i].length;