Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 82 for AutoCloseable (0.05 sec)

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

    import java.util.concurrent.ConcurrentHashMap
    import javax.inject.Inject
    
    
    private
    val logger = LoggerFactory.getLogger("daemonTracker")
    
    
    abstract class DaemonTracker : BuildService<DaemonTracker.Params>, AutoCloseable {
        interface Params : BuildServiceParameters {
            val rootProjectDir: DirectoryProperty
        }
    
        @get:Inject
        abstract val execOperations: ExecOperations
    
        private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * Level 28</a> is the first version in which {@code MediaDrm} is {@code AutoCloseable}. To
         * support older versions, pass a wrapper {@code AutoCloseable} with a method reference like
         * {@code mediaDrm::release}.
         *
         * @param closeable the object to be closed
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

     *
     * `WARN` Holds resources open for performance, must be closed after use.
     */
    class BinaryCompatibilityRepository internal constructor(
    
        private
        val sources: SourcesRepository
    
    ) : AutoCloseable {
    
        companion object {
    
            @JvmStatic
            fun openRepositoryFor(sourceRoots: List<File>, compilationClasspath: List<File>) =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java

     * RDMA operations. The memory region contains a buffer, access
     * permissions, and keys for local and remote access.
     */
    public abstract class RdmaMemoryRegion implements AutoCloseable {
    
        /** Memory buffer for RDMA operations */
        protected final ByteBuffer buffer;
        /** Access permissions for this memory region */
        protected final EnumSet<RdmaAccess> accessFlags;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

     * This class represents an open handle to a SAM server and provides
     * high-level access to SAM database operations.
     */
    public class SamrPolicyHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
        /**
         * Creates a new SAM policy handle.
         *
         * @param handle the DCE/RPC handle for communication
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbRandomAccess.java

    import jcifs.smb.SmbException;
    
    /**
     * File access that exposes random access semantics
     *
     * @author mbechler
     *
     */
    public interface SmbRandomAccess extends DataOutput, DataInput, AutoCloseable {
    
        /**
         * Close the file
         *
         * @throws SmbException if an I/O error occurs during close
         */
        @Override
        void close() throws SmbException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/storage/StorageClient.java

    import java.util.Map;
    
    /**
     * Interface for cloud storage operations.
     * Implementations provide access to S3-compatible storage, GCS, or other cloud storage systems.
     */
    public interface StorageClient extends AutoCloseable {
    
        /**
         * Uploads an object to storage.
         *
         * @param objectName the name/path for the object
         * @param inputStream the input stream of data to upload
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

        val visitor: GenericVisitor<T, Unit?>
    )
    
    
    internal
    class SourcesRepository(
    
        private
        val sourceRoots: List<File>,
    
        private
        val compilationClasspath: List<File>
    
    ) : AutoCloseable {
    
        private
        val openJavaCompilationUnitsByFile = mutableMapOf<File, CompilationUnit>()
    
        private
        val openKotlinCompilationUnitsByRoot = mutableMapOf<File, KotlinSourceParser.ParsedKotlinFiles>()
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Apr 28 14:56:52 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

    import java.io.File
    
    
    class KotlinSourceParser {
    
        data class ParsedKotlinFiles(
    
            val ktFiles: List<KtFile>,
    
            private
            val disposable: Disposable
    
        ) : AutoCloseable {
    
            override fun close() {
                Disposer.dispose(disposable)
            }
        }
    
        private
        val messageCollector: MessageCollector
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 16 08:22:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            session.acquire();
    
            // Should handle exceptions gracefully
            assertDoesNotThrow(() -> session.release());
        }
    
        /**
         * Test AutoCloseable pattern
         */
        @Test
        @Timeout(5)
        public void testAutoCloseablePattern() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top