Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 2,009 for Pong (0.02 sec)

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

            ChannelFailover.FailoverState state = new ChannelFailover.FailoverState("test-channel");
    
            long firstRetry = state.getNextRetryTime();
            state.incrementRetry();
    
            long secondRetry = state.getNextRetryTime();
            state.incrementRetry();
    
            long thirdRetry = state.getNextRetryTime();
    
            // Should have exponential backoff
            assertTrue(secondRetry > firstRetry);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        StatsCounter counter = new SimpleStatsCounter();
        counter.recordLoadSuccess(Long.MAX_VALUE);
        counter.recordLoadSuccess(1);
        CacheStats stats = counter.snapshot();
        assertThat(stats.totalLoadTime()).isEqualTo(Long.MAX_VALUE);
      }
    
      public void testSimpleStatsIncrementBy() {
        long totalLoadTime = 0;
    
        SimpleStatsCounter counter1 = new SimpleStatsCounter();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

     * }</pre>
     *
     * @see System#nanoTime()
     * @see Clock
     */
    public class MonotonicClock extends Clock {
        private static final MonotonicClock CLOCK = new MonotonicClock();
    
        private final long startNanos;
        private final Instant startInstant;
    
        /**
         * Private constructor to enforce singleton pattern.
         * Initializes the clock with the current system time and nanoTime.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        protected File workingDirectory = null;
    
        /** Maximum number of output lines to capture. */
        protected int maxOutputLine = 1000;
    
        /** Command execution timeout in milliseconds. */
        protected long executionTimeout = 30L * 1000L; // 30sec
    
        /** Character encoding for command output. */
        protected String commandOutputEncoding = Charset.defaultCharset().displayName();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * entry's sequence number.
       */
      private var nextSequenceNumber: Long = 0
    
      private val cleanupQueue = taskRunner.newQueue()
      private val cleanupTask =
        object : Task("$okHttpName Cache") {
          override fun runOnce(): Long {
            synchronized(this@DiskLruCache) {
              if (!initialized || closed) {
                return -1L // Nothing to do.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

            runTest(number, count)
          }
          updateReports()
        } finally {
          client.dispatcher.executorService.shutdown()
        }
      }
    
      private fun runTest(
        number: Long,
        count: Long,
      ) {
        val latch = CountDownLatch(1)
        val startNanos = AtomicLong()
        newWebSocket(
          "/runCase?case=$number&agent=okhttp",
          object : WebSocketListener() {
            override fun onOpen(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsTesting.java

      static final double LONG_MANY_VALUES_MIN = -44444444.0;
    
      // Longs which will overflow if summed (using long arithmetic):
      static final long[] LARGE_LONG_VALUES = {Long.MAX_VALUE, Long.MAX_VALUE / 2};
      static final double LARGE_LONG_VALUES_MEAN =
          BigInteger.valueOf(Long.MAX_VALUE)
              .multiply(BigInteger.valueOf(3L))
              .divide(BigInteger.valueOf(4L))
              .doubleValue();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Queues.java

      public static <E> int drainUninterruptibly(
          BlockingQueue<E> q,
          Collection<? super E> buffer,
          int numElements,
          long timeout,
          TimeUnit unit) {
        Preconditions.checkNotNull(buffer);
        long deadline = System.nanoTime() + unit.toNanos(timeout);
        int added = 0;
        boolean interrupted = false;
        try {
          while (added < numElements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    byte[] dst = new byte[buffer.size()];
                    buffer.encode(dst, 0);
    
                    // Verify SMBUtil.writeInt2 was called for referral level (with long parameter)
                    mockedSMBUtil.verify(() -> SMBUtil.writeInt2(eq((long) maxReferralLevel), any(byte[].class), eq(0)));
                    // Verify SMBUtil.writeInt2 was called for null terminator
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        private static final int TEST_FID = 0x1234;
        private static final int TEST_ATTRIBUTES = 0x20; // FILE_ATTRIBUTE_ARCHIVE
        private static final long TEST_CREATE_TIME = 131234567890000L;
        private static final long TEST_LAST_WRITE_TIME = 131234567900000L;
        private static final long TEST_LAST_ACCESS_TIME = 131234567880000L;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top