Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 122 for 300000 (0.06 sec)

  1. src/main/java/jcifs/util/SimpleCircuitBreaker.java

        /**
         * Creates a simple circuit breaker with default settings
         *
         * @param name the circuit breaker name
         */
        public SimpleCircuitBreaker(String name) {
            this(name, 5, 3, 30000L); // 5 failures, 3 successes, 30 second timeout
        }
    
        /**
         * Creates a simple circuit breaker
         *
         * @param name the circuit breaker name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        }
    
        @Test
        @DisplayName("Test Response interface methods - getExpiration")
        void testGetExpiration() {
            // Given
            Long expectedExpiration = System.currentTimeMillis() + 30000L;
            when(response.getExpiration()).thenReturn(expectedExpiration);
    
            // When
            Long actualExpiration = response.getExpiration();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testSetFuture_stackOverflow() {
        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

          checkConsistentHashCorrectness(r.nextLong());
        }
      }
    
      private void checkConsistentHashCorrectness(long hashCode) {
        int last = 0;
        for (int shards = 1; shards <= 100000; shards++) {
          int b = Hashing.consistentHash(hashCode, shards);
          if (b != last) {
            assertEquals(shards - 1, b);
            last = b;
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  5. src/main/java/jcifs/smb1/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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

        @BeforeEach
        void setUp() throws Exception {
            when(ctx.getConfig()).thenReturn(cfg);
            when(cfg.isSigningEnforced()).thenReturn(false);
            when(cfg.getSessionTimeout()).thenReturn(30_000);
            when(cfg.getResponseTimeout()).thenReturn(5_000);
            when(address.getHostAddress()).thenReturn("127.0.0.1");
            when(address.getHostName()).thenReturn("localhost");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

            return LoadBalancingStrategy.ROUND_ROBIN;
        }
    
        private long getHealthCheckIntervalFromConfig(Configuration config) {
            // In a real implementation, this would read from configuration
            return 30000; // 30 seconds
        }
    
        private List<NetworkInterface> getAvailableNetworkInterfaces() {
            try {
                List<NetworkInterface> interfaces = Collections.list(NetworkInterface.getNetworkInterfaces());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top