Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for maxKey (0.04 sec)

  1. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

            if (StringUtil.isNotBlank(minKey)) {
                min = Integer.parseInt(fessConfig.get(minKey));
            }
            final String maxKey = constraintAnnotation.maxKey();
            if (StringUtil.isNotBlank(maxKey)) {
                max = Integer.parseInt(fessConfig.get(maxKey));
            }
            message = constraintAnnotation.message();
            validateParameters();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

        // Test field with CustomSize annotation for testing
        @CustomSize(minKey = "test.min", maxKey = "test.max")
        private String testField;
    
        // Test field with only minKey
        @CustomSize(minKey = "test.min.only")
        private String testFieldMinOnly;
    
        // Test field with only maxKey
        @CustomSize(maxKey = "test.max.only")
        private String testFieldMaxOnly;
    
        // Test field with custom message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

            void testSourceKeyAllMax() {
                // Given
                byte[] maxKey = new byte[SOURCE_KEY_SIZE];
                Arrays.fill(maxKey, (byte) 0xFF);
                SrvCopychunk chunk = new SrvCopychunk(Long.MAX_VALUE, Long.MAX_VALUE, Integer.MAX_VALUE);
                SrvCopychunkCopy copy = new SrvCopychunkCopy(maxKey, chunk);
                byte[] buffer = new byte[100];
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

                    return new Class[0];
                }
    
                @Override
                public String minKey() {
                    return "";
                }
    
                @Override
                public String maxKey() {
                    return "";
                }
            };
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "", "", "", 10, resultCases[0], nil, true},
    		// Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19).
    		{"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true},
    		// Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20).
    		{"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        break;
                    }
                }
                sorted.add(j, dirents[i]);
            }
            if (maxLen > 50) {
                maxLen = 50;
            }
            maxLen *= 9; /* convert to px */
    
            out = resp.getWriter();
    
            resp.setContentType("text/html");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

                        break;
                    }
                }
                sorted.add(j, dirents[i]);
            }
            if (maxLen > 50) {
                maxLen = 50;
            }
            maxLen *= 9; /* convert to px */
    
            resp.setContentType("text/html");
    
            out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                        len += 2;
                        if (len > maxLen) {
                            if (LogStream.level > 0) {
                                Hexdump.hexdump(System.err, src, srcIndex, maxLen < 128 ? maxLen + 8 : 128);
                            }
                            throw new RuntimeException("zero termination not found");
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Strings.java

         * @param maxLen the maximum length to search
         * @return position of terminating null byte
         */
        public static int findTermination(final byte[] buffer, final int bufferIndex, final int maxLen) {
            int len = 0;
            while (buffer[bufferIndex + len] != (byte) 0x00) {
                len++;
                if (len > maxLen) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            assertEquals(expected, written);
        }
    
        // Helper method to extract string from buffer
        private String extractStringFromBuffer(byte[] buffer, int offset, int maxLen) {
            int end = offset;
            while (end < offset + maxLen && buffer[end] != 0) {
                end++;
            }
            return new String(buffer, offset, end - offset, StandardCharsets.UTF_8);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top