Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 2,057 for Pong (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

     * inactivity.
     */
    class ConnectionPool internal constructor(
      internal val delegate: RealConnectionPool,
    ) {
      internal constructor(
        maxIdleConnections: Int = 5,
        keepAliveDuration: Long = 5,
        timeUnit: TimeUnit = TimeUnit.MINUTES,
        taskRunner: TaskRunner = TaskRunner.INSTANCE,
        connectionListener: ConnectionListener = ConnectionListener.NONE,
      ) : this(
        RealConnectionPool(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            assertEquals(1.0f, queue.getWeight(), 0.001f);
        }
    
        public void test_idGetterSetter() {
            // Test ID getter/setter with Long
            UrlQueueImpl<Long> queue = new UrlQueueImpl<>();
    
            queue.setId(123L);
            assertEquals(Long.valueOf(123L), queue.getId());
    
            queue.setId(null);
            assertNull(queue.getId());
        }
    
        public void test_idWithStringType() {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

     */
    @GwtCompatible
    final class LongAdder extends Striped64 implements Serializable, LongAddable {
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 7249069246863182397L;
    
      /** Version of plus for use in retryUpdate */
      @Override
      final long fn(long v, long x) {
        return v + x;
      }
    
      /** Creates a new adder with initial sum of zero. */
      public LongAdder() {}
    
      /**
       * Adds the given value.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbOperationException.java

         * Retry policy for handling transient failures
         */
        public static class RetryPolicy implements Serializable {
            private static final long serialVersionUID = 1L;
    
            private final int maxAttempts;
            private final long initialDelayMs;
            private final long maxDelayMs;
            private final double backoffMultiplier;
            private final boolean exponentialBackoff;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

         */
        public long getDelayMillisAfterProcessing() {
            return delayMillisAfterProcessing;
        }
    
        /**
         * Sets the delay time in milliseconds after processing a URL.
         *
         * @param delayMillisAfterProcessing the delay time in milliseconds after processing
         */
        public void setDelayMillisAfterProcessing(final long delayMillisAfterProcessing) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Wed Nov 19 07:09:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        }
      }
    
      private static int getHash(long entry) {
        return (int) (entry >>> 32);
      }
    
      /** Returns the index, or UNSET if the pointer is "null" */
      private static int getNext(long entry) {
        return (int) entry;
      }
    
      /** Returns a new entry value by changing the "next" index of an existing entry */
      private static long swapNext(long entry, int newNext) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java

            final DefaultIntervalController controller = new DefaultIntervalController();
            controller.setDelayMillisAfterProcessing(0L);
    
            final long start = System.nanoTime();
            controller.delayAfterProcessing();
            final long elapsed = (System.nanoTime() - start) / 1000000;
    
            assertTrue("No delay expected", elapsed < 50); // Should be nearly instant
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:58:39 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

            return this.fileAttributes;
        }
    
        @Override
        public long getCreateTime() {
            return convertTime(this.lastWriteTime);
        }
    
        /**
         * @param time
         * @return
         */
        private long convertTime(final long time) {
            return time + this.serverTimeZoneOffset;
        }
    
        @Override
        public long getLastWriteTime() {
            return convertTime(this.lastWriteTime);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    @NullUnmarked
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Primitives.java

       *     wrap(String.class) == String.class
       * </pre>
       */
      public static <T> Class<T> wrap(Class<T> type) {
        checkNotNull(type);
    
        // cast is safe: long.class and Long.class are both of type Class<Long>
        @SuppressWarnings("unchecked")
        Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type);
        return (wrapped == null) ? type : wrapped;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.8K bytes
    - Click Count (0)
Back to Top