Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,794 for based (0.02 sec)

  1. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         * @return the number of consecutive heartbeat failures
         */
        public int getHeartbeatFailures() {
            return heartbeatFailures;
        }
    
        /**
         * Checks if this registration has expired based on the timeout.
         *
         * @param timeoutMs the timeout in milliseconds
         * @return true if the registration is expired
         */
        public boolean isExpired(long timeoutMs) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/GraphBuilder.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.graph.Graphs.checkNonNegative;
    
    import com.google.common.annotations.Beta;
    import com.google.common.base.Optional;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

        private boolean testWitness(long base, long n) {
          int r = Long.numberOfTrailingZeros(n - 1);
          long d = (n - 1) >> r;
          base %= n;
          if (base == 0) {
            return true;
          }
          // Calculate a := base^d mod n.
          long a = powMod(base, d, n);
          // n passes this test if
          //    base^d = 1 (mod n)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for purging old log entries from the system.
     * This job removes old crawling sessions, search logs, job logs, and user info logs
     * based on configured retention periods. It helps maintain system performance by
     * preventing log tables from growing too large.
     */
    public class PurgeLogJob {
    
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      private fun enableLogging(
        logger: String,
        tag: String,
      ) {
        val logger = Logger.getLogger(logger)
        if (configuredLoggers.add(logger)) {
          logger.useParentHandlers = false
          // log based on levels at startup to avoid logging each frame
          logger.level =
            when {
              Log.isLoggable(tag, Log.DEBUG) -> Level.FINE
              Log.isLoggable(tag, Log.INFO) -> Level.INFO
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            return attemptReconnect(handleInfo, 0, cause);
        }
    
        /**
         * Perform a single reconnection attempt
         * @param info the handle information
         * @param attempt the current attempt number (0-based)
         * @param originalCause the original exception that triggered reconnection
         * @return a future that completes with success or failure
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item2 = new StopwordsItem(1, "test");
    
            item1.setNewInput("updated");
            item2.setNewInput("different");
    
            // Should still be equal based on original input
            assertTrue(item1.equals(item2));
        }
    
        public void test_toString() {
            // Test toString method
            StopwordsItem item = new StopwordsItem(123, "word");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
          // For these users fallback to a suboptimal implementation, based on synchronized. This will
          // be a definite performance hit to those users.
          thrownReflectionFailure = reflectionFailure;
          helper = new SynchronizedAtomicHelper();
        }
        ATOMIC_HELPER = helper;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class WebApiManagerTest extends UnitFessTestCase {
    
        public void test_matches_withPathBasedImplementation() {
            // Test simple path-based matching
            WebApiManager manager = new TestWebApiManager("/api/v1");
    
            TestHttpServletRequest request = new TestHttpServletRequest();
            request.setRequestURI("/api/v1/search");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MoreCollectors.java

     *
     * @author Louis Wasserman
     * @since 21.0
     */
    @GwtCompatible
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              ToOptionalState::new,
              ToOptionalState::add,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top