Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 188 for 50000 (0.04 sec)

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

            }
    
            CacheEntry<DfsReferralDataInternal> refs = this.referrals;
            synchronized (this.referralsLock) {
                if (refs == null || System.currentTimeMillis() + 10000 > refs.expiration) {
                    refs = new CacheEntry<>(tc.getConfig().getDfsTtl());
                }
                this.referrals = refs;
            }
            refs.map.put(key, dri);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

                tc.getConfig().getRandom().nextBytes(ntlmClientChallenge);
    
                long ts = (System.currentTimeMillis() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000;
                if (haveTimestamp) {
                    ts = ((AvTimestamp) AvPairs.get(avPairs, AvPair.MsvAvTimestamp)).getTimestamp();
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ShortsTest.java

      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Shorts.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          short num = (short) r.nextInt();
          assertThat(Shorts.fromByteArray(Shorts.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

        }
    
        public void test_calculatePageInfo_largePageRange() {
            // Test when we have more than 11 pages (pageRangeSize * 2 + 1)
            QueryResponseList qrList = new QueryResponseList(null, 50, 10, 0) {
                @Override
                public int size() {
                    return 10;
                }
            };
            qrList.allRecordCount = 300; // 30 pages, current page 6
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
          assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertThat(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
        List<String> list = nCopies(10000, "foo");
        assertThrows(
            IllegalArgumentException.class, () -> cartesianProduct(list, list, list, list, list));
      }
    
      public void testTransformHashCodeRandomAccess() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://:password@@host/path").encodedPassword)
          .isEqualTo("password%40")
      }
    
      @Test
      fun unprintableCharactersArePercentEncoded() {
        assertThat(parse("http://host/\u0000").encodedPath).isEqualTo("/%00")
        assertThat(parse("http://host/\u0008").encodedPath).isEqualTo("/%08")
        assertThat(parse("http://host/\ufffd").encodedPath).isEqualTo("/%EF%BF%BD")
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should generate multiple unique nonces without collision")
        void testGenerateMultipleNoncesNoCollision() {
            // Given
            int count = 10000; // Test with larger number for collision detection
            Set<String> nonceSet = new HashSet<>();
    
            // When
            for (int i = 0; i < count; i++) {
                byte[] nonce = encryptionContext.generateNonce();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void testVerifyOffsetLengthExceedsBuffer() {
                byte[] data = new byte[100];
                boolean result = digest.verify(data, 50, 60, 0, response);
                assertFalse(result, "Should return false when offset+length > buffer size");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

          builder.add(i);
        }
        for (int j = 0; j < 1000; j++) {
          builder.add(9);
        }
        ImmutableSortedSet<Integer> unused = builder.build();
        assertThat(compares[0]).isAtMost(10000);
        // hopefully something quadratic would have more digits
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
Back to top