- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for IsValid (0.1 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
override fun getLastAccessedTime(): Long = delegate!!.lastAccessedTime override fun invalidate() { delegate!!.invalidate() } override fun isValid(): Boolean = delegate!!.isValid override fun putValue( s: String, o: Any, ) { delegate!!.putValue(s, o) } override fun getValue(s: String): Any = delegate!!.getValue(s)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
validator.initialize(annotation); // Test that the method can be called (even if context handling is complex) try { final boolean result = validator.isValid("test", null); assertNotNull(Boolean.valueOf(result), "isValid should return a boolean result"); } catch (final NullPointerException e) { // This is expected if the implementation requires a non-null context
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
fastapi/openapi/docs.py
) : {}; isValid = qp.state === sentState; if (( oauth2.auth.schema.get("flow") === "accessCode" || oauth2.auth.schema.get("flow") === "authorizationCode" || oauth2.auth.schema.get("flow") === "authorization_code" ) && !oauth2.auth.code) { if (!isValid) { oauth2.errCb({Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 12.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
default -> throw new ConstraintDefinitionException("protocolType is empty or invalid: " + uriType.protocolType()); }; } @Override public boolean isValid(final String value, final ConstraintValidatorContext context) { if (StringUtil.isNotBlank(value)) { return check(protocols, value); } return true; } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 3.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
* * <p> * The crawling process involves the following steps: * </p> * <ol> * <li>Fetching a URL from the queue using {@link UrlQueueService#poll(String)}.</li> * <li>Checking if the URL is valid using {@link #isValid(UrlQueue)}.</li> * <li>Accessing the content using a {@link CrawlerClient} obtained from {@link CrawlerClientFactory}.</li> * <li>Processing the response using a {@link ResponseProcessor} associated with a {@link Rule}.</li>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Dec 31 09:07:38 GMT 2025 - 20.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
override fun getValueNames(): Array<String> = throw UnsupportedOperationException() override fun invalidate(): Unit = throw UnsupportedOperationException() override fun isValid(): Boolean = throw UnsupportedOperationException()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* </ul> * * @param domain A domain name (not IP address) * @throws IllegalArgumentException if {@code domain} is not syntactically valid according to * {@link #isValid} * @since 10.0 (previously named {@code fromLenient}) */ @CanIgnoreReturnValue // TODO(b/219820829): consider removing public static InternetDomainName from(String domain) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
schema/field.go
valuer, isValuer := fieldValue.Interface().(driver.Valuer) if isValuer { if _, ok := fieldValue.Interface().(GormDataTypeInterface); !ok { if v, err := valuer.Value(); reflect.ValueOf(v).IsValid() && err == nil { fieldValue = reflect.ValueOf(v) } // Use the field struct's first field type as data type, e.g: use `string` for sql.NullString var getRealFieldValue func(reflect.Value)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 32.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
assertTrue(validator.isValid(null, context)); } @Test public void test_isValid_blankValue() { final ConstraintValidatorContext context = null; assertTrue(validator.isValid(" ", context)); assertTrue(validator.isValid(" ", context)); assertTrue(validator.isValid("\t", context)); assertTrue(validator.isValid("\n", context)); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
// Throws exception if not working correctly HostSpecifier unused = HostSpecifier.fromValid(spec); unused = HostSpecifier.from(spec); assertTrue(HostSpecifier.isValid(spec)); } private void assertBad(String spec) { try { HostSpecifier.fromValid(spec); fail("Should have thrown IllegalArgumentException: " + spec);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.9K bytes - Click Count (0)