Lines Matching refs:p1

218         const int p1;
233 int _width, MultiperspectivePerceptron &_mpp) : p1(_p1),
373 void insertModhistSpec(int p1, int p2) {
374 int j = insert(modhist_indices, p1);
387 void insertModpathSpec(int p1, int p2) {
388 int j = insert(modpath_indices, p1);
485 GHIST(int p1, int p2, double coeff, int size, int width,
487 : HistorySpec(p1, p2, 0, coeff, size, width, mpp)
493 return hash(mpp.threadData[tid]->ghist_words, mpp.blockSize, p1,
536 ACYCLIC(int p1, int p2, int p3, double coeff, int size, int width,
538 : HistorySpec(p1, p2, p3, coeff, size, width, mpp)
544 int a = p1;
570 if (mpp.acyclic_bits.size() < (p1 + 1)) {
571 mpp.acyclic_bits.resize(p1 + 1);
573 if (mpp.acyclic_bits[p1].size() < (p1 + 2)) {
574 mpp.acyclic_bits[p1].resize(p1 + 2, std::vector<bool>(2));
576 for (int j = 0; j < p1 + 2; j += 1) {
577 mpp.acyclic_bits[p1][j][!p3] = true;
584 MODHIST(int p1, int p2, double coeff, int size, int width,
586 : HistorySpec(p1, p2, 0, coeff, size, width, mpp)
592 int a = p1;
607 mpp.insertModhistSpec(p1, p2);
628 RECENCY(int p1, int p2, int p3, double coeff, int size, int width,
630 : HistorySpec(p1, p2, p3, coeff, size, width, mpp)
636 int depth = p1;
661 if (mpp.assoc < p1) {
662 mpp.assoc = p1;
670 IMLI(int p1, double coeff, int size, int width,
672 : HistorySpec(p1, 0, 0, coeff, size, width, mpp)
678 assert(p1 >= 1);
679 assert(p1 <= 4);
680 return mpp.threadData[tid]->imli_counter[p1-1];
685 mpp.imli_counter_bits[p1 - 1] = 32;
691 PATH(int p1, int p2, int p3, double coeff, int size, int width,
693 : HistorySpec(p1, p2, p3, coeff, size, width, mpp)
699 int depth = p1;
729 if (mpp.path_length <= p1) {
730 mpp.path_length = p1 + 1;
737 LOCAL(int p1, double coeff, int size, int width,
739 : HistorySpec(p1, 0, 0, coeff, size, width, mpp)
746 if (p1 != -1) {
747 x &= ((1 << p1) - 1);
759 MODPATH(int p1, int p2, int p3, double coeff, int size, int width,
761 : HistorySpec(p1, p2, p3, coeff, size, width, mpp)
767 int a = p1;
780 mpp.insertModpathSpec(p1, p2);
786 GHISTPATH(int p1, int p2, int p3, double coeff, int size, int width,
788 : HistorySpec(p1, p2, p3, coeff, size, width, mpp)
794 int depth = p1;
847 if (mpp.ghist_length <= p1) {
848 mpp.ghist_length = p1 + 1;
850 if (mpp.path_length <= p1) {
851 mpp.path_length = p1 + 1;
858 GHISTMODPATH(int p1, int p2, int p3, double coeff, int size, int width,
860 : HistorySpec(p1, p2, p3, coeff, size, width, mpp)
866 int a = p1;
883 mpp.insertModhistSpec(p1, p2);
884 mpp.insertModpathSpec(p1, p2);
890 BLURRYPATH(int p1, int p2, int p3, double coeff, int size, int width,
892 : HistorySpec(p1, p2, p3, coeff, size, width, mpp)
898 int scale = p1;
922 if (mpp.blurrypath_bits.size() < (p1 + 1)) {
923 mpp.blurrypath_bits.resize(p1 + 1);
925 if (mpp.blurrypath_bits[p1].size() < p2) {
926 mpp.blurrypath_bits[p1].resize(p2);
929 mpp.blurrypath_bits[p1][j] = 32 - p1;
936 RECENCYPOS(int p1, double coeff, int size, int width,
938 : HistorySpec(p1, 0, 0, coeff, size, width, mpp)
945 pc2, p1, t);
968 if (mpp.assoc < p1) {
969 mpp.assoc = p1;
977 SGHISTPATH(int p1, int p2, int p3, double coeff, int size, int width,
979 : HistorySpec(p1, p2, p3, coeff, size, width, mpp)
985 int a = p1;