Home
last modified time | relevance | path

Searched refs:SS_BLOCKSIZE (Results 1 – 3 of 3) sorted by relevance

/external/libdivsufsort/include/
Ddivsufsort_private.h107 #if defined(SS_BLOCKSIZE)
108 # if SS_BLOCKSIZE < 0
109 # undef SS_BLOCKSIZE
110 # define SS_BLOCKSIZE (0) macro
111 # elif 32768 <= SS_BLOCKSIZE
112 # undef SS_BLOCKSIZE
113 # define SS_BLOCKSIZE (32767)
116 # define SS_BLOCKSIZE (1024)
119 #if SS_BLOCKSIZE == 0
125 #elif SS_BLOCKSIZE <= 4096
/external/libdivsufsort/lib/
Dsssort.c43 #if (SS_BLOCKSIZE == 0) || (SS_INSERTIONSORT_THRESHOLD < SS_BLOCKSIZE)
48 #if SS_BLOCKSIZE == 0 in ss_ilg()
74 #elif SS_BLOCKSIZE < 256 in ss_ilg()
85 #if SS_BLOCKSIZE != 0
111 if(x >= (SS_BLOCKSIZE * SS_BLOCKSIZE)) { return SS_BLOCKSIZE; } in ss_isqrt()
162 #if (SS_BLOCKSIZE != 1) && (SS_INSERTIONSORT_THRESHOLD != 1)
188 #if (SS_BLOCKSIZE == 0) || (SS_INSERTIONSORT_THRESHOLD < SS_BLOCKSIZE)
448 #if SS_BLOCKSIZE != 0
752 #if SS_BLOCKSIZE != 0 in sssort()
760 #if SS_BLOCKSIZE == 0 in sssort()
[all …]
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DDivSuffixSorter.java43 private static final int SS_BLOCKSIZE = 1024; field in DivSuffixSorter
326 if ((bufsize < SS_BLOCKSIZE) in ssSort()
329 if (SS_BLOCKSIZE < limit) { in ssSort()
330 limit = SS_BLOCKSIZE; in ssSort()
338 for (a = first, i = 0; SS_BLOCKSIZE < (middle - a); a += SS_BLOCKSIZE, ++i) { in ssSort()
339 ssMintroSort(PA, a, a + SS_BLOCKSIZE, depth); in ssSort()
340 curbufsize = last - (a + SS_BLOCKSIZE); in ssSort()
341 curbuf = a + SS_BLOCKSIZE; in ssSort()
346 for (b = a, k = SS_BLOCKSIZE, j = i; (j & 1) != 0; b -= k, k <<= 1, j >>= 1) { in ssSort()
351 for (k = SS_BLOCKSIZE; i != 0; k <<= 1, i >>= 1) { in ssSort()
[all …]