- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 2,240 for throwIf (0.08 seconds)
-
src/main/java/org/codelibs/core/io/SerializeUtil.java
* </p> * * @param bytes the byte array (must not be {@literal null}) * @return the deserialized object * @throws IORuntimeException if an I/O error occurs or if a class is rejected by the filter * @throws ClassNotFoundRuntimeException if the class of a serialized object cannot be found */ public static Object fromBinaryToObject(final byte[] bytes) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java
private WildcardQueryCommand queryCommand; @Override protected void setUpChild() throws Exception { // Initialize and register WildcardQueryCommand queryCommand = new WildcardQueryCommand(); queryCommand.register(); } @Test public void test_convertWildcardQuery_defaultField() throws Exception { // Test with default fieldCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
if (t instanceof Error && !(t instanceof StackOverflowError)) { throw (Error) t; } } static <V extends @Nullable Object> V get(AbstractFuture<V> future) throws InterruptedException, ExecutionException { return future.blockingGet(); } static <V extends @Nullable Object> V get(AbstractFuture<V> future, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
@Throws(InterruptedException::class) fun tearDown() { taskQueue.shutdown() taskQueue.idleLatch().await(10, TimeUnit.SECONDS) } @Synchronized fun sentPingCount(): Int = sentPingCount @Synchronized fun receivedPingCount(): Int = receivedPingCount @Synchronized fun receivedPongCount(): Int = receivedPongCount @Throws(IOException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
throw new UnsupportedOperationException(); } @Override public Iterator<String> iterator() { throw new UnsupportedOperationException(); } @Override public boolean removeAll(Collection<?> collection) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 11.8K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
@Test public void inMemory() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 }); assertFalse(cos.done); assertTrue(cos.isInMemory()); cos.close(); assertFalse(cos.done); } @Test public void inFile() throws IOException {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
} /** * Guaranteed to throw an exception and leave the multimap unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final ImmutableSet<V> removeAll(@Nullable Object key) { throw new UnsupportedOperationException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
e: IOException, ) { latch.countDown() } @Throws(IOException::class) override fun onResponse( call: Call, response: Response, ) { try { Thread.sleep(500) } catch (e: InterruptedException) { throw AssertionError() } assertFailsWith<IOException> {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 10.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/IntMath.java
* {@code checkedPow(2, log2(x, CEILING))}. * * @throws IllegalArgumentException if {@code x <= 0} * @throws ArithmeticException of the next-higher power of two is not representable as an {@code * int}, i.e. when {@code x > 2^30} * @since 20.0 */ public static int ceilingPowerOfTwo(int x) { checkPositive("x", x); if (x > MAX_SIGNED_POWER_OF_TWO) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
public void testForStringIPv4Input() throws UnknownHostException { String ipStr = "192.168.0.1"; // Shouldn't hit DNS, because it's an IP string literal. InetAddress ipv4Addr = InetAddress.getByName(ipStr); assertThat(InetAddresses.forString(ipStr)).isEqualTo(ipv4Addr); assertTrue(InetAddresses.isInetAddress(ipStr)); } public void testForStringIPv4NonAsciiInput() throws UnknownHostException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0)