Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 386 for ensure (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          assertWrapsInterruptedException(expected);
        } finally {
          interruptenator.shutdown();
          Thread.interrupted();
        }
      }
    
      /**
       * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as
       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/packaging/deb/init.d/fess

    		log_begin_msg "Already running."
    		log_end_msg 0
    		exit 0
    	fi
    
    	# Prepare environment
    	mkdir -p "$LOG_DIR" "$DATA_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$LOG_DIR" "$DATA_DIR"
    
    	# Ensure that the PID_DIR exists (it is cleaned at OS startup time)
    	if [ -n "$PID_DIR" ] && [ ! -e "$PID_DIR" ]; then
    		mkdir -p "$PID_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$PID_DIR"
    	fi
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Test commit (should not throw exception)
            callback.commit();
        }
    
        public void test_multiple_implementations() {
            // Test with different implementations to ensure interface contract
            IndexUpdateCallback callback1 = createMockCallback(10, 500);
            IndexUpdateCallback callback2 = createMockCallback(20, 1000);
    
            assertEquals(10L, callback1.getDocumentSize());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/DocMap.java

    import java.util.Set;
    
    /**
     * A wrapper implementation of Map&lt;String, Object&gt; that provides special handling
     * for document data. This class wraps an existing map and provides custom behavior
     * for the entrySet method to ensure language fields appear first in iteration order.
     * Used throughout the Fess search system for document data manipulation.
     *
     */
    public class DocMap implements Map<String, Object> {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

                    }
                }
            }
        }
    
        public void test_pathValues() throws Exception {
            // Test specific path values to ensure correct JSP paths
            assertEquals("/admin/accesstoken/admin_accesstoken.jsp", FessHtmlPath.path_AdminAccesstoken_AdminAccesstokenJsp.getRoutingPath());
            assertEquals("/admin/accesstoken/admin_accesstoken_details.jsp",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

            return (GetCheckedTypeValidator) theClass.getEnumConstants()[0];
          } catch (ClassNotFoundException
              | RuntimeException
              | Error t) { // ensure we really catch *everything*
            return weakSetValidator();
          }
        }
      }
    
      // TODO(cpovirk): change parameter order to match other helper methods (Class, Throwable)?
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
          // If the safe range is empty, set the range limits to opposite extremes
          // to ensure the first test of either value will fail.
          safeMax = -1;
          safeMin = Integer.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            long actualSize = MemoryUtil.sizeOf(complexMap);
            assertEquals(689L, actualSize);
        }
    
        public void test_getUsedMemory_variations() {
            // Test multiple calls to ensure consistency
            long memory1 = MemoryUtil.getUsedMemory();
            assertTrue(memory1 >= 0);
    
            // Create some objects to change memory usage
            @SuppressWarnings("unused")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/PairedStats.java

      private final Stats xStats;
      private final Stats yStats;
      private final double sumOfProductsOfDeltas;
    
      /**
       * Internal constructor. Users should use {@link PairedStatsAccumulator#snapshot}.
       *
       * <p>To ensure that the created instance obeys its contract, the parameters should satisfy the
       * following constraints. This is the callers responsibility and is not enforced here.
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top