- Sort Score
- Result 10 results
- Languages All
Results 2031 - 2040 of 2,123 for execution (0.19 sec)
-
guava/src/com/google/common/net/InetAddresses.java
return (short) hextet; } /** * Convert a byte array into an InetAddress. * * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP * address is of illegal length." We replace it with an unchecked exception, for use by callers * who already know that addr is an array of length 4 or 16. * * @param addr the raw 4-byte or 16-byte IP address in big-endian order
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
/** * Waits for a value that may still be loading. Unlike get(), this method can block (in the case * of FutureValueReference). * * @throws ExecutionException if the loading thread throws an exception * @throws ExecutionError if the loading thread throws an error */ V waitForValue() throws ExecutionException;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* the case of Android, the current app. If that is not possible (as is the case under the very * old Android Ice Cream Sandwich release), then this method throws an exception instead of * creating a directory that would be more accessible. (This behavior is new in Guava 32.0.0. * Previous versions would create a directory that is more accessible, as discussed in <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
try { Chars.checkedCast(value); fail("Cast to char should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { for (char x : VALUES) { for (char y : VALUES) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* if this queue is full. This method is generally preferable to method {@link #add}, which can * fail to insert an element only by throwing an exception. * * @throws NullPointerException if the specified element is null */ @CanIgnoreReturnValue @Override public boolean offer(E e) { if (e == null) throw new NullPointerException();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
public class IndexingHelperTest extends UnitFessTestCase { private IndexingHelper indexingHelper; private long documentSizeByQuery = 0L; @Override public void setUp() throws Exception { super.setUp(); ComponentUtil.register(new SystemHelper(), "systemHelper"); indexingHelper = new IndexingHelper() { @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 08:54:24 UTC 2024 - 23.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Map; import org.codelibs.core.exception.ClIllegalArgumentException; import org.codelibs.core.message.MessageFormatter; import org.codelibs.core.misc.DisposableUtil; /** * ログ出力を提供するクラスです。 * * @author higa */ public class Logger {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
InternetDomainName origin = InternetDomainName.from("foo.com"); InternetDomainName parent = origin.parent(); assertEquals("com", parent.toString()); // These would throw an exception if leniency were not preserved during parent() and child() // calls. InternetDomainName child = parent.child(LOTS_OF_DELTAS); InternetDomainName unused = child.child(LOTS_OF_DELTAS); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 17.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} catch (InstantiationException | IllegalAccessException impossible) { throw new AssertionError(impossible); } catch (InvocationTargetException e) { logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause()); return arbitraryConstantInstanceOrNull(type); } } private static <T> @Nullable T arbitraryConstantInstanceOrNull(Class<T> type) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
*/ for ( int i = 0; i < length; i++ ) { switch ( state ) { case 0: if ( in[ i ] != '/' ) { // Checked exception (e.g. MalformedURLException) would be better // but this would be a nightmare API wise throw new RuntimeCIFSException("Invalid smb: URL: " + this.url); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0)