Lines Matching refs:index
502 shard = { __proto__: null, index: shard.index, total: shard.total };
505 validateInteger(shard.index, 'options.shard.index');
507 if (shard.index <= 0 || shard.total < shard.index) {
508 throw new ERR_OUT_OF_RANGE('options.shard.index', `>= 1 && <= ${shard.total} ("options.shard.total")`, shard.index);
539 testFiles = ArrayPrototypeFilter(testFiles, (_, index) => index % shard.total === shard.index - 1);