- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 81 for AutoCloseable (0.06 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java
return new BuiltinShellCommandRegistry(context); } private static class BuiltinShellCommandRegistry extends JlineCommandRegistry implements AutoCloseable { private final LookupContext shellContext; private final MavenInvoker shellMavenInvoker; private final MavenParser mavenParser; private final EncryptInvoker shellEncryptInvoker;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
/** * Client implementation for the SMB Witness RPC protocol (MS-SWN). * Provides communication with witness servers for monitoring SMB resource availability. */ public class WitnessRpcClient implements AutoCloseable { private static final Logger log = LoggerFactory.getLogger(WitnessRpcClient.class); private final InetAddress serverAddress; private final CIFSContext context; private volatile boolean connected = false;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
watchHandle.close(); }); assertEquals("Failed to close handle", thrown.getMessage()); verify(watchHandle, times(1)).close(); } /** * Test AutoCloseable behavior with try-with-resources */ @Test void testAutoCloseable() throws CIFSException { // Create a mock that tracks close calls
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
@Mock private SmbFile mockFile1; @Mock private SmbFile mockFile2; private LeaseManager baseLeaseManager; private DirectoryLeaseManager directoryLeaseManager; private AutoCloseable mocks; @BeforeEach public void setUp() throws Exception { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
assertClosed(closeable1, closeable2); } public void testAutoCloseable() throws Exception { AutoCloseable autoCloseable = closeable1::close; ClosingFuture<String> closingFuture = ClosingFuture.submit( closer -> { closer.eventuallyClose(autoCloseable, closingExecutor); return "foo"; }, executor);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
assertClosed(closeable1, closeable2); } public void testAutoCloseable() throws Exception { AutoCloseable autoCloseable = closeable1::close; ClosingFuture<String> closingFuture = ClosingFuture.submit( closer -> { closer.eventuallyClose(autoCloseable, closingExecutor); return "foo"; }, executor);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
* - Uses PBKDF2 for key derivation from master password * - Secure wiping of sensitive data * - Thread-safe operations * - Protection against timing attacks */ public class SecureCredentialStorage implements AutoCloseable, Destroyable { private static final Logger log = LoggerFactory.getLogger(SecureCredentialStorage.class); private static final String ENCRYPTION_ALGORITHM = "AES/GCM/NoPadding";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) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
} abstract class TestFilesCleanupService @Inject constructor( private val fileSystemOperations: FileSystemOperations, ) : BuildService<TestFilesCleanupService.Params>, AutoCloseable, OperationCompletionListener { interface Params : BuildServiceParameters { val rootBuildDir: DirectoryProperty }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
docs/smb3-features/05-rdma-smb-direct-design.md
import java.nio.ByteBuffer; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.atomic.AtomicInteger; public abstract class RdmaConnection implements AutoCloseable { protected final InetSocketAddress remoteAddress; protected final InetSocketAddress localAddress; protected final AtomicInteger sendCredits; protected final AtomicInteger receiveCredits;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
private LeaseManager baseLeaseManager; @Mock private SmbFile mockFile1; @Mock private SmbFile mockFile2; private DirectoryLeaseManager directoryLeaseManager; private AutoCloseable mocks; @BeforeEach public void setUp() { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0)