Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for called (0.34 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

        }
    
        public void test_destroy() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test that destroy method can be called without error
            emptyGenerator.destroy();
            // Call destroy multiple times to ensure it's safe
            emptyGenerator.destroy();
            emptyGenerator.destroy();
        }
    
        public void test_isAvailable() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. docs/en/docs/async.md

    ### Other utility functions { #other-utility-functions }
    
    Any other utility function that you call directly can be created with normal `def` or `async def` and FastAPI won't affect the way you call it.
    
    This is in contrast to the functions that FastAPI calls for you: *path operation functions* and dependencies.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                    throw new RuntimeException("Delete operation failed");
                }
            };
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
    
            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert error message is in the result
            assertTrue(result.contains("Delete operation failed"));
            assertTrue(result.endsWith("\n"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/first-steps.md

    Normally you use:
    
    * `POST`: to create data.
    * `GET`: to read data.
    * `PUT`: to update data.
    * `DELETE`: to delete data.
    
    So, in OpenAPI, each of the HTTP methods is called an "operation".
    
    We are going to call them "**operations**" too.
    
    #### Define a *path operation decorator* { #define-a-path-operation-decorator }
    
    {* ../../docs_src/first_steps/tutorial001.py hl[6] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            // Verify listener not called yet
            assertFalse(listener.wasShutdownCalled());
    
            // Call shutdown
            scriptExecutor.shutdown();
    
            // Verify listener was called
            assertTrue(listener.wasShutdownCalled());
        }
    
        public void test_shutdown_withoutListener() {
            // Call shutdown without setting listener
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                }
            };
            ComponentUtil.register(factory, "webApiManagerFactory");
    
            // Execute
            webApiFilter.doFilter(request, response, chain);
    
            // Verify manager was called and chain was not called directly
            assertTrue(managerCalled.get());
            assertFalse(chainCalled.get());
        }
    
        // Test doFilter with ServletRequest and ServletResponse (not HTTP variants)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                }
            };
    
            corsHandler.process(testOrigin, request, response);
    
            assertTrue("process should be called", processCalled);
            assertEquals(testOrigin, processOrigin);
            assertEquals(response, processResponse);
        }
    
        // Test multiple process calls
        public void test_multipleProcessCalls() {
            HttpServletRequest request = createMockRequest();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    	}
    	return true
    }
    
    func (l *localLocker) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	if len(args.Resources) > maxDeleteList {
    		return false, fmt.Errorf("internal error: localLocker.Lock called with more than %d resources", maxDeleteList)
    	}
    
    	// If we have too many waiting, reject this at once.
    	if l.waitMutex.Load() > lockMutexWaitLimit {
    		l.locksOverloaded.Add(1)
    		return false, nil
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            // Execute
            String result = purgeLogJob.execute();
    
            // Assert crawling info and status update were called
            assertTrue(deleteCrawlingInfoCalled[0]);
            assertTrue(updateJobLogStatusCalled[0]);
    
            // Assert other services were not called
            assertFalse(deleteSearchLogCalled[0]);
            assertFalse(deleteJobLogCalled[0]);
            assertFalse(deleteUserInfoCalled[0]);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Change name
            generator.setName("new-name");
            assertEquals("new-name", generator.getName());
        }
    
        public void test_generate() {
            // Test generate method is called correctly
            generator = new TestThumbnailGenerator();
            File outputFile = new File("test.jpg");
    
            assertFalse(generator.isGenerateCalled());
            assertTrue(generator.generate("id123", outputFile));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top