- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 427 for repo (0.03 sec)
-
guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
} @Benchmark int hashMultiset(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Object value : hashMultiset) { sum += value.hashCode(); } } return sum; } @Benchmark int linkedHashMultiset(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Object value : linkedHashMultiset) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.6.md
## Notable Features Features for this release were tracked via the use of the [kubernetes/features](https://github.com/kubernetes/features) issues repo. Each Feature issue is owned by a Special Interest Group from the [kubernetes/community](https://github.com/kubernetes/community/blob/master/sig-list.md). ### Autoscaling
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 304K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
int length; private String originalString; @BeforeExperiment void setUp() { originalString = Strings.repeat("x", length); } @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
} @Benchmark int slowFactorial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += oldSlowFactorial(slowFactorials[j]).intValue(); } return tmp; } @Benchmark int factorial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
int length; private String originalString; @BeforeExperiment void setUp() { originalString = Strings.repeat("x", length); } @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
return striped; } @Benchmark long timeConstruct(long reps) { long rvalue = 0; int numStripesLocal = numStripes; Impl implLocal = impl; for (long i = 0; i < reps; i++) { rvalue += implLocal.get(numStripesLocal).hashCode(); } return rvalue; } @Benchmark long timeGetAt(long reps) { long rvalue = 0; int[] stripesLocal = stripes;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
return striped; } @Benchmark long timeConstruct(long reps) { long rvalue = 0; int numStripesLocal = numStripes; Impl implLocal = impl; for (long i = 0; i < reps; i++) { rvalue += implLocal.get(numStripesLocal).hashCode(); } return rvalue; } @Benchmark long timeGetAt(long reps) { long rvalue = 0; int[] stripesLocal = stripes;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
} @Benchmark int asciiStringToUpperCase(int reps) { String string = noWorkToDo ? Ascii.toUpperCase(testString) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Ascii.toUpperCase(string).length(); } return dummy; } @Benchmark int asciiCharSequenceToUpperCase(int reps) {
Registered: Fri Nov 01 12:43:10 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/StopwatchBenchmark.java
@Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 1.5K bytes - Viewed (0) -
internal/s3select/sql/parser_test.go
// Object wildcard ".*", // array wildcard "[*]", } for i, tc := range cases { err := p.ParseString(tc, &j) if err != nil { t.Fatalf("%d: %v", i, err) } // repr.Println(j, repr.Indent(" "), repr.OmitEmpty(true)) } } func TestJSONPath(t *testing.T) { p := participle.MustBuild( &JSONPath{}, participle.Lexer(sqlLexer), participle.CaseInsensitive("Keyword"),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.2K bytes - Viewed (0)