- Sort Score
- Result 10 results
- Languages All
Results 2431 - 2440 of 2,976 for throw (0.02 sec)
-
docs/features/interceptors.md
```java class LoggingInterceptor implements Interceptor { @Override public Response intercept(Interceptor.Chain chain) throws IOException { Request request = chain.request(); long t1 = System.nanoTime(); logger.info(String.format("Sending request %s on %s%n%s", request.url(), chain.connection(), request.headers()));Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } @Override public int getOpnum() { return 0; } @Override public void encode_in(final NdrBuffer buf) throws NdrException { buf.enc_ndr_short(this.max_xmit); buf.enc_ndr_short(this.max_recv); buf.enc_ndr_long(0); /* assoc. group */ buf.enc_ndr_small(1); /* num context items */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } @Override public int getOpnum() { return 0; } @Override public void encode_in(final NdrBuffer buf) throws NdrException { buf.enc_ndr_short(max_xmit); buf.enc_ndr_short(max_recv); buf.enc_ndr_long(0); /* assoc. group */ buf.enc_ndr_small(1); /* num context items */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt
import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isTrue import kotlin.test.Test import kotlin.time.Duration.Companion.seconds class CacheControlTest { @Test @Throws(Exception::class) fun emptyBuilderIsEmpty() { val cacheControl = CacheControl.Builder().build() assertThat(cacheControl.toString()).isEqualTo("") assertThat(cacheControl.noCache).isFalse()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
public boolean isDone() { return delegate.isDone(); } @Override @ParametricNullness public V get() throws InterruptedException, ExecutionException { return delegate.get(); } @Override @ParametricNullness public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { return delegate.get(timeout, unit); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java
* Returns the security descriptor of the share as an array of ACEs. * * @return an array of ACE objects representing the share's security descriptor * @throws IOException if there is an error retrieving the security information */ public ACE[] getSecurity() throws IOException { final srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) info; if (info502.security_descriptor != null) { SecurityDescriptor sd;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
*/ class SmbComNegotiateResponseTest { private SmbTransport.ServerData serverData; private SmbComNegotiateResponse response; @BeforeEach void setUp() throws UnknownHostException { // To instantiate the non-static inner class ServerData, we need an instance of the outer class SmbTransport. UniAddress uniAddress = new UniAddress(InetAddress.getByName("127.0.0.1"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
} @Override final boolean isDone() { return TrustedListenableFutureTask.this.isDone(); } @Override @ParametricNullness V runInterruptibly() throws Exception { return callable.call(); } @Override void afterRanInterruptiblySuccess(@ParametricNullness V result) { TrustedListenableFutureTask.this.set(result); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
assertEquals(443, Handler.DEFAULT_HTTPS_PORT); } @Test @DisplayName("DEFAULT_HTTPS_PORT should be public static final") void testDefaultHttpsPortModifiers() throws NoSuchFieldException { // When var field = Handler.class.getField("DEFAULT_HTTPS_PORT"); // Then assertTrue(Modifier.isPublic(field.getModifiers()));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ObjectsTest.java
"EqualsLong", // b/273939864 "EqualsDouble", // b/273939864 "EqualsFloat", // b/273939864 "YodaCondition", // test of reversed call }) public void testEqual() throws Exception { assertTrue(Objects.equal(1, 1)); assertTrue(Objects.equal(null, null)); // test distinct string objects String s1 = "foobar"; String s2 = new String(s1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.6K bytes - Viewed (0)