- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 677 for acceptT2 (0.07 seconds)
-
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
static <V extends @Nullable Object, X extends Exception> V getChecked( Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator bestGetCheckedTypeValidator().validateClass(exceptionClass); try { return future.get(timeout, unit); } catch (InterruptedException e) { currentThread().interrupt();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 11.8K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
import java.util.concurrent.Future; import java.util.concurrent.RejectedExecutionException; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 8K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
} } private fun buildRequest( hostname: String, type: Int, ): Request = Request .Builder() .header("Accept", DNS_MESSAGE.toString()) .apply { val query = DnsRecordCodec.encodeQuery(hostname, type) val dnsUrl: HttpUrl = ******@****.*** if (post) { url(dnsUrl)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
cmd/warm-backend-gcs.go
// GCS storage decompresses a gzipped object by default and returns the data. // Refer to https://cloud.google.com/storage/docs/transcoding#decompressive_transcoding // Need to set `Accept-Encoding` header to `gzip` when issuing a GetObject call, to be able // to download the object in compressed state. // Calling ReadCompressed with true accomplishes that.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeMap.java
* * <p>If any parts of the range are already present in this map, those parts are mapped to new * values by applying the remapping function. The remapping function accepts the map's existing * value for that part of the range and the given value. It returns the value to be associated * with that part of the map, or it returns {@code null} to clear that part of the map. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
verify(mockAddress, times(1)).toInetAddress(); } @Test void shouldReturnNullWhenWrappedIsNeitherInetAddressNorAddress() throws Exception { // UniAddress only accepts InetAddress, NbtAddress (which implements Address), or Address // Testing with NbtAddress which doesn't return anything from toInetAddress NbtAddress nbtAddress = mock(NbtAddress.class);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
static <V extends @Nullable Object, X extends Exception> V getChecked( Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator bestGetCheckedTypeValidator().validateClass(exceptionClass); try { return future.get(timeout, unit); } catch (InterruptedException e) { currentThread().interrupt();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Queues.java
* @throws InterruptedException if interrupted while waiting */ @CanIgnoreReturnValue @J2ktIncompatible @GwtIncompatible // BlockingQueue @SuppressWarnings("GoodTime") // should accept a java.time.Duration public static <E> int drain( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
/** * Represents an operation that accepts a {@link ValueAndCloser} for the last step in a {@link * ClosingFuture} pipeline. * * @param <V> the type of the final value of a successful pipeline * @see ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor) */ public interface ValueAndCloserConsumer<V extends @Nullable Object> {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
// Then assertEquals(expectedAttributes, attributes, "Should return correct attributes"); } @Test @DisplayName("setAttributes should accept valid attributes") void testSetAttributes() throws CIFSException { // Given int newAttributes = 0x01; // FILE_ATTRIBUTE_READONLY // When/ThenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0)