- Sort Score
- Num 10 results
- Language All
Results 1651 - 1660 of 3,670 for throwIf (0.38 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
/** Unit tests for {@link Futures#getDone}. */ @GwtCompatible @NullUnmarked public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException { assertThat(getDone(immediateFuture("a"))).isEqualTo("a"); } public void testSuccessfulNull() throws ExecutionException { assertThat(getDone(immediateVoidFuture())).isEqualTo(null); } public void testFailed() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestCharSink.java
return byteSink.wasStreamClosed(); } @Override public Writer openStream() throws IOException { // using TestByteSink's output stream to get option behavior, so flush to it on every write return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) { @Override public void write(int c) throws IOException { super.write(c); flush(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeInternal.java
/** * Connects and performs logon to the tree using the specified context * @param tf the CIFS context to use for connection * @throws SmbException if an SMB error occurs during connection */ @Deprecated void connectLogon(CIFSContext tf) throws SmbException; /** * Sends an SMB request and returns the response * @param <T> the response type * @param request the request to sendCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
*/ public class SmbPipeOutputStream extends SmbFileOutputStream { private final SmbPipeHandleImpl handle; /** * @param handle * @throws SmbException */ SmbPipeOutputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null, 0, 0, 0); this.handle = handle; } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactory.java
* @return A configured toolchain instance * @throws ToolchainFactoryException if toolchain creation fails */ @Nonnull Toolchain createToolchain(@Nonnull ToolchainModel model) throws ToolchainFactoryException; /** * Creates a default toolchain instance using system defaults. * * @return Optional containing the default toolchain if availableCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 2.1K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Writer.java
/** * Method write. * * @param writer a writer object. * @param coreExtensions a coreExtensions object. * @throws IOException IOException if any. */ public void write(Writer writer, CoreExtensions coreExtensions) throws IOException { XmlSerializer serializer = new MXSerializer(); serializer.setProperty("http://xmlpull.org/v1/doc/properties.html#serializer-indentation", " ");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 6.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
public ModelSource resolveModel(Parent parent) throws UnresolvableModelException { return null; } @Override public ModelSource resolveModel(Dependency dependency) throws UnresolvableModelException { return null; } @Override public void addRepository(Repository repository) throws InvalidRepositoryException {} @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
*/ class KerberosEncDataTest { /** * Test constructor with a valid token. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if a PAC decoding error occurs * @throws UnknownHostException if the IP address is not found */ @Test void testConstructor() throws IOException, PACDecodingException, UnknownHostException { // Build a sample Kerberos EncData structureCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
*/ @RunWith(JUnit4.class) public class SecurityConfigurationTest { /** * Test that default security settings meet minimum security requirements */ @Test public void testSecureDefaults() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true); // Verify minimum SMB version is at least SMB 2.0.2 (SMB1 disabled)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testWithDifferentDelegates() throws Exception { // Given BaseConfiguration baseConfig = new BaseConfiguration(false); DelegatingConfiguration configWithBaseDelegate = new DelegatingConfiguration(baseConfig); // When & Then - should not throw exceptions assertDoesNotThrow(() -> { configWithBaseDelegate.getResponseTimeout();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0)