Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 126 for 600000 (0.03 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.equals(copy), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPerformance() throws Exception {
            int num = 100000;
            Map<String, Object> hmap = new HashMap<String, Object>();
            Map<String, Object> amap = new ArrayMap<String, Object>();
    
            long start = System.currentTimeMillis();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmServletTest.java

            Map<String, String> validParams = new HashMap<>();
            validParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
            validParams.put("jcifs.smb.client.soTimeout", "300000");
    
            when(servletConfig.getInitParameterNames()).thenReturn(Collections.enumeration(validParams.keySet()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmServlet.java

            p.putAll(System.getProperties());
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "300000");
            p.setProperty("jcifs.netbios.cachePolicy", "600");
    
            final Enumeration<String> e = config.getInitParameterNames();
            String name;
            while (e.hasMoreElements()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("192.168.1.1", session)).isTrue()
        assertThat(verifier.verify("::ffff:192.168.1.1", session)).isTrue()
        assertThat(verifier.verify("0:0:0:0:0:FFFF:C0A8:0101", session)).isTrue()
      }
    
      @Test fun generatedCertificate() {
        val heldCertificate =
          HeldCertificate
            .Builder()
            .commonName("Foo Corp")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameTest.java

        @Test
        void isUnknown_withNonZeroHexCode_shouldReturnFalse() {
            Name name = new Name(mockConfig, "0.0.0.0", 0x20, null);
            name.scope = null;
            assertFalse(name.isUnknown());
        }
    
        @Test
        void isUnknown_withScope_shouldReturnFalse() {
            Name name = new Name(mockConfig, "0.0.0.0", 0, "scope");
            assertFalse(name.isUnknown());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

        void setCreateTime(long time) throws CIFSException;
    
        /**
         * Retrieve the last acces time of the file represented by this <code>SmbResource</code>
         *
         * @return The number of milliseconds since the 00:00:00 GMT, January 1,
         *         1970 as a <code>long</code> value
         * @throws CIFSException if an error occurs accessing the resource
         */
        long lastAccess() throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. android/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)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        }
    
        @Test
        @DisplayName("Test Response interface methods - setExpiration")
        void testSetExpiration() {
            // Given
            Long expiration = System.currentTimeMillis() + 60000L;
            doNothing().when(response).setExpiration(expiration);
    
            // When
            response.setExpiration(expiration);
    
            // Then
            verify(response).setExpiration(expiration);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top