Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 822 for 3000 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertEquals(0, channelInfo.getErrors());
    
            channelInfo.addBytesSent(1000);
            channelInfo.addBytesReceived(2000);
            channelInfo.incrementRequestsSent();
            channelInfo.incrementErrors();
    
            assertEquals(1000, channelInfo.getBytesSent());
            assertEquals(2000, channelInfo.getBytesReceived());
            assertEquals(1, channelInfo.getRequestsSent());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessClient.java

        // Polling and backoff constants (in ms)
        private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds
        private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds
        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long BASE_ERROR_DELAY = 1000;
        private static final int MAX_FAILURE_LIMIT = 5; // Limit failures for backoff calculation
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java

        void testFormatDuration() {
            assertEquals("0.001 s", CLIReportingUtils.formatDuration(1));
            assertEquals("0.999 s", CLIReportingUtils.formatDuration(1000 - 1));
            assertEquals("1.000 s", CLIReportingUtils.formatDuration(1000));
            assertEquals("59.999 s", CLIReportingUtils.formatDuration(60 * 1000 - 1));
            assertEquals("01:00 min", CLIReportingUtils.formatDuration(60 * 1000));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 \u03bcs", stopwatch.toString());
        ticker.advance(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            }
    
            // Assert: verify the underlying stream was called
            verify(out, timeout(1000)).write(payload, 0, 3);
    
            // Stop the thread by sending n = -1
            synchronized (w) {
                w.write(new byte[0], -1, out);
            }
    
            w.join(2000);
            assertFalse(w.isAlive(), "WriterThread should stop after -1 sentinel");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        try {
          for (i in 1..2) {
            // Space out traffic to make it easier to demarcate.
            sendTestRequest(fbRequest)
            Thread.sleep(1000)
            sendTestRequest(twitterRequest)
            Thread.sleep(1000)
            sendTestRequest(googleRequest)
            Thread.sleep(2000)
          }
        } finally {
          client.connectionPool.evictAll()
          client.dispatcher.executorService.shutdownNow()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 1] = 0x00;
            buffer[bufferIndex + 2] = 0x00;
    
            // totalParameterCount (4 bytes)
            SMBUtil.writeInt4(1000, buffer, bufferIndex + 3);
    
            // totalDataCount (4 bytes)
            SMBUtil.writeInt4(2000, buffer, bufferIndex + 7);
    
            // parameterCount (4 bytes)
            SMBUtil.writeInt4(100, buffer, bufferIndex + 11);
    
            // parameterOffset (4 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. README.md

    ```java
    // Configure politeness policy
    container.singleton("intervalController", DefaultIntervalController.class, controller -> {
        controller.setDelayMillisForWaitingNewUrl(5000);
        controller.setDefaultIntervalTime(1000);
    });
    ```
    
    ### Sitemap Support
    
    ```java
    // Enable sitemap processing
    container.singleton("sitemapsRule", SitemapsRule.class, rule -> {
        rule.addRule("url", ".*sitemap.*");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.lastModified()).thenReturn(currentTime);
                when(mockResource.lastAccess()).thenReturn(currentTime - 1000);
                when(mockResource.createTime()).thenReturn(currentTime - 2000);
    
                // When
                long lastModified = mockResource.lastModified();
                long lastAccess = mockResource.lastAccess();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top