- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for validatePort (0.07 sec)
-
src/test/java/jcifs/util/InputValidatorTest.java
assertDoesNotThrow(() -> InputValidator.validatePort(445)); assertDoesNotThrow(() -> InputValidator.validatePort(139)); assertDoesNotThrow(() -> InputValidator.validatePort(1)); assertDoesNotThrow(() -> InputValidator.validatePort(65535)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validatePort(0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
} /** * Validates a port number * * @param port the port number to validate * @throws IllegalArgumentException if port is invalid */ public static void validatePort(int port) { if (port < 1 || port > 65535) { throw new IllegalArgumentException("Invalid port number: " + port); } } /** * Validates timeout value *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
int lastIndex = parts.size() - 1; // Validate the last part specially, as it has different syntax rules. if (!validatePart(parts.get(lastIndex), true)) { return false; } for (int i = 0; i < lastIndex; i++) { String part = parts.get(i); if (!validatePart(part, false)) { return false; } } return true; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js
)&&c.valAttr("skipped",!0)})}function f(b){var c={se:"sv",cz:"cs",dk:"da"};if(b.lang in c){var d=c[b.lang];a.formUtils.warn('Deprecated use of lang code "'+b.lang+'" use "'+d+'" instead'),b.lang=d}}a.fn.validateForm=function(b,c){return a.formUtils.warn("Use of deprecated function $.validateForm, use $.isValid instead"),this.isValid(b,c,!0)},a(window).on("formValidationPluginInit",function(a,b){f(b),c(b),d(b)}).on("validatorsLoaded formValidationSetup",function(b,c){c||(c=a("form")),e(c)})}(a),function(a){"use...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 32.8K bytes - Viewed (0)