Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 194 for Closing (0.05 seconds)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

         * It delegates to the release() method to properly clean up the connection.
         */
        @Override
        public void close() {
            if (log.isDebugEnabled()) {
                log.debug("Closing SmbTreeConnection via AutoCloseable.close()");
            }
            release();
        }
    
        protected void checkRelease() {
            if (isConnected() && this.usageCount.get() != 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  2. cmd/metacache-stream.go

    			metaDataPoolPut(o.metadata)
    		}
    	}
    
    	return nil
    }
    
    // stream entries to the output.
    // The returned channel should be closed when done.
    // Any error is reported when closing the metacacheWriter.
    func (w *metacacheWriter) stream() (chan<- metaCacheEntry, error) {
    	if w.creator != nil {
    		err := w.creator()
    		w.creator = nil
    		if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            for (ChannelInfo channel : channels.values()) {
                try {
                    channel.getTransport().close();
                } catch (Exception e) {
                    log.debug("Error closing channel", e);
                }
            }
    
            channels.clear();
        }
    
        private boolean supportsMultiChannel() {
            // Check if both client and server support multi-channel
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/msrpc/samr.java

        /** Account control bit flag: Pre-authentication is not required */
        public static final int ACB_DONT_REQUIRE_PREAUTH = 65536;
    
        /**
         * SAMR CloseHandle operation for closing an opened SAM handle.
         * This operation releases resources associated with the handle.
         */
        public static class SamrCloseHandle extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

        /** Account control bit flag: Pre-authentication is not required */
        public static final int ACB_DONT_REQUIRE_PREAUTH = 65536;
    
        /**
         * SAMR CloseHandle operation for closing an opened SAM handle.
         * This operation releases resources associated with the handle.
         */
        public static class SamrCloseHandle extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/MultiChannelManager.java

                        if (channel.getTransport() != null) {
                            channel.getTransport().disconnect(true);
                        }
                    } catch (Exception e) {
                        log.warn("Error closing channel {}: {}", channel.getChannelId(), e.getMessage());
                    }
                }
                log.info("Removed {} channels for session {}", channelGroup.getChannelCount(), sessionId);
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencies with yield { #dependencies-with-yield }
    
    FastAPI supports dependencies that do some <dfn title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</dfn>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    /// tip
    
    Make sure to use `yield` one single time per dependency.
    
    ///
    
    /// note | Technical Details
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    # `yield`를 사용하는 의존성 { #dependencies-with-yield }
    
    FastAPI는 <dfn title='때로는 "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code" 등으로도 불립니다'>작업 완료 후 추가 단계</dfn>를 수행하는 의존성을 지원합니다.
    
    이를 구현하려면 `return` 대신 `yield`를 사용하고, 추가로 실행할 단계 (코드)를 그 뒤에 작성하세요.
    
    /// tip
    
    각 의존성마다 `yield`는 한 번만 사용해야 합니다.
    
    ///
    
    /// note | 기술 세부사항
    
    다음과 함께 사용할 수 있는 모든 함수:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/SecureKeyManager.java

        }
    
        /**
         * Close the key manager and securely wipe all keys
         */
        @Override
        public void close() {
            if (closed) {
                return;
            }
    
            log.info("Closing SecureKeyManager and wiping all keys");
    
            try {
                // Cancel rotation task
                if (rotationTask != null) {
                    rotationTask.cancel(false);
                    rotationTask = null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                            this.witnessClient = null;
                            this.witnessEnabled = false;
                        } catch (Exception e) {
                            log.debug("Error closing witness client during emergency cleanup", e);
                        }
                    }
    
                    if (this.leaseManager != null) {
                        try {
                            this.leaseManager.shutdown();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top