Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for peak (0.03 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

             */
            public JvmThreadsObj() {
                // Default constructor
            }
    
            /** Current number of threads */
            public int count;
            /** Peak number of threads */
            public int peak;
        }
    
        /**
         * Data transfer object representing JVM class loading statistics.
         */
        public static class JvmClassesObj {
            /**
             * Default constructor.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            buf.append("},");
            final Threads threads = jvmStats.getThreads();
            buf.append("\"threads\":{");
            append(buf, "count", () -> threads.getCount()).append(',');
            append(buf, "peak", () -> threads.getPeakCount());
            buf.append("},");
            final Classes classes = jvmStats.getClasses();
            buf.append("\"classes\":{");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                }
              }
            };
    
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.peek());
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.next());
    
        assertEquals(1, (int) iter.peek());
        assertEquals(1, (int) iter.next());
    
        /*
         * We test peek() after various calls to make sure that one bad call doesn't interfere with its
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(EntryFactory.WEAK, EntryFactory.getFactory(Strength.WEAK, false, false));
        assertSame(EntryFactory.WEAK_ACCESS, EntryFactory.getFactory(Strength.WEAK, true, false));
        assertSame(EntryFactory.WEAK_WRITE, EntryFactory.getFactory(Strength.WEAK, false, true));
        assertSame(EntryFactory.WEAK_ACCESS_WRITE, EntryFactory.getFactory(Strength.WEAK, true, true));
      }
    
      // computation tests
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              chunked = true
            }
          }
    
          val peek = dispatcher.peek()
          for (response in peek.informationalResponses) {
            writeHttpResponse(socket, response)
          }
    
          val requestBodySink =
            requestBody
              .withThrottlingAndSocketEffect(
                policy = peek,
                socketEffect = peek.onRequestBody,
                expectedByteCount = contentLength,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
        if (builder.getKeyStrength() == Strength.WEAK
            && builder.getValueStrength() == Strength.STRONG) {
          return new MapMakerInternalMap<>(builder, WeakKeyDummyValueEntry.Helper.<K>instance());
        }
        if (builder.getValueStrength() == Strength.WEAK) {
          throw new IllegalArgumentException("Map cannot have both weak and dummy values");
        }
        throw new AssertionError();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

        // other threads waiting on take() will also return.
        if (result == DEAD_LETTER) responseQueue.add(DEAD_LETTER)
    
        return result
      }
    
      public override fun peek(): MockResponse = responseQueue.peek() ?: failFastResponse ?: super.peek()
    
      public open fun enqueue(response: MockResponse) {
        responseQueue.add(response)
      }
    
      public open fun clear() {
        responseQueue.clear()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt

     * an HTTP call to a remote server.
     */
    interface TrailersSource {
      @Throws(IOException::class)
      fun peek(): Headers? = null
    
      @Throws(IOException::class)
      fun get(): Headers
    
      companion object {
        @JvmField
        val EMPTY: TrailersSource =
          object : TrailersSource {
            override fun peek() = Headers.EMPTY
    
            override fun get() = Headers.EMPTY
          }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMaker.java

    import java.util.concurrent.ConcurrentMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A builder of {@link ConcurrentMap} instances that can have keys or values automatically wrapped
     * in {@linkplain WeakReference weak} references.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top