- Sort Score
- Result 10 results
- Languages All
Results 1731 - 1740 of 3,202 for throwIt (0.04 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
assertSame(clock, newClock, "withZone() should return the same clock instance"); } @Test @DisplayName("MonotonicClock should maintain monotonic time progression") void testMonotonicBehavior() throws InterruptedException { Instant first = MonotonicClock.now(); Thread.sleep(10); // Small delay Instant second = MonotonicClock.now(); Thread.sleep(10); // Small delay
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/SystemUtilTest.java
*/ package org.codelibs.core.lang; import org.junit.Test; /** * @author wyukawa * */ public class SystemUtilTest { /** * @throws Exception */ @Test public void test() throws Exception { System.out.println(SystemUtil.FILE_ENCODING); System.out.println(SystemUtil.LINE_SEPARATOR); System.out.println(SystemUtil.PATH_SEPARATOR);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
blob.toBuilder().setMetadata(tags).build().update(); } else { throw new StorageException("Object not found: " + objectName); } } catch (final StorageException e) { throw e; } catch (final Exception e) { throw new StorageException("Failed to update tags for " + objectName, e); } } @Override
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* Returns the {@code short} value that is equal to {@code value}, if possible. * * @param value any value in the range of the {@code short} type * @return the {@code short} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or * less than {@link Short#MIN_VALUE} */ public static short checkedCast(long value) { short result = (short) value;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* Returns the {@code short} value that is equal to {@code value}, if possible. * * @param value any value in the range of the {@code short} type * @return the {@code short} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or * less than {@link Short#MIN_VALUE} */ public static short checkedCast(long value) { short result = (short) value;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt
// something else. TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")) } @AfterEach @Throws(Exception::class) fun tearDown() { TimeZone.setDefault(originalDefault) } @Test @Throws(Exception::class) fun parseStandardFormats() { // RFC 822, updated by RFC 1123 with GMT.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
if (bc > 0 && errorData != null) { System.arraycopy(errorData, 0, buf, 8, bc); } return buf; } @Test void decodesErrorStructureThroughReadBytesWireFormat() throws Exception { // For STATUS_INVALID_PARAMETER the override makes isErrorResponseStatus() return false, // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt
*/ package okhttp3 import kotlin.jvm.Throws import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupiter.params.provider.Arguments import org.junit.jupiter.params.provider.ArgumentsProvider abstract class SimpleProvider : ArgumentsProvider { override fun provideArguments(context: ExtensionContext) = arguments().map { Arguments.of(it) }.stream() @Throws(Exception::class) abstract fun arguments(): List<Any>Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/GetExample.java
final OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } public static void main(String[] args) throws IOException { GetExample example = new GetExample();
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* response code like 404 or 500. * * @throws IOException if the request could not be executed due to cancellation, a connectivity * problem or timeout. Because networks can fail during an exchange, it is possible that the * remote server accepted the request before the failure. * @throws IllegalStateException when the call has already been executed. */ @Throws(IOException::class) fun execute(): Response /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 6.8K bytes - Viewed (0)