- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 122 for dummy (0.06 sec)
-
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
sort(copy); dummy += ImmutableList.copyOf(copy).get(0); } } return dummy; } @Benchmark int ordering(int reps) { int dummy = 0; if (mutable) { for (int i = 0; i < reps; i++) { dummy += ORDERING.sortedCopy(input).get(0); } } else { for (int i = 0; i < reps; i++) { dummy += ORDERING.immutableSortedCopy(input).get(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
Object dummy = Proxy.newProxyInstance( interfaceClasses.iterator().next().getClassLoader(), interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]), new DummyHandler(interfaceType)); @SuppressWarnings("unchecked") // interfaceType is T T result = (T) dummy; return result; } /** Returns the dummy return value for {@code returnType}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
double median(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.singleQuantile(1, 2, dataset(i)); } return dummy; } @Benchmark double percentile90(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.singleQuantile(90, 100, dataset(i)); } return dummy; } @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 3.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
double median(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.singleQuantile(1, 2, dataset(i)); } return dummy; } @Benchmark double percentile90(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.singleQuantile(90, 100, dataset(i)); } return dummy; } @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 3.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
int joinerWithStringDelimiter(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy ^= JOINER_ON_STRING.join(components).length(); } return dummy; } /** {@link Joiner} with a character delimiter. */ @Benchmark int joinerWithCharacterDelimiter(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy ^= JOINER_ON_CHARACTER.join(components).length(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
cmd/api-router.go
Queries("replication-reset-status", "") // Dummy Bucket Calls // GetBucketACL -- this is a dummy call. router.Methods(http.MethodGet). HandlerFunc(s3APIMiddleware(api.GetBucketACLHandler)). Queries("acl", "") // PutBucketACL -- this is a dummy call. router.Methods(http.MethodPut). HandlerFunc(s3APIMiddleware(api.PutBucketACLHandler)).
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 15:25:16 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (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); /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
@SuppressWarnings("unchecked") E result = (E) canonical; return result; } } // didn't see it, trying to put it instead... Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE); if (sneaky == null) { return sample; } else { /* Someone beat us to it! Trying again... *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0)