- Sort Score
- Num 10 results
- Language All
Results 1801 - 1810 of 3,637 for throwIf (0.05 seconds)
-
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformationManager.java
* * @param artifact Artifact to be transformed. * @param request the repositories to check */ void transformForResolve(Artifact artifact, RepositoryRequest request) throws ArtifactResolutionException, ArtifactNotFoundException; /** * Take in an artifact and return the transformed artifact for locating in the remote repository. If noCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
class DependencyInferenceTests { @Test @DisplayName("should remove dependency version for project artifact") void shouldRemoveDependencyVersionForProjectArtifact() throws Exception { String parentPomXml = PomBuilder.create() .namespace("http://maven.apache.org/POM/4.1.0") .modelVersion("4.1.0") .groupId("com.example")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
} @Test public void test_getCrawlingConfig_cacheExceptionHandling() { // Register a service that throws exception ComponentUtil.register(new WebConfigService() { @Override public OptionalEntity<WebConfig> getWebConfig(final String id) { throw new RuntimeException("Test exception"); } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 35.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
public void testAcceptReturnsTrueWhenAttributesMatch() throws Exception { SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_NORMAL); assertTrue(filter.accept(file), "Attributes match should be accepted"); verify(file, times(1)).getAttributes(); } @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
private int expiredCount; protected void setUp() throws Exception { expiredCount = 0; TimeoutManager.getInstance().clear(); } protected void tearDown() throws Exception { TimeoutManager.getInstance().clear(); } /** * @throws Exception */ public void testExpired() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
* @param bufferIndex starting index in source buffer * @param len length of data to read * @return number of bytes read * @throws SMBProtocolDecodingException if decoding fails */ protected abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException; /** * Reads data from wire format * @param buffer source bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
@CanIgnoreReturnValue static int checkPositive(String role, int x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java
* @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrapped * @throws DcerpcException if the unwrapping operation fails */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0)