Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for sarete (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.dbflute.optional.OptionalThing;
    import org.junit.jupiter.api.Test;
    
    /**
     * Concurrency and thread-safety tests for RankFusionProcessor.
     * Tests the improvements made to thread safety using CopyOnWriteArrayList.
     */
    public class RankFusionProcessorConcurrencyTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  2. 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.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  3. 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)
  4. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                            java.lang.reflect.Modifier.isStatic(method.getModifiers()));
                }
            }
        }
    
        @Test
        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");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            }
        }
    
        @Test
        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];
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            assertEquals("user", roles.get(1));
        }
    
        @Test
        public void test_parseJwtClaim_nestedObject() throws IOException {
            final String jwtClaim = "{\"address\":{\"street\":\"123 Main St\",\"city\":\"Springfield\"}}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/UserDbm.java

                0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnStreet = cci("street", "street", null, null, String.class, "street", null, false, false, false,
                "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 27K bytes
    - Click Count (0)
  8. 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.
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  9. 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)
  10. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            // Should keep existing doc_id
            assertEquals("existing-doc-id", dataMap.get("doc_id"));
        }
    
        @Test
        public void test_concurrentStore() throws Exception {
            // Test thread safety
            final int threadCount = 10;
            final int docsPerThread = 10;
            final List<Thread> threads = new ArrayList<>();
            final AtomicInteger successCount = new AtomicInteger(0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
Back to Top