Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for 600000 (0.96 sec)

  1. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(5, aggressivePolicy.getMaxAttempts());
            assertEquals(500, aggressivePolicy.getInitialDelayMs());
            assertEquals(60000, aggressivePolicy.getMaxDelayMs());
            assertEquals(1.5, aggressivePolicy.getBackoffMultiplier());
            assertTrue(aggressivePolicy.isExponentialBackoff());
    
            // CONSERVATIVE policy
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. docs/SMB3_IMPLEMENTATION_PLAN.md

    ## Configuration Properties
    
    ```properties
    # Lease configuration
    jcifs.smb.client.useLeases=true
    jcifs.smb.client.leaseTimeout=30000
    
    # Persistent handles
    jcifs.smb.client.usePersistentHandles=true
    jcifs.smb.client.durableTimeout=120000
    
    # Multi-channel
    jcifs.smb.client.useMultiChannel=true
    jcifs.smb.client.maxChannels=4
    jcifs.smb.client.channelBindingPolicy=required
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            byte[] buffer = new byte[22];
            int idFileSystem = 0;
            int sectPerAlloc = 1000;
            int alloc = 1000000; // Large allocation count
            int free = 500000;
            int bytesPerSect = 4096;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
            offset += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead)
            assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)");
            assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
            assertEquals(threadCount * operationsPerThread, allocations.get());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDTest.java

                assertTrue(s1.isEmpty());
                // isBlank will fail if sub_authority is null, so we skip that check for s1
    
                // All-zero subauthorities
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 0 };
                rpc.sid_t st = buildSidT((byte) 1, ident, 0, 0);
                SID s2 = new SID(st, jcifs.SID.SID_TYPE_USE_NONE, null, null, false);
                assertFalse(s2.isEmpty());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

        private final ReadWriteLock lock;
        private final CIFSContext context;
        private final ScheduledExecutorService cleanupExecutor;
        private static final long DEFAULT_LEASE_CLEANUP_INTERVAL = 60000; // 60 seconds
        private static final int DEFAULT_LEASE_BREAK_TIMEOUT = 60; // 60 seconds per MS-SMB2
    
        /**
         * Create a new lease manager
         *
         * @param context CIFS context
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            /**
             * Default constructor for TimeOfDayInfo.
             */
            public TimeOfDayInfo() {
            }
    
            /**
             * The time elapsed since 00:00:00, January 1, 1970 GMT.
             */
            public int elapsedt;
            /**
             * The number of milliseconds from the start of the current second.
             */
            public int msecs;
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            }
        }
    
        private void performHealthCheck() {
            for (ChannelInfo channel : channels.values()) {
                if (channel.getIdleTime() > 60000) { // 1 minute idle
                    // Send keep-alive
                    try {
                        sendKeepAlive(channel);
                    } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. src/main/java/jcifs/audit/SecurityAuditLogger.java

        // Rate limiting
        private final Map<String, AtomicLong> rateLimitCounters = new ConcurrentHashMap<>();
        private volatile long rateLimitWindow = 60000; // 1 minute
        private volatile int maxEventsPerWindow = 10000; // Increased for tests
    
        /**
         * Security event types
         */
        public enum EventType {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top