- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 191 for safety (0.03 sec)
-
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
java.lang.reflect.Modifier.isStatic(method.getModifiers())); } } } public void test_generic_type_safety() { // Test generic type safety of getObject method // Since we're in test environment without request context, this will return null String stringResult = WebApiUtil.getObject("testString");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
} return exitValue; } } else { // This is a secondary timeout, a safety net. logger.warn("{} is unresponsive and could not be terminated within the safety timeout.", getName()); if (!task.isExecuted()) { task.run(); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Jul 18 14:34:06 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
assertSame(RootAction.class, exception1.getActionClass()); assertSame(RootAction.class, exception2.getActionClass()); } public void test_synchronizedFillInStackTrace() { // Test thread safety of fillInStackTrace method UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); // Create multiple threads to test synchronized method Thread thread1 = new Thread(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* comparator is not consistent with {@code equals}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
Set<E> result = super.convertToHashFloodingResistantImplementation(); this.predecessor = null; this.successor = null; return result; } /* * For discussion of the safety of the following methods for operating on predecessors and * successors, see the comments near the end of CompactHashMap, noting that the methods here call
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertFalse(future.isDone()); assertFalse(future.isCancelled()); CountDownLatch successLatch = new CountDownLatch(1); // Run cancellation in a separate thread as an extra thread-safety test. new Thread( () -> { assertThrows(CancellationException.class, future::get); successLatch.countDown(); }) .start();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
protected static final String JAVABIN = "javabin"; /** Constant for Kryo serializer type. */ protected static final String KRYO = "kryo"; /** ThreadLocal container for Kryo instances to ensure thread safety. */ protected final ThreadLocal<Kryo> kryoThreadLocal; /** * Constructs a new DataSerializer. * <p> * Initializes the ThreadLocal Kryo instances with appropriate configuration.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
* comparator is not consistent with {@code equals}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
assertNotNull(provider2.providePrimaryOneWayCryptographer()); assertNotSame(provider1.providePrimaryOneWayCryptographer(), provider2.providePrimaryOneWayCryptographer()); } // Test thread safety public void test_threadSafety() { // Test that the provider returns the same instances in multi-threaded environment final int threadCount = 10; final Thread[] threads = new Thread[threadCount];
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
assertFalse("Should not support " + mimeType, thumbnailGenerator.isTarget(docMap)); } } public void test_concurrentOperations() throws InterruptedException { // Test thread safety with concurrent operations final int threadCount = 10; Thread[] threads = new Thread[threadCount]; final boolean[] results = new boolean[threadCount];
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0)