- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 532 for Dummy3 (0.13 sec)
-
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Ascii.toUpperCase(string).length(); } return dummy; } @Benchmark int asciiCharSequenceToUpperCase(int reps) { String string = noWorkToDo ? charSequenceToUpperCase(testString) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += charSequenceToUpperCase(string).length();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.8K bytes - Viewed (0) -
android/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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
src/cmd/go/testdata/mod/gopkg.in_dummy.v2-unstable_v2.0.0.txt
gopkg.in/dummy.v2-unstable v2.0.0 written by hand -- .mod -- module gopkg.in/dummy.v2-unstable -- .info -- {"Version":"v2.0.0"} -- dummy.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 10 00:47:31 UTC 2018 - 158 bytes - Viewed (0) -
test/chan/select5.go
default: {{end}} {{if .Maybe}} case dummy <- 1: panic("dummy <- 1") {{end}} {{if .Maybe}} case nilch <- 1: panic("nilch <- 1") {{end}} {{if .Maybe}} case <-dummy: panic("<-dummy") {{end}} {{if .Maybe}} case x = <-dummy: panic("<-dummy x") {{end}} {{if .Maybe}} case **(**int)(nil) = <-dummy: panic("<-dummy (and didn't crash saving result!)") {{end}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 10K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 3.1K bytes - Viewed (0) -
test/fixedbugs/bug008.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 405 bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
Collections.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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
test/chan/select2.go
c <- 1 } } func receiver(c, dummy chan int, n int) { for i := 0; i < n; i++ { select { case <-c: // nothing case <-dummy: panic("dummy") } } } func main() { runtime.MemProfileRate = 0 c := make(chan int) dummy := make(chan int) // warm up go sender(c, 100000) receiver(c, dummy, 100000) runtime.GC() memstats := new(runtime.MemStats)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_unsupported.go
return false, errNotImplemented } // AssignQuota -- dummy implementation func AssignQuota(_ mount.Interface, _ string, _ types.UID, _ *resource.Quantity) error { return errNotImplemented } // GetConsumption -- dummy implementation func GetConsumption(_ string) (*resource.Quantity, error) { return nil, errNotImplemented } // GetInodes -- dummy implementation func GetInodes(_ string) (*resource.Quantity, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 28 06:09:31 UTC 2023 - 1.7K bytes - Viewed (0)