- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for logic (0.02 sec)
-
docs/en/docs/advanced/events.md
# Lifespan Events { #lifespan-events } You can define logic (code) that should be executed before the application **starts up**. This means that this code will be executed **once**, **before** the application **starts receiving requests**. The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
if err != nil { t.Fatalf("Test %s: Failed to create HTTP request for RemoveBucketHandler: <ERROR> %v", instanceType, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) switch rec.Code { case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
assertTrue(result >= 0); } // Test FilePurgeVisitor getDocId public void test_FilePurgeVisitor_getDocId() throws IOException { // Test the getDocId logic without creating actual FilePurgeVisitor // The logic converts path to doc ID by removing path separators String pathStr = "_1/_2/docid123"; String expectedDocId = "_1_2docid123";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
# Custom Request and APIRoute class { #custom-request-and-apiroute-class } In some cases, you may want to override the logic used by the `Request` and `APIRoute` classes. In particular, this may be a good alternative to logic in a middleware. For example, if you want to read or manipulate the request body before it is processed by your application. /// danger This is an "advanced" feature.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
} @Override public String getServicePackageName() { return "service"; } @Override public String getLogicPackageName() { return "logic"; } @Override public String getImplementationSuffix() { return "Impl"; } @Override public String getJobSuffix() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Since 34464 is within the 16-bit range but could still be considered excessive for security buffer, // let's test the actual validation logic instead byte[] buffer2 = createBasicNegotiateResponseBuffer(); // Set maximum 16-bit value SMBUtil.writeInt2(65535, buffer2, 58);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
if err != nil { t.Fatalf("Test %d: %s: Failed to create HTTP request for PutBucketPolicyHandler: <ERROR> %v", i+1, instanceType, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(recV4, reqV4) if recV4.Code != testCase.expectedRespStatus {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/BuildLogicTest.kt
import model.Stage class BuildLogicTest( model: CIBuildModel, stage: Stage, ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = { id(buildTypeId(model)) name = "Build-logic test" description = "Run :build-logic:test" features { publishBuildStatusToGithub(model) } applyDefaults( model, this,
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Mon Aug 25 20:21:47 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
outputFile.delete(); } } } // Test variable replacement logic without triggering component dependencies public void test_variable_replacement_logic() throws Exception { // Test the variable replacement logic directly final List<String> commands =
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
assertEquals("Service", result[0]); assertEquals("ServiceImpl", result[1]); assertEquals("Facade", result[2]); assertEquals("FacadeImpl", result[3]); assertEquals("Logic", result[4]); assertEquals("LogicImpl", result[5]); } // Test toBeDisposable with null process public void test_toBeDisposable_nullProcess() { // Should not throw exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.6K bytes - Viewed (0)