- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 2,560 for void (0.02 seconds)
-
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
f.addCallback( new FutureCallback<String>() { @Override public void onSuccess(String result) { called[0] = true; } @Override public void onFailure(Throwable t) {} }, directExecutor()); assertThat(called[0]).isTrue(); } // Avoid trouble with automatic mapping between JRE and Kotlin runtime classes.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
} } public String getFailureBehavior() { return failureBehavior; } public void blackList(MavenProject project) { blackList(getProjectKey(project)); } private void blackList(String id) { if (!blackList.contains(id)) { blackList.add(id); List<String> dependents = sorter.getDependents(id);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
@SuppressWarnings("InlineMeInliner") // We need to test our method. public void testHashCode() { assertThat(Booleans.hashCode(true)).isEqualTo(Boolean.TRUE.hashCode()); assertThat(Booleans.hashCode(false)).isEqualTo(Boolean.FALSE.hashCode()); } public void testTrueFirst() { assertThat(Booleans.trueFirst().compare(true, true)).isEqualTo(0);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 25.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
@Override public void execute(Runnable command) {} }; } @Override protected void run() throws Exception {} } public void testStopWhileStarting_runNotCalled() throws Exception { CountDownLatch started = new CountDownLatch(1); FakeService service = new FakeService() { @Override protected void startUp() throws Exception {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java
@CollectionSize.Require(absent = ZERO) public void testContainsValueYes() { assertTrue(multimap().containsValue(v0())); } public void testContainsValueNo() { assertFalse(multimap().containsValue(v3())); } @MapFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testContainsNullValueYes() { initMultimapWithNullValue();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
} private void setSuccessor(int entry, int succ) { long succMask = ~0L >>> 32; setLink(entry, (link(entry) & ~succMask) | ((succ + 1) & succMask)); } private void setPredecessor(int entry, int pred) { long predMask = ~0L << 32; setLink(entry, (link(entry) & ~predMask) | ((long) (pred + 1) << 32)); } private void setSucceeds(int pred, int succ) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 8.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
} @Override public void callStart(Call call) { printEvent("callStart"); } @Override public void proxySelectStart(Call call, HttpUrl url) { printEvent("proxySelectStart"); } @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) { printEvent("proxySelectEnd"); } @Override public void dnsStart(Call call, String domainName) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 5.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java
public class ListMultimapPutTester<K, V> extends AbstractListMultimapTester<K, V> { // MultimapPutTester tests non-duplicate values, but ignores ordering @MapFeature.Require(SUPPORTS_PUT) public void testPutAddsValueAtEnd() { for (K key : sampleKeys()) { for (V value : sampleValues()) { resetContainer(); List<V> values = multimap().get(key);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
@Param({"0", "1", "5", "10"}) int numListeners; @Param({"0", "1", "5", "10"}) int numThreads; private final Set<Thread> blockedThreads = new HashSet<>(); @BeforeExperiment void setUp() throws Exception { if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) { throw new SkipThisScenarioException(); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java
private UnixServerSocketChannel serverSocketChannel; private InetSocketAddress endpoint; UnixDomainServerSocket() throws IOException { } @Override public void bind(SocketAddress endpoint, int backlog) throws IOException { this.endpoint = (InetSocketAddress) endpoint; UnixSocketAddress address = new UnixSocketAddress(path);Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Feb 12 16:33:52 GMT 2019 - 3.1K bytes - Click Count (0)