- Sort Score
- Num 10 results
- Language All
Results 2741 - 2750 of 3,282 for throwIt (0.05 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java
@PlexusTest class ArtifactHandlerTest { @Inject PlexusContainer container; @Test @SuppressWarnings("checkstyle:UnusedLocalVariable") void testAptConsistency() throws Exception { File apt = getTestFile("src/site/apt/artifact-handlers.apt"); List<String> lines = Files.readAllLines(apt.toPath()); for (String line : lines) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
private final Pattern pattern; /** * Constructs a pattern file name filter object. * * @param patternStr the pattern string on which to filter file names * @throws PatternSyntaxException if pattern compilation fails (runtime) */ public PatternFilenameFilter(String patternStr) { this(Pattern.compile(patternStr)); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.7K bytes - Click Count (1) -
android/guava/src/com/google/common/math/BigDecimalMath.java
* the least significant bit zero is chosen. (In such cases, both of the nearest representable * values are even integers; this method returns the one that is a multiple of a greater power of * two.) * * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x} * is not precisely representable as a {@code double} * @since 30.0 */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
} @BeforeExperiment public void doBefore() { recursionCount = stackDepth - new Throwable().getStackTrace().length - 1; if (recursionCount < 0) { throw new SkipThisScenarioException(); } } @Benchmark public boolean timeFindCaller(int reps) { return timeFindCaller(reps, recursionCount); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
} @BeforeExperiment public void doBefore() { recursionCount = stackDepth - new Throwable().getStackTrace().length - 1; if (recursionCount < 0) { throw new SkipThisScenarioException(); } } @Benchmark public boolean timeFindCaller(int reps) { return timeFindCaller(reps, recursionCount); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSequentialIterator.java
@Override public final boolean hasNext() { return nextOrNull != null; } @Override public final T next() { if (nextOrNull == null) { throw new NoSuchElementException(); } T oldNext = nextOrNull; nextOrNull = computeNext(oldNext); return oldNext; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java
class ConsoleMavenTransferListenerTest { private CountDownLatch startLatch; private CountDownLatch endLatch; @Test void testTransferProgressedWithPrintResourceNames() throws Exception { int size = 1000; ExecutorService service = Executors.newFixedThreadPool(size * 2); try { startLatch = new CountDownLatch(size); endLatch = new CountDownLatch(size);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java
final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper"); return sitemapsHelper.isValid(is); } catch (final CrawlingAccessException e) { throw e; } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed a sitemap check: {}", responseData, e); } } }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
sslSocket.sslParameters = sslParameters } catch (iae: IllegalArgumentException) { // probably java.lang.IllegalArgumentException: Invalid input to toASCII from IDN.toASCII throw IOException("Android internal error", iae) } } @SuppressSignatureCheck companion object { fun buildIfSupported(): SocketAdapter? = if (isSupported()) Android10SocketAdapter() else nullCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
selector.addProfileActivator(new ProfileActivator() { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { throw new RuntimeException("BOOM"); } @Override public boolean presentInConfig( Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0)