You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error(_("Failed to allocate %"PRIu64" bytes working memory in chmatchdup: length(table)=%d length(unique(table))=%d"), ((uint64_t)tablelen*2+nuniq)*sizeof(int), tablelen, nuniq);
106
106
// # nocov end
107
107
}
108
-
for (inti=0; i<tablelen; ++i) counts[-TRULEN(td[i])-1]++;
108
+
for (inti=0; i<tablelen; ++i) counts[-STDVEC_TRUELENGTH(td[i])-1]++;
109
109
for (inti=0, sum=0; i<nuniq; ++i) { inttt=counts[i]; counts[i]=sum; sum+=tt+1; }
110
-
for (inti=0; i<tablelen; ++i) map[counts[-TRULEN(td[i])-1]++] =i+1; // 0 is left ending each group thanks to the calloc
110
+
for (inti=0; i<tablelen; ++i) map[counts[-STDVEC_TRUELENGTH(td[i])-1]++] =i+1; // 0 is left ending each group thanks to the calloc
111
111
for (inti=0, last=0; i<nuniq; ++i) {inttt=counts[i]+1; counts[i]=last; last=tt;} // rewind counts to the beginning of each group
0 commit comments