- Sort Score
- Result 10 results
- Languages All
Results 1841 - 1850 of 2,976 for throwIt (0.06 sec)
-
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) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
apply { actions += { stream -> val actual = stream.source.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } } fun exhaustRequest() = apply { actions += { stream -> if (!stream.source.exhausted()) throw AssertionError("expected exhausted") } } fun cancelStream() = apply {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java
* to create an exception instance with a message, a cause, or both. * * <p>Usage examples:</p> * <pre> * throw new SuggesterException("An error occurred"); * throw new SuggesterException(new IOException("IO error")); * throw new SuggesterException("An error occurred", new IOException("IO error")); * </pre> * * @see RuntimeException */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K 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) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
import org.opensearch.search.aggregations.Aggregations; public class SearchRenderDataTest extends UnitFessTestCase { private SearchRenderData searchRenderData; @Override public void setUp() throws Exception { super.setUp(); searchRenderData = new SearchRenderData(); } public void test_constructor() { assertNotNull(searchRenderData);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertEquals(2.5f, item2.getUserBoost(), 0.001f); // Should keep the value } @Test(expected = IllegalArgumentException.class) public void testMergeDifferentIds() { // Test that merge throws exception for different IDs String[] text1 = { "item1" }; String[][] readings1 = { { "read1" } };
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0)