Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 2,267 for Methods (0.05 sec)

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            // Memory usage should have changed (though we can't guarantee direction due to GC)
        }
    
        public void test_integrationScenarios() {
            // Test realistic scenarios combining multiple methods
            String memoryLog1 = MemoryUtil.getMemoryUsageLog();
    
            // Create some objects and measure their sizes
            List<String> testData = new ArrayList<>();
            for (int i = 0; i < 100; i++) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. docs/lambda/README.md

    ```
    
    Following is an example lambda handler.
    ```py
    from flask import Flask, request, abort, make_response
    import requests
    
    app = Flask(__name__)
    @app.route('/', methods=['POST'])
    def get_webhook():
    	if request.method == 'POST':
    		# obtain the request event from the 'POST' call
    		event = request.json
    
    		object_context = event["getObjectContext"]
    
    		# Get the presigned URL to fetch the requested
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            }
            return value;
        }
    
        /**
         * Sets the search request parameters for this builder.
         * This method follows the builder pattern for method chaining.
         *
         * @param params the search request parameters to use
         * @return this QueryStringBuilder instance for method chaining
         */
        public QueryStringBuilder params(final SearchRequestParams params) {
            this.params = params;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset);
    
            assertTrue(bytesRead > 0);
            assertNotNull(response.getInfo());
        }
    
        // Helper methods to create mock buffers for different file information types
    
        private byte[] createMockFileBasicInfoBuffer() {
            // Create a buffer that represents FileBasicInfo data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/ThrowablesTest.java

    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("deprecation") // tests of numerous deprecated methods
    @NullUnmarked
    public class ThrowablesTest extends TestCase {
      // We're testing that the method is in fact equivalent to throwing the exception directly.
      @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
      public void testThrowIfUnchecked_unchecked() {
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // maxParameterCount, maxDataCount, and maxSetupCount are protected fields
            // Their values are verified through the wire format methods
        }
    
        @Test
        void testReset() {
            // Test reset method updates resumeKey and filename
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals("250s", builder.timeoutSettings.clusterTimeout);
        }
    
        @Test
        public void testMethodChaining() {
            // Test that all methods return the builder instance for chaining
            String id = "chain-test";
            SuggestSettings settings = builder.setSettingsIndexName("CHAINED_INDEX")
                    .addInitialSettings("chain.key1", "chainValue1")
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

        }
    
        @Test
        void searchListTest() {
            logger.info("start searchListTest");
            testReadSearchList();
            testDeleteSearchList();
        }
    
        /**
         * Methods for a Web Crawling Job
         * */
        private static void createWebConfig() {
            final Map<String, Object> requestBody = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test isEditable returns false
            assertFalse(emptyBean.isEditable());
    
            // Test getFessUser returns null
            assertNull(emptyBean.getFessUser());
    
            // Test hasRole and hasGroup methods with null user
            assertFalse(emptyBean.hasRole("admin"));
            assertFalse(emptyBean.hasGroup("developers"));
            assertFalse(emptyBean.hasGroups(new String[] { "developers" }));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlResponseTest.java

            ContentCache cache = new ContentCache(data);
    
            response.setContentCache(cache);
    
            // ContentCache is not directly accessible, but we can test through content methods
            assertNotNull(response);
        }
    
        @Test
        public void testGetContentAsStringWithCache() throws IOException {
            CurlResponse response = new CurlResponse();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top