- Sort Score
- Num 10 results
- Language All
Results 1401 - 1410 of 2,719 for match (0.06 seconds)
-
src/test/java/org/codelibs/curl/CurlRequestTest.java
public void testConstructorWithNullMethod() { String url = "https://example.com"; try { new CurlRequest(null, url); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { assertTrue(e.getMessage().contains("method must not be null")); } } @Test public void testSingleArgumentConstructor() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
processLogEntry(entry); returnAuditEntry(entry); } } catch (InterruptedException e) { Thread.currentThread().interrupt(); break; } catch (Exception e) { log.error("Error processing audit log entry", e); } } }); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
invocationContext: ReflectiveInvocationContext<Method>, extensionContext: ExtensionContext, ) { var failed = false try { invocation.proceed() } catch (e: TestAbortedException) { throw e } catch (e: Throwable) { failed = true rethrowIfNotExpected(e) } finally { resetPlatform() } if (!failed) { failIfExpected() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 15.5K bytes - Click Count (1) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
throw new DestroyFailedException("Partial destroy: " + destroyException.getMessage()); } } catch (DestroyFailedException e) { // Re-throw DestroyFailedException as-is throw e; } catch (Exception e) { // For any other exception, wrap it
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
} catch (final IOException ex) {} } final int domainLength = domain.length; byte[] server = {}; try { final String host = NbtAddress.getLocalHost().getHostName(); if (host != null) { try { server = host.getBytes(UNI_ENCODING); } catch (final IOException ex) {} }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
} catch (UnsupportedOperationException expected) { } try { unmod.putAll(singletonMap(4, "four")); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.remove(4); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
TypeVisitor visitor = new BaseTypeVisitor(); try { visitor.visit(type); fail("Type not visited"); } catch (UnsupportedOperationException expected) { } try { visitor.visit(new Type[] {type}); fail("Type not visited"); } catch (UnsupportedOperationException expected) { } } private static class BaseTypeVisitor extends TypeVisitor { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java
Object value = lookup.filter(fetchContext); return FetchSourcePhase.objectToBytes(value, XContentType.JSON, Math.min(1024, lookup.internalSourceRef().length())); } @Benchmark public BytesReference filterXContentOnParser() throws IOException { BytesStreamOutput streamOutput = new BytesStreamOutput(Math.min(1024, sourceBytes.length()));
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 17:34:14 GMT 2021 - 5.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) public void testContainsAll_nullNotAllowed() { try { assertFalse(collection.containsAll(MinimalCollection.of((E) null))); } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContainsAll_nullAllowed() { assertFalse(collection.containsAll(MinimalCollection.of((E) null))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0)