- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 2,229 for Void (0.04 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/ArtifactRepositoryFactory.java
String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases); void setGlobalUpdatePolicy(String snapshotPolicy); void setGlobalChecksumPolicy(String checksumPolicy);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
ImmutableList.of("foo.blah", "", "[google.com]"); public void testGoodIpAddresses() throws ParseException { for (String spec : GOOD_IPS) { assertGood(spec); } } public void testBadIpAddresses() { for (String spec : BAD_IPS) { assertBad(spec); } } public void testGoodDomains() throws ParseException { for (String spec : GOOD_DOMAINS) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
} public void testIntersection() { RangeSet<Integer> expected = ImmutableRangeSet.<Integer>builder() .add(Range.closed(2, 3)) .add(Range.open(6, 7)) .add(Range.singleton(8)) .build(); assertThat(RANGE_SET_ONE.intersection(RANGE_SET_TWO)).isEqualTo(expected); } public void testDifference() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 21.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
afe.getMessage()); } @Test void testWithEmptyUrl() throws IOException { testInheritance("empty-urls", false); } public void testInheritance(String baseName) throws IOException { testInheritance(baseName, false); testInheritance(baseName, true); } public void testInheritance(String baseName, boolean fromRepo) throws IOException {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
/** Adds the most recently logged record to our list. */ @Override public void publish(@Nullable LogRecord record) { synchronized (lock) { if (record != null) { list.add(record); } } } @Override public void flush() {} @Override public void close() {} public void clear() { synchronized (lock) { list.clear(); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
* #monitor}. */ private void dispatchListenerEvents() { if (!monitor.isOccupiedByCurrentThread()) { listeners.dispatch(); } } private void enqueueStartingEvent() { listeners.enqueue(STARTING_EVENT); } private void enqueueRunningEvent() { listeners.enqueue(RUNNING_EVENT); } private void enqueueStoppingEvent(State from) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return ImmutableSet.copyOf(elements); } public void testCreation_allDuplicates() { ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); assertTrue(set instanceof SingletonImmutableSet); assertEquals(Lists.newArrayList("a"), new ArrayList<>(set)); } public void testCreation_oneDuplicate() { // now we'll get the varargs overload
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 14.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull( "computeIfPresent(notPresent, function) should return null", getMap() .computeIfPresent( k3(),Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
return mavenExecutionRequest; } @Override protected void lookup(MavenContext context) throws Exception { if (context.maven == null) { super.lookup(context); context.maven = context.lookup.lookup(Maven.class); } } @Override protected void postCommands(MavenContext context) throws Exception { super.postCommands(context);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
public void testSymmetricDifference_isView() { Set<Integer> set1 = newHashSet(1, 2); Set<Integer> set2 = newHashSet(2, 3); Set<Integer> difference = symmetricDifference(set1, set2); assertThat(difference).containsExactly(1, 3); set1.add(0); assertThat(difference).containsExactly(0, 1, 3); set2.remove(2); assertThat(difference).containsExactly(0, 1, 2, 3); } public void testImmutableCopy_empty() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 29.9K bytes - Click Count (0)