- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 410 for repr (0.08 sec)
-
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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java
} @Benchmark void concurrentHashMap(int rep) { for (int i = 0; i < rep; i++) { map.get(TEST_KEY); } } @Benchmark void cacheBuilder_stats(int rep) { for (int i = 0; i < rep; i++) { cache.getIfPresent(TEST_KEY); } } @Benchmark void cacheBuilder(int rep) { for (int i = 0; i < rep; i++) { cacheNoStats.getIfPresent(TEST_KEY); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 05 17:21:46 UTC 2022 - 1.9K bytes - Viewed (0) -
common/config/.golangci-format.yml
# WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY # # The original version of this file is located in the https://github.com/istio/common-files repo. # If you're looking at this file in a different repo and want to make a change, please go to the # common-files repo, make the change there and check it in. Then come back to this repo and run # "make update-common". run: # Timeout for analysis, e.g. 30s, 5m. # Default: 1m timeout: 20m build-tags:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 05 03:02:37 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/DefaultMirrorSelectorTest.java
@Test void testMirrorWithMirrorOfPatternContainingANegationIsNotSelected() { ArtifactRepository repository = new DefaultArtifactRepository("snapshots.repo", "http://whatever", null); String pattern = "external:*, !snapshots.repo"; assertFalse(DefaultMirrorSelector.matchPattern(repository, pattern)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java
void setUp() { Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers()); powerSet = Sets.powerSet(set); } @Benchmark int iteration(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Set<Integer> subset : powerSet) { for (Integer value : subset) { sum += value; } } } return sum; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java
void setUp() { Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers()); powerSet = Sets.powerSet(set); } @Benchmark int iteration(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Set<Integer> subset : powerSet) { for (Integer value : subset) { sum += value; } } } return sum; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/repository-with-expression.xml
<artifactId>project</artifactId> <version>1.0.0-SNAPSHOT</version> <properties> <x>just/some/path</x> </properties> <repositories> <repository> <id>repo</id> <url>file://${x}/sdk/maven/repo</url> </repository> </repositories>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
deploy_website.sh
# https://squidfunk.github.io/mkdocs-material/ # It requires python3 to run. set -ex REPO="******@****.***:square/okhttp.git" DIR=temp-clone # Delete any existing temporary website clone rm -rf $DIR # Clone the current repo into temp folder git clone $REPO $DIR # Replace `git clone` with these lines to hack on the website locally # cp -a . "../okhttp-website" # mv "../okhttp-website" "$DIR"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Nov 20 15:26:12 UTC 2023 - 1.2K bytes - Viewed (0) -
common/scripts/setup_env.sh
# WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY # # The original version of this file is located in the https://github.com/istio/common-files repo. # If you're looking at this file in a different repo and want to make a change, please go to the # common-files repo, make the change there and check it in. Then come back to this repo and run # "make update-common". # Copyright Istio Authors # # Licensed under the Apache License, Version 2.0 (the "License");
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 06 04:52:54 UTC 2024 - 8.3K bytes - Viewed (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();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0)