- Sort Score
- Num 10 results
- Language All
Results 2691 - 2700 of 3,804 for throws (0.2 seconds)
-
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
public boolean isEmpty() { return end == start; } /** * Returns the {@code long} value present at the given index. * * @throws IndexOutOfBoundsException if {@code index} is negative, or greater than or equal to * {@link #length} */ public long get(int index) { Preconditions.checkElementIndex(index, length());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* Gets the root directory of the project, which is the parent directory * containing the {@code .mvn} directory or flagged with {@code root="true"}. * * @return the root directory of the project * @throws IllegalStateException if the root directory could not be found * @see Session#getRootDirectory() */ @Nonnull Path getRootDirectory(); /** * Returns project parent project, if any.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 15.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
this.sameSite = sameSite } fun build(): Cookie = Cookie( name ?: throw NullPointerException("builder.name == null"), value ?: throw NullPointerException("builder.value == null"), expiresAt, domain ?: throw NullPointerException("builder.domain == null"), path, secure, httpOnly, persistent, hostOnly,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
.put("foo", 1) .put("bar", 2) .put("foo", 3) .build(); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableSetMultimap.class); tester.ignore(ImmutableSetMultimap.class.getMethod("get", Object.class));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 28.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
throw new UnsupportedOperationException(); } @Override public String getLocalName() { throw new UnsupportedOperationException(); } @Override public String getLocalAddr() { throw new UnsupportedOperationException(); } @Override public int getLocalPort() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 26.5K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
} /* * We don't permit nulls, but we wrap every comparator with nullsFirst(). * Why? We want for queries like containsKey(null) to return false, but the * GWT SortedMap implementation that we delegate to throws * NullPointerException if the comparator does. Since our construction * methods ensure that null is never present in the map, it's OK for the * comparator to look for it wherever it wants. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); } @Test void constructor_withConfigOnly_shouldInitializeFields() throws Exception { Name name = new Name(mockConfig); Field configField = Name.class.getDeclaredField("config"); configField.setAccessible(true); assertSame(mockConfig, configField.get(name));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
* assertions about all the public instance methods of {@link LinearTransformation}, including an * assertion that {@link LinearTransformation#transform} and {@link LinearTransformation#slope} on * its inverse throws as expected. */ static void assertHorizontalLinearTransformation(LinearTransformation transformation, double y) { assertThat(transformation.isHorizontal()).isTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 24K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
private TestableAbstractLlmClient client; @Override protected void setUp(final TestInfo testInfo) throws Exception { super.setUp(testInfo); client = new TestableAbstractLlmClient(); } @Override protected void tearDown(final TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // ========== P1: Intent detection request building tests ==========Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
} @Test void testInvalidPath() throws Exception { // Test various invalid URL formats that should throw MalformedURLException assertThrows(MalformedURLException.class, () -> new SmbFile("not-a-url", context), "Invalid URL should throw MalformedURLException"); } @Test void testPublicShareAccess() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0)