Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 374 for validate_ (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            // Validate negotiate context count - prevent excessive memory allocation
            if (negotiateContextCount < 0 || negotiateContextCount > 100) {
                throw new SMBProtocolDecodingException("Invalid negotiate context count: " + negotiateContextCount + " (must be 0-100)");
            }
    
            bufferIndex += 4;
    
            // Validate sufficient buffer space for server GUID and capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
            // When - Get a buffer
            byte[] buffer = BufferCache.getBuffer();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/using-request-directly.md

    It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI.
    
    Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
    
    But there are specific cases where it's useful to get the `Request` object.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    ///
    
    ### Read Heroes with `HeroPublic` { #read-heroes-with-heropublic }
    
    We can do the same as before to **read** `Hero`s, again, we use `response_model=list[HeroPublic]` to ensure that the data is validated and serialized correctly.
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[65:72] hl[65] *}
    
    ### Read One Hero with `HeroPublic` { #read-one-hero-with-heropublic }
    
    We can **read** a single hero:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

         * @return HTML response for the path mapping edit form
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            pathMappingService.getPathMapping(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            @Override
            public String getName() {
                return "TestGenerator";
            }
    
            @Override
            public boolean generate(String thumbnailId, File outputFile) {
                // Validate inputs
                if (thumbnailId == null || thumbnailId.isEmpty() || outputFile == null) {
                    return false;
                }
    
                // Check if parent directory is writable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

         * @return HTML response for the edit form
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            relatedQueryService.getRelatedQuery(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

     * referenced in HTML documents. This generator extracts images from HTML content
     * and processes them to create thumbnail images based on configured dimensions
     * and format settings.
     *
     * <p>The generator validates image MIME types, processes image data through
     * ImageIO operations, and applies scaling and cropping to generate thumbnails
     * that meet the specified size requirements.</p>
     *
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/validation/FessActionValidator.java

    import org.lastaflute.web.validation.ActionValidator;
    
    /**
     * Fess-specific action validator that extends the LastaFlute ActionValidator.
     * This validator provides validation functionality for Fess web actions with custom
     * message handling and runtime group validation.
     *
     * @param <MESSAGES> the type of user messages used by this validator
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

    @Named
    @Singleton
    public class DefaultModelValidator implements ModelValidator {
    
        @Inject
        private org.apache.maven.model.validation.ModelValidator modelValidator;
    
        @Override
        public ModelValidationResult validate(Model model) {
            ModelValidationResult result = new ModelValidationResult();
    
            ModelBuildingRequest request =
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top