Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 4,619 for _new (0.02 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsFailureUrlCA.java

            FailureUrlCQ cq = new FailureUrlCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                FailureUrlCA ca = new FailureUrlCA();
                aggsLambda.callback(ca);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

     * It applies each normalizer in the order they were added to the chain.
     *
     * <p>Usage example:</p>
     * <pre>
     * NormalizerChain chain = new NormalizerChain();
     * chain.add(new SomeNormalizer());
     * chain.add(new AnotherNormalizer());
     * String normalizedText = chain.normalize("input text", "field", "en");
     * </pre>
     *
     * <p>Methods:</p>
     * <ul>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            final AtomicBoolean storeCalled = new AtomicBoolean(false);
            final AtomicReference<DataConfig> capturedConfig = new AtomicReference<>();
            final AtomicReference<IndexUpdateCallback> capturedCallback = new AtomicReference<>();
            final AtomicReference<DataStoreParams> capturedParams = new AtomicReference<>();
    
            dataStore = new DataStore() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

            try (ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) {
                exception.printStackTrace(writer);
                writer.flush();
                append(buf, "exception", () -> StringEscapeUtils.escapeJson(new String(baos.toByteArray(), Constants.CHARSET_UTF_8)));
            } catch (final IOException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

        /**
         * The listener that is called when a pooled object is destroyed.
         */
        protected OnDestroyListener<T> onDestroyListener;
    
        /**
         * Creates a new object instance from the crawler container.
         * @return A new instance of the component specified by componentName
         * @throws Exception if the component cannot be created
         */
        @Override
        public T create() throws Exception {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, new Integer(5)));
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
        assertEquals(5, (int) oldValue);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/https/HandlerTest.java

        @BeforeEach
        void setUp() {
            handler = new Handler();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with default constructor")
            void testDefaultConstructor() {
                // When
                Handler testHandler = new Handler();
    
                // Then
                assertNotNull(testHandler);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

         */
        @Test
        void testConstructorWithMessageAndCause() {
            String message = "Test message with cause.";
            Throwable cause = new RuntimeException("Original cause.");
            DcerpcException exception = new DcerpcException(message, cause);
    
            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        int i = 0;
        for (Entry<E> entry : entries) {
          elementsBuilder.add(entry.getElement());
          cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount();
          i++;
        }
        return new RegularImmutableSortedMultiset<>(
            new RegularImmutableSortedSet<E>(elementsBuilder.build(), comparator),
            cumulativeCounts,
            0,
            entries.size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
Back to top