- Sort Score
- Num 10 results
- Language All
Results 1601 - 1610 of 2,310 for rethrow (0.04 seconds)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
* currentEntry (which we never subsequently clear). */ int frequency = requireNonNull(currentEntry).getValue().get(); if (frequency <= 0) { throw new ConcurrentModificationException(); } if (currentEntry.getValue().addAndGet(-1) == 0) { entryIterator.remove(); } size--; canRemove = false; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeMap.java
* for {@code asMapOfRanges().iterator().remove()}. * * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}. */ // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it. RangeMap<K, V> subRangeMap(Range<K> range); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
checkNoConflict(!value.equals(valueBucketHead.getValue()), "value", entry, valueBucketHead); if (++bucketSize > MAX_HASH_BUCKET_LENGTH) { throw new BucketOverflowException(); } } } @Override public @Nullable V get(@Nullable Object key) { return RegularImmutableMap.get(key, keyTable, mask); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmServletTest.java
when(servletConfig.getInitParameter(anyString())).thenAnswer(invocation -> validParams.get(invocation.getArgument(0))); // This should not throw an exception assertDoesNotThrow(() -> ntlmServlet.init(servletConfig)); } /** * Test the service method when no Authorization header is present and no session exists.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertFalse(target.isOpen()); assertTrue(target.isStale()); } @Test @DisplayName("getInput and getOutput throw after close") void testGetInputOutputAndClosed() throws CIFSException { // After closing the handle, further calls throw target.close(); CIFSException e1 = assertThrows(SmbException.class, target::getInput);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
Document doc; try { doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); } catch (ParserConfigurationException e) { throw UncheckedException.throwAsUncheckedException(e); } LinkRenderer linkRenderer = new LinkRenderer(doc, model); for (Map.Entry<String, ClassDoc> entry : extensionDoc.getExtensionClasses().entrySet()) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
boolean ran = false; ThrowingTearDown(String id) { this.id = id; } @Override public void tearDown() throws Exception { ran = true; throw new RuntimeException(id); } } private static final class SimpleTearDown implements TearDown { boolean ran = false; @Nullable Callback callback = null; SimpleTearDown() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
// Act SMBProtocolDecodingException ex = assertThrows(SMBProtocolDecodingException.class, () -> resp.readBytesWireFormat(buffer, 0), "Should throw when structure size != 4"); // Assert: message is meaningful assertEquals("Structure size is not 4", ex.getMessage()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
queryFieldConfig.highlightedFields = null; // When highlightedFields is null, the method should handle it gracefully // or throw an exception. Test the actual behavior. queryFieldConfig.highlightedFields(stream -> { // If it doesn't throw NPE, it should provide an empty stream assertEquals(0, stream.count()); }); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0)