- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for setResult (0.09 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java
} catch (Throwable t) { restoreInterruptIfIsInterruptedException(t); setException(t); return; } finally { exceptionType = null; fallback = null; } setResult(fallbackResult); } @Override @CheckForNull protected String pendingToString() { @RetainedLocalRef ListenableFuture<? extends V> localInputFuture = inputFuture;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
setResult(result); setMechanism(mechanism); setMechanismToken(mechanismToken); setMechanismListMIC(mechanismListMIC); } public NegTokenTarg ( byte[] token ) throws IOException { parse(token); } public int getResult () { return this.result; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Jan 04 04:18:31 UTC 2021 - 5.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java
} @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllPropagatesToGet() { Collection<V> getResult = multimap().get(k0()); multimap().removeAll(k0()); assertEmpty(getResult); expectMissing(e0()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllMultipleValues() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertFalse(future.isCancelled()); ExecutorService executor = Executors.newSingleThreadExecutor(); try { Future<Boolean> getResult = executor.submit(() -> future.get()); // Release the future value. latch.countDown(); assertTrue(getResult.get(10, SECONDS)); } finally { executor.shutdownNow(); } assertTrue(future.isDone()); assertFalse(future.isCancelled());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 18:30:30 UTC 2023 - 6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java
} @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllPropagatesToGet() { Collection<V> getResult = multimap().get(k0()); multimap().removeAll(k0()); assertEmpty(getResult); expectMissing(e0()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllMultipleValues() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
public boolean processLine(String line) throws IOException { list.add(line); return true; } @Override public List<String> getResult() { return list; } }); assertExpectedLines(list); } public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertFalse(future.isCancelled()); ExecutorService executor = Executors.newSingleThreadExecutor(); try { Future<Boolean> getResult = executor.submit(() -> future.get()); // Release the future value. latch.countDown(); assertTrue(getResult.get(10, SECONDS)); } finally { executor.shutdownNow(); } assertTrue(future.isDone()); assertFalse(future.isCancelled());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 18:30:30 UTC 2023 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
public boolean processLine(String line) throws IOException { list.add(line); return true; } @Override public List<String> getResult() { return list; } }); assertExpectedLines(list); } public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineProcessor.java
@CanIgnoreReturnValue // some uses know that their processor never returns false boolean processLine(String line) throws IOException; /** Return the result of processing all the lines. */ @ParametricNullness T getResult();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
static String getResultMessage(int result) { return result < 4 ? result_message[result] : "0x" + jcifs.smb1.util.Hexdump.toHexString(result, 4); } public DcerpcException getResult() { if (result != 0) return new DcerpcException(getResultMessage(result)); return null; } DcerpcBinding binding; int max_xmit, max_recv; public DcerpcBind() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.2K bytes - Viewed (0)