Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 604 for 1000L (0.02 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if (CACHE_POLICY == 0) {
                return;
            }
            long expiration = -1;
            if (CACHE_POLICY != FOREVER) {
                expiration = System.currentTimeMillis() + CACHE_POLICY * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
        static void cacheAddress(final Name hostName, final NbtAddress addr, final long expiration) {
            if (CACHE_POLICY == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
        // Then check 1000 deterministic pseudo-random int values.
        Random rand = new Random(1);
        for (int i = 0; i < 1000; i++) {
          int n = rand.nextInt(Integer.MAX_VALUE);
          assertEquals(LongMath.isPrime(n), IntMath.isPrime(n));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Configuration.java

         *
         * @return lease timeout in milliseconds
         * @since 2.2
         */
        int getLeaseTimeout();
    
        /**
         * Property {@code jcifs.smb.client.maxLeases} (int, default 1000)
         *
         * @return maximum number of concurrent leases
         * @since 2.2
         */
        int getMaxLeases();
    
        /**
         * Property {@code jcifs.smb.client.leaseVersion} (int, default 2)
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                rn = resp.numReferrals;
            }
    
            DfsReferral dr = new DfsReferral();
    
            final String[] arr = new String[4];
            final long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            int di = 0;
            for (;;) {
                /* NTLM HTTP Authentication must be re-negotiated
                 * with challenge from 'server' to access DFS vol. */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            response.received = false;
    
                            responseTable.put(nid, response);
                            ensureOpen(timeout + 1000);
                            socket.send(out);
    
                            if (LogStream.level > 3) {
                                log.println(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, new int[] { 1, 2 });
                byte[] smallBuffer = new byte[100]; // Make buffer large enough
                byte[] largeBuffer = new byte[1000];
    
                // Act
                int smallEncodedSize = context.encode(smallBuffer, 0);
                int largeEncodedSize = context.encode(largeBuffer, 500);
    
                // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * that this will suffice. I have not even benchmarked with different size limits.
             */
            if (validClasses.size() > 1000) {
              validClasses.clear();
            }
    
            validClasses.add(new WeakReference<Class<? extends Exception>>(exceptionClass));
          }
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        void waitUntilHoldingLock() throws InterruptedException {
          locked.await(1, MINUTES);
        }
    
        void releaseLockAndFinish() throws InterruptedException {
          finishLatch.countDown();
          this.join(10000);
          assertFalse(this.isAlive());
        }
      }
    
      public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        void waitUntilHoldingLock() throws InterruptedException {
          locked.await(1, MINUTES);
        }
    
        void releaseLockAndFinish() throws InterruptedException {
          finishLatch.countDown();
          this.join(10000);
          assertFalse(this.isAlive());
        }
      }
    
      public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                assertEquals(command, messageBlock.getCommand());
            }
        }
    
        @Test
        @DisplayName("Test setUid method")
        void testSetUid() {
            // Given
            int uid = 1000;
            doNothing().when(messageBlock).setUid(uid);
    
            // When
            messageBlock.setUid(uid);
    
            // Then
            verify(messageBlock).setUid(uid);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top