- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,618 for call (0.1 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
* * 1. The client thread begins to block on a get() call to a future. * 2. The client thread is interrupted sometime before the result would be * available. * 3. We expect the client's get() to throw an InterruptedException. * 4. We expect the client thread's interrupt state to be false. * 5. The client thread again makes a blocking call to get(). * 6. Now the result becomes available.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
verify(mockResponse, times(2)).isReceived(); } @Test void testReceived() { // Call the method mockResponse.received(); // Verify that the method was called verify(mockResponse, times(1)).received(); } @Test void testClearReceived() { // Call the method mockResponse.clearReceived(); // Verify that the method was called
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSequentialIterator.java
} /** * Returns the element that follows {@code previous}, or returns {@code null} if no elements * remain. This method is invoked during each call to {@link #next()} in order to compute the * result of a <i>future</i> call to {@code next()}. */ protected abstract @Nullable T computeNext(T previous); @Override public final boolean hasNext() { return nextOrNull != null; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
tensorflow/c/c_api.h
TF_CAPI_EXPORT extern void TF_CloseSession(TF_Session*, TF_Status* status); // Destroy a session object. // // Even if error information is recorded in *status, this call discards all // local resources associated with the session. The session may not be used // during or after this call (and the session drops its reference to the // corresponding graph). TF_CAPI_EXPORT extern void TF_DeleteSession(TF_Session*, TF_Status* status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* <p>This method is {@code protected} so that classes like {@code * com.google.common.util.concurrent.SettableFuture} do not expose it to their users as an * instance method. In the unlikely event that you need to call this method, call {@link * InternalFutures#tryInternalFastPathGetFailure(InternalFutureFailureAccess)}. */ protected abstract Throwable tryInternalFastPathGetFailure();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
throw new AssertionFailedError(); } @Override public V get() throws InterruptedException { /* * Wait a little to give us time to call addListener before the future's * value is set in addition to the call we'll make after then. */ allowGetToComplete.await(1, SECONDS); throw new RuntimeException("expected, should be caught"); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
* * @param flag the flag to set */ public void setFlag(final int flag) { this.flags |= flag; } /** * Get the result of the DCERPC call. * @return result exception, if the call failed */ public DcerpcException getResult() { if (this.result != 0) { return new DcerpcException(this.result); } return null; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
import org.jspecify.annotations.Nullable; /** * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any * other {@code Future}, be {@linkplain #cancel cancelled}. * * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when yourCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphTask.java
CloseableHttpResponse response = client.execute(postRequest); getLogger().info("API call response status: " + response.getStatusLine().getStatusCode()); getLogger().debug(EntityUtils.toString(response.getEntity())); } catch (Exception e) { throw new GradleException("Failed to call API endpoint to submit updated dependency graph", e); } } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.3K bytes - Click Count (0)