- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 189 for safety (0.08 seconds)
-
architecture/standards/0002-avoid-using-java-serialization.md
- **Cross-Language Compatibility:** Java serialization is inherently Java-centric and does not support cross-language scenarios well. - **Type Safety:** Java serialization does not enforce type safety as strictly as some alternatives, potentially leading to runtime errors. ## Decision We do not use Java serialization.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 14:05:45 GMT 2026 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class UserRoleLoginExceptionTest extends UnitFessTestCase { // Mock subclass of RootAction for testing generic type safety private static class TestAction extends RootAction { // Test subclass } // Another mock subclass for testing private static class AdminAction extends RootAction {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
return boundary; } }; } // #for_now jflute to suppress CVE-2014-0050 even if commons-fileupload is older than safety version (2024/09/08) // but if you use safety version, this extension is basically unneeded (or you can use it as double check) protected void checkBoundarySize(final String contentType, final byte[] boundary) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:48:41 GMT 2026 - 18.9K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
assertNotNull(provider2.providePrimaryOneWayCryptographer()); assertNotSame(provider1.providePrimaryOneWayCryptographer(), provider2.providePrimaryOneWayCryptographer()); } // Test thread safety @Test public void test_threadSafety() { // Test that the provider returns the same instances in multi-threaded environment final int threadCount = 10;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/Cache.java
* evicted or manually invalidated. The common way to build instances is using {@link CacheBuilder}. * * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed * by multiple concurrent threads. * * @param <K> the type of the cache's keys, which are not permitted to be null * @param <V> the type of the cache's values, which are not permitted to be nullCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8K bytes - Click Count (0) -
CLAUDE.md
.error(throwable -> { /* handle error */ }); ``` --- ## Important Notes ### Thread Safety - **Suggester**: Thread-safe for queries - **SuggestIndexer**: Thread-safe for indexing - **SuggestSettings**: NOT thread-safe for modifications ### Performance - Use batch operations for indexing (100-500 items) - Don't call `refresh()` too frequently
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Mar 12 03:39:53 GMT 2026 - 8.1K bytes - Click Count (0) -
CLAUDE.md
- **Template Method**: `AbstractCrawlerClient`, `AbstractExtractor` - common logic with overrides - **DI**: LastaFlute container with `@Resource` and XML config ### Core Principles **Thread Safety**: `AtomicLong` for counters, `volatile` for status flags, synchronized blocks, thread-local storage via `CrawlingParameterUtil`
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Mar 12 03:39:20 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
value = " "; assertNull(dataStore.convertValue(Constants.DEFAULT_SCRIPT, value, paramMap)); } // ========== Thread Safety Tests ========== /** * Test that the volatile alive field is visible across threads. * One thread sets alive to false, other threads should see the change immediately. */ @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
guava/src/com/google/common/cache/AbstractCache.java
throw new UnsupportedOperationException(); } @Override public CacheStats stats() { throw new UnsupportedOperationException(); } @Override @J2ktIncompatible // Thread safety complexity public ConcurrentMap<K, V> asMap() { throw new UnsupportedOperationException(); } /** * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
return ch >= 32 && ch < 127; } /** * Creates a new String from a char array. * <p> * Note: This method no longer uses internal JDK APIs for safety and compatibility. * It now uses the standard String constructor. * </p> * * @param chars * the char array * @return a new String, or null if the input is null
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0)