- Sort Score
- Result 10 results
- Languages All
Results 1101 - 1110 of 2,976 for throw (0.02 sec)
-
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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (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; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
when { isRelease -> "promoteReleaseMilestone" else -> "promoteMilestone" } fun promoteFinalReleaseTaskName(): String = when { isMaster -> throw UnsupportedOperationException("No final release job on master branch") isRelease -> "promoteFinalRelease" else -> "promoteFinalBackportRelease" }
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jun 17 09:57:45 UTC 2025 - 3.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt
override fun lookup(hostname: String): List<InetAddress> { try { return InetAddress.getAllByName(hostname).toList() } catch (e: NullPointerException) { throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply { initCause(e) } } } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} catch (Exception e) { throw new RuntimeException(e); } } private static void setField(Object target, String name, Object value) { try { var f = target.getClass().getDeclaredField(name); f.setAccessible(true); f.set(target, value); } catch (Exception e) { throw new RuntimeException(e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
lastCommandList = new ArrayList<>(cmdList); if (exception instanceof RuntimeException) { throw (RuntimeException) exception; } else if (exception instanceof InterruptedException) { Thread.currentThread().interrupt(); throw new RuntimeException(exception); } return new MockJobProcess(exitValue, output); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java
final StringBuilder kanaBuf = new StringBuilder(); final Reader rd = new StringReader(inputStr); try (TokenStream stream = createTokenStream(rd)) { if (stream == null) { throw new IOException("Invalid tokenizer."); } stream.reset(); int offset = 0;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
val request = Request .Builder() .url("https://publicobject.com/helloworld.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) { println("$name: $value") } println(response.body.string()) } } } fun main() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.2K bytes - Viewed (0)