Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for detection (0.1 sec)

  1. cmd/leak-detect_test.go

    	"strings"
    	"time"
    )
    
    const (
    	// deadline (in seconds) up to which the go routine leak detection has to be retried.
    	leakDetectDeadline = 5
    	// pause time (in milliseconds) between each snapshot at the end of the go routine leak detection.
    	leakDetectPauseTimeMs = 50
    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    	relevantRoutines map[string]bool
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/FileNotifyInformation.java

         * The operating system detects a change in file size only when the file is written to the disk. For operating
         * systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.s
         */
        int FILE_NOTIFY_CHANGE_SIZE = 0x00000008;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ResourceManager.java

    /**
     * Centralized resource management for preventing resource leaks.
     * Tracks all AutoCloseable resources and ensures proper cleanup.
     *
     * Features:
     * - Automatic resource cleanup with weak references
     * - Resource leak detection
     * - Resource usage monitoring
     * - Periodic cleanup of abandoned resources
     * - Detailed resource tracking and reporting
     */
    public class ResourceManager {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Create channel binding hash calculation
    - [ ] Implement channel establishment protocol
    - [ ] Add request distribution algorithm
    - [ ] Create channel synchronization mechanism
    - [ ] Implement channel failure detection
    - [ ] Add automatic channel recovery
    - [ ] Create channel performance monitoring
    
    #### 3.3 Integration Points
    - Modify `SmbTransportPool` for multiple connections per session
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            this.rssCapable = checkRSSCapability();
            if (rssCapable) {
                this.capability |= Smb2ChannelCapabilities.NETWORK_INTERFACE_CAP_RSS;
            }
    
            // RDMA capability would require OS-specific detection
            this.rdmaCapable = false;
        }
    
        /**
         * Get the interface index
         *
         * @return interface index
         */
        public int getInterfaceIndex() {
            return interfaceIndex;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. README.md

    - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters
    - **Pre-Authentication Integrity**: SMB 3.1.1 PAI for preventing downgrade attacks
    - **Automatic Detection**: Encryption automatically enabled when servers require it
    - **Secure Key Management**: Proper key derivation and nonce generation
    
    ### Core Features
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/spnego/NegTokenInit.java

        public static final int DELEGATION = 0x80;
        /**
         * Context flag for mutual authentication requirement
         */
        public static final int MUTUAL_AUTHENTICATION = 0x40;
        /**
         * Context flag for replay detection capability
         */
        public static final int REPLAY_DETECTION = 0x20;
        /**
         * Context flag for sequence checking capability
         */
        public static final int SEQUENCE_CHECKING = 0x10;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

                boolean canWrite = mockResource.canWrite();
    
                // Then
                assertTrue(exists, "Should support SMB existence checks");
                assertTrue(isFile, "Should support SMB file type detection");
                assertTrue(canRead, "Should support SMB read permission checks");
                assertTrue(canWrite, "Should support SMB write permission checks");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            SmbSession result = transport.getSmbSession(ctx, host, domain);
            assertSame(session, result);
            verify(transport).getSmbSession(eq(ctx), eq(host), eq(domain));
        }
    
        // SMB2 detection: true/false and exception path
        @Test
        @DisplayName("isSMB2 returns true/false and can throw")
        void isSMB2_variants() throws Exception {
            when(transport.isSMB2()).thenReturn(true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

            assertTrue(cleaned >= 2);
    
            assertTrue(resource1.isClosed());
            assertTrue(resource2.isClosed());
        }
    
        @Test
        @DisplayName("Test leak detection for unclosed resources")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testLeakDetection() throws InterruptedException {
            // Create resource that will be garbage collected without closing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top