- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for forcealloc (0.11 sec)
-
src/index/suffixarray/suffixarray_test.go
size := 100000 if testing.Short() { size = 10000 } x := make([]byte, size) for i := range x { x[i] = "ab"[i%2] } testSA(t, x, build) }) t.Run("forcealloc", func(t *testing.T) { // Construct a pathological input that forces // recurse_32 to allocate a new temporary buffer. // The input must have more than N/3 LMS-substrings,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0) -
src/index/suffixarray/sais.go
// so this one allocation is guaranteed to suffice for the entire stack // of recursive calls. tmp := oldTmp if len(tmp) < len(saTmp) { tmp = saTmp } if len(tmp) < numLMS { // TestSAIS/forcealloc reaches this code. n := maxID if n < numLMS/2 { n = numLMS / 2 } tmp = make([]int32, n) } // sais_32 requires that the caller arrange to clear dst,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 32.4K bytes - Viewed (0) -
src/index/suffixarray/sais2.go
// so this one allocation is guaranteed to suffice for the entire stack // of recursive calls. tmp := oldTmp if len(tmp) < len(saTmp) { tmp = saTmp } if len(tmp) < numLMS { // TestSAIS/forcealloc reaches this code. n := maxID if n < numLMS/2 { n = numLMS / 2 } tmp = make([]int64, n) } // sais_64 requires that the caller arrange to clear dst,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 52.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java
return provider; } @Override public void discardAll() { discardAll(false); } private void discardAll(boolean forceAll) { withRegistrations(registrations -> { List<DefaultServiceRegistration<?, ?>> preserved = new ArrayList<>(); try { ExecutionResult.forEach(registrations, registration -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:45 UTC 2024 - 16.7K bytes - Viewed (0)