- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 2,469 for threw (0.02 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
request.setTrace(trace); pomArtifact = resolver.resolveArtifact(session, request).getArtifact(); } catch (ArtifactResolutionException e) { throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e); } Path pomFile = pomArtifact.getPath(); return new FileModelSource(pomFile); } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
Map<String, @Nullable Integer> map = new HashMap<>(); map.put("One", 1); map.put("Three", 3); map.put("Null", null); Function<String, @Nullable Integer> function = Functions.forMap(map); assertEquals(1, function.apply("One").intValue()); assertEquals(3, function.apply("Three").intValue()); assertThat(function.apply("Null")).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
@GwtCompatible public enum MapFeature implements Feature<Map> { /** * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)}, * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}. */ ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES), /** * The map does not throw {@code NullPointerException} on calls such as {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
for (int i = 0; i < reps; ++i) { if (javaImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void longEqualUnsafe(int reps) { for (int i = 0; i < reps; ++i) { if (unsafeImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void diffLastJava(int reps) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
*/ private static void closeUnchecked(Closeable closeable) { try { closeable.close(); } catch (IOException e) { throw new UncheckedIOException(e); } } /** * Returns the size of this source in chars, if the size can be easily determined without actually * opening the data stream. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
if (project != project.getRootProject()) { throw new IllegalStateException(this.getClass().getName() + " can only be applied to the root project."); } GradleVersion minimumGradleVersion = GradleVersion.version(getResourceContents("/minimumGradleVersion")); if (GradleVersion.current().compareTo(minimumGradleVersion) < 0) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
rr.getPolicy(false).getChecksumPolicy()); } catch (Exception e) { throw new RuntimeException("Unable to create repository", e); } } else { // TODO throw new UnsupportedOperationException("Not yet implemented"); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return set.subSet(firstInclusive, lastExclusive); } else { throw new IllegalArgumentException(); } } @Override public E belowSamplesLesser() { throw new UnsupportedOperationException(); } @Override public E belowSamplesGreater() { throw new UnsupportedOperationException(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
checkNotNull(timeoutUnit); try { return callable.call(); } catch (RuntimeException e) { throw new UncheckedExecutionException(e); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throw new ExecutionException(e); } catch (Error e) { throw new ExecutionError(e); } } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/MIEName.java
MIEName(final byte[] buf) { int i; int len; if (buf.length < TOK_ID_SIZE + MECH_OID_LEN_SIZE) { throw new IllegalArgumentException(); } // TOK_ID for (i = 0; i < TOK_ID.length; i++) { if (TOK_ID[i] != buf[i]) { throw new IllegalArgumentException(); } } // MECH_OID_LEN len = 0xff00 & buf[i] << 8; i++;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.5K bytes - Click Count (0)