- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 216 for recs (0.02 seconds)
-
src/cmd/api/main_test.go
w.writeTypeParams(buf, tparams, true) } w.writeParams(buf, sig.Params(), sig.Variadic()) switch res := sig.Results(); res.Len() { case 0: // nothing to do case 1: buf.WriteByte(' ') w.writeType(buf, res.At(0).Type()) default: buf.WriteByte(' ') w.writeParams(buf, res, false) } }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Feb 20 03:25:33 GMT 2025 - 31.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
} @Benchmark int collections(int reps) { int dummy = 0; // Yes, this could be done more elegantly if (mutable) { for (int i = 0; i < reps; i++) { List<Integer> copy = new ArrayList<>(input); sort(copy); dummy += copy.get(0); } } else { for (int i = 0; i < reps; i++) { List<Integer> copy = new ArrayList<>(input);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java
random.nextBytes(testBytes); } @Benchmark int hasher(int reps) { HashFunction hashFunction = hashFunctionEnum.getHashFunction(); int result = 37; for (int i = 0; i < reps; i++) { result ^= hashFunction.newHasher().putBytes(testBytes).hash().asBytes()[0]; } return result; } @Benchmark int hashFunction(int reps) { HashFunction hashFunction = hashFunctionEnum.getHashFunction();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
requests.set(0); misses.set(0); } @Benchmark int time(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += cache.getUnchecked(nextRandomKey()); } requests.addAndGet(reps); return dummy; } private int nextRandomKey() { int a = random.nextInt(max); /*Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java
@BeforeExperiment void setUp() { eventBus = new EventBus("for benchmarking purposes"); eventBus.register(this); } @Benchmark void postStrings(int reps) { for (int i = 0; i < reps; i++) { eventBus.post("hello there"); } } @Subscribe public void handleStrings(String string) { // Nothing to do here. }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
} @Benchmark int charSplitter(int reps) { int total = 0; for (int i = 0; i < reps; i++) { total += Iterables.size(CHAR_SPLITTER.split(input)); } return total; } @Benchmark int stringSplitter(int reps) { int total = 0; for (int i = 0; i < reps; i++) { total += Iterables.size(STRING_SPLITTER.split(input)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
} } @Benchmark int arrayIndexed(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (int index = 0; index < size; index++) { sum += array[index].hashCode(); } } return sum; } @Benchmark int arrayIndexedLength(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (int index = 0; index < array.length; index++) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
} @Benchmark public long timeComplete_Normal(int reps) throws Exception { long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps); for (int i = 0; i < reps; i++) { Facade<Integer> localFuture = impl.newFacade(); list.add(localFuture); localFuture.set(i); } for (int i = 0; i < reps; i++) { r += list.get(i).get(); } return r; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.7K bytes - Click Count (0) -
src/archive/tar/strconv.go
} // If seconds is negative, then perform correction. sign := "" if secs < 0 { sign = "-" // Remember sign secs = -(secs + 1) // Add a second to secs nsecs = -(nsecs - 1e9) // Take that second away from nsecs } return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0") } // parsePAXRecord parses the input PAX record string into a key-value pair.Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Sep 08 17:08:20 GMT 2025 - 9.1K bytes - Click Count (0)