Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 557 for 1080 (0.01 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(Double.NaN));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(Double.NaN));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                SMBUtil.writeInt2(0, buffer, 2);
                SMBUtil.writeInt4(1000, buffer, 4);
                SMBUtil.writeInt4(500, buffer, 8);
                SMBUtil.writeInt4(0, buffer, 12);
                SMBUtil.writeInt4(0, buffer, 16);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead);
                assertEquals(1000, response.getCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SIDTest.java

            relativeSid.sub_authority_count = 1;
            relativeSid.sub_authority = new int[] { 1000 };
    
            SID userSid = new SID(domainSid, relativeSid);
            assertEquals(domainSid.sub_authority_count + relativeSid.sub_authority_count, userSid.sub_authority_count);
            assertEquals(1000, userSid.sub_authority[userSid.sub_authority_count - 1]);
        }
    
        /**
         * Test the internal constructor.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/main/resources/fess_config.properties

    page.data.config.max.fetch.size=100
    # Maximum number of web config records to fetch per page.
    page.web.config.max.fetch.size=100
    # Maximum number of file config records to fetch per page.
    page.file.config.max.fetch.size=100
    # Maximum number of duplicate host records to fetch per page.
    page.duplicate.host.max.fetch.size=1000
    # Maximum number of failure URL records to fetch per page.
    page.failure.url.max.fetch.size=1000
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

    @RunWith(JUnit4.class)
    
    @NullUnmarked
    public final class GraphMutationTest {
      private static final int NUM_TRIALS = 50;
      private static final int NUM_NODES = 100;
      private static final int NUM_EDGES = 1000;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
        testGraphMutation(GraphBuilder.directed());
      }
    
      @Test
      public void undirectedGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            InetAddress addr2 = InetAddress.getByName("192.168.1.101");
            NetworkInterfaceInfo local = new NetworkInterfaceInfo(addr1, 1000);
            NetworkInterfaceInfo remote1 = new NetworkInterfaceInfo(addr1, 1000);
            NetworkInterfaceInfo remote2 = new NetworkInterfaceInfo(addr2, 10000); // Faster interface
    
            channel1 = new ChannelInfo("channel1", mockTransport1, local, remote1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // Given
            exception = new SmbOperationException(SmbOperationException.ErrorCode.BUSY, "Server busy");
    
            // When
            Thread.sleep(100);
    
            // Then
            assertTrue(exception.getElapsedTime() >= 100);
            assertTrue(exception.getElapsedTime() < 200);
        }
    
        @Test
        @DisplayName("Should create retry exception correctly")
        void testRetryException() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            auth1.setAuthenticationTTL(1000);
            assertFalse(auth1.isExpired());
    
            // Test with char[] password constructor
            NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("user", "CharPass123!".toCharArray());
            auth2.setAuthenticationTTL(1000);
            assertFalse(auth2.isExpired());
    
            // Test with domain constructor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacTest.java

            writeLittleEndianInt(baos, PacConstants.PAC_VERSION); // version
            writeLittleEndianInt(baos, PacConstants.LOGON_INFO); // type
            writeLittleEndianInt(baos, 100); // size
            writeLittleEndianLong(baos, 1000); // offset way out of bounds
            byte[] pacData = baos.toByteArray();
    
            // This currently throws ArrayIndexOutOfBoundsException
            // but should be wrapped in PACDecodingException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top