- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 529 for ensure (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
public void runTest() throws Exception { /* * Note that we do not run this test under Android at the moment. For Android testing, see * AggregateFutureStateDefaultAtomicHelperTest. */ // First, ensure that our classloaders are initializing the correct helper versions: checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper"); checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
// Verify - invalid case format should return empty due to exception assertFalse(result.isPresent()); } // Test multiple calls to ensure consistency public void test_findBusinessLocale_multipleCallsConsistency() { // Setup mock config FessConfig mockConfig = new FessConfig.SimpleImpl() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertTrue(type1Token.length > 0); // Decode the token to verify its properties Type1Message type1Message = new Type1Message(type1Token); // Type1Message ORs default flags with provided flags; ensure expected bits are present assertTrue((type1Message.getFlags() & context.ntlmsspFlags) == context.ntlmsspFlags); assertEquals(domain, type1Message.getSuppliedDomain()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
} /** * ReadWriteLock implementation whose read and write locks retain a reference back to this lock. * Otherwise, a reference to just the read lock or just the write lock would not suffice to ensure * the {@code ReadWriteLock} is retained. */ private static final class WeakSafeReadWriteLock implements ReadWriteLock { private final ReadWriteLock delegate; WeakSafeReadWriteLock() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
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) -
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) -
src/test/java/jcifs/smb/SecurityBlobTest.java
// Mutate original backing array; clone should remain based on previous snapshot data[0] = 99; assertFalse(original.equals(copy), "After mutation, original should not equal previous clone"); // Ensure arrays are independent: mutate clone's buffer via getter copy.get()[1] = 77; assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
import java.util.Set; /** * A wrapper implementation of Map<String, Object> 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) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
public void runTest() throws Exception { /* * Note that we do not run this test under Android at the moment. For Android testing, see * AbstractFutureDefaultAtomicHelperTest. */ // First, ensure that our classloaders are initializing the correct helper versions: if (isJava8()) { checkHelperVersion(getClass().getClassLoader(), "UnsafeAtomicHelper"); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
ranges.removeAt(j) } else { break@mergeAdjacent } } } i++ } return ranges } /** * Returns a copy of [mappings], splitting to ensure that each mapping is entirely contained within * a single section. */ internal fun withoutSectionSpans(mappings: List<Mapping>): List<Mapping> { val result = mutableListOf<Mapping>()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0)