- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 410 for repr (0.02 sec)
-
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. }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
} data = sb.toString(); } @Benchmark public long timeCopy(int reps) throws IOException { long r = 0; final String localData = data; final TargetSupplier localTarget = target; final CopyStrategy localStrategy = strategy; for (int i = 0; i < reps; i++) { Appendable appendable = localTarget.get(localData.length());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:59:54 UTC 2023 - 3.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
} data = sb.toString(); } @Benchmark public long timeCopy(int reps) throws IOException { long r = 0; final String localData = data; final TargetSupplier localTarget = target; final CopyStrategy localStrategy = strategy; for (int i = 0; i < reps; i++) { Appendable appendable = localTarget.get(localData.length());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:59:54 UTC 2023 - 3.2K 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java
/** * Maven central repository URL. * The property will have the value of the <code>MAVEN_REPO_CENTRAL</code> * environment variable if it is defined. * * @since 4.0.0 */ @Config(defaultValue = "https://repo.maven.apache.org/maven2") public static final String MAVEN_REPO_CENTRAL = "maven.repo.central"; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:24:08 UTC 2024 - 14K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
afe.getMessage()); } // but ok from repo: local disk is ignored testInheritance("tricky-flat-artifactId-urls", true); // parent references child with directory name (which is not artifact id) // then relative path calculation will success during build from disk but fail when calculated from repo testInheritance("tricky-flat-directory-urls", false);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0) -
disabled-Jenkinsfile
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) { sh "mvn clean ${MAVEN_GOAL} -B -U -e -fae -V -Dmaven.test.failure.ignore -PversionlessMavenDist -Dmaven.repo.local=${WORK_DIR}/.repository" } } finally { junit testResults: '**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml', allowEmptyResults: true }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Sep 30 14:11:55 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
assertSame(mirrorC, mirrorSelector.getMirror(repo, Arrays.asList(mirrorC))); assertNull(mirrorSelector.getMirror(repo, Arrays.asList(mirrorD))); } /** * Build an ArtifactRepository object. * * @param id * @param url * @return */ private ArtifactRepository getRepo(String id, String url) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
queue.add(random.nextInt()); } } @Benchmark void pollAndAdd(int reps) { for (int i = 0; i < reps; i++) { // TODO(kevinb): precompute random #s? queue.add(queue.poll() ^ random.nextInt()); } } @Benchmark void populate(int reps) { for (int i = 0; i < reps; i++) { queue.clear(); for (int j = 0; j < size; j++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 4.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
if (omitNulls) { helper = helper.omitNullValues(); } return helper; } @Benchmark int toString(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { MoreObjects.ToStringHelper helper = newHelper(); for (int j = 0; j < dataSize; ++j) { dataset.addEntries(helper); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0)