- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for Logic (0.01 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) -
.github/CODEOWNERS
/build-logic/ @gradle/bt-developer-productivity /build-logic-commons/ @gradle/bt-developer-productivity /build-logic-settings/ @gradle/bt-developer-productivity /build.gradle* @gradle/bt-developer-productivity
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Mon Jul 28 01:45:03 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
} /** * Tests the constructor of DosFileFilter. * This test ensures that the constructor runs without errors and correctly initializes the object. * The wildcard parameter is stored but its filtering logic is handled server-side, * so we only verify its acceptance here. */ @Test void testConstructor() { // The constructor should not throw any exceptions with valid inputs.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
} // Additional tests could be added here if MsrpcSamrOpenAlias had more methods or complex logic. // For this specific class, the constructor is the main point of logic.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K 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/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) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
* This test is indirect as the constructor would throw an exception. * We can't instantiate the class with null, so we can't directly test this method's behavior with null. * However, the constructor logic `!isCredentialTypeCorrect()` covers this. * If `new PacCredentialType(null)` throws, it implies `isCredentialTypeCorrect()` returned false for null. */ @Test void testIsCredentialTypeCorrectWithNullData() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K 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)