- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 97 for Validator (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/graph/InvalidatableSet.java
private final Supplier<Boolean> validator; private final Set<E> delegate; private final Supplier<String> errorMessage; static <E> InvalidatableSet<E> of( Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) { return new InvalidatableSet<>( checkNotNull(delegate), checkNotNull(validator), checkNotNull(errorMessage)); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.8K bytes - Click Count (0) -
.github/workflows/validate-codeowners.yml
- name: GitHub CODEOWNERS Validator uses: mszostok/codeowners-validator@v0.7.4 with: checks: "files,duppatterns,syntax" experimental_checks: "notowned,avoid-shadowing" # downgrading to 0.7.2 for owners check to avoid issues with token permissions check, # see https://github.com/mszostok/codeowners-validator/issues/224 - name: GitHub CODEOWNERS ValidatorCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Nov 20 22:15:20 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
public class CustomSizeValidatorTest extends UnitFessTestCase { private CustomSizeValidator validator; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); validator = new CustomSizeValidator(); } @Test public void test_constructor() { assertNotNull(validator); } @Test public void test_isValid_nullValue() {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) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
/** */ class DefaultSettingsValidatorTest { private DefaultSettingsValidator validator; @BeforeEach void setUp() throws Exception { validator = new DefaultSettingsValidator(); } @AfterEach void tearDown() throws Exception { validator = null; } private void assertContains(String msg, String substring) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.5K bytes - Click Count (0) -
build-logic/src/main/kotlin/okhttp.publish-conventions.gradle.kts
import kotlinx.validation.ApiValidationExtension import kotlinx.validation.KotlinApiBuildTask import kotlinx.validation.KotlinApiCompareTask plugins { id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } configure<MavenPublishBaseExtension> { publishToMavenCentral(automaticRelease = true) signAllPublications() pom { name.set(project.name)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:00:38 GMT 2026 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
import jakarta.validation.ConstraintDefinitionException; import jakarta.validation.ConstraintValidator; import jakarta.validation.ConstraintValidatorContext; /** * Validator implementation for URI type constraints. * This validator checks URI strings against specified protocol types. */ public class UriTypeValidator implements ConstraintValidator<UriType, String> { /**
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) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
assertEquals(Integer.MAX_VALUE, validator.safeAdd(Integer.MAX_VALUE, 0)); assertEquals(Integer.MIN_VALUE, validator.safeAdd(Integer.MIN_VALUE, 0)); assertEquals(0, validator.safeMultiply(0, Integer.MAX_VALUE)); assertEquals(1, validator.safeMultiply(1, 1)); // Test exact buffer boundaries byte[] buffer = new byte[100];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
validator.addToBlacklist("\\share\\blocked"); validator.clearBlacklist(); // Should allow previously blacklisted path String allowed = validator.validatePath("\\share\\blocked\\file.txt"); assertEquals("\\share\\blocked\\file.txt", allowed); } @Test public void testClearWhitelist() throws Exception { validator.addToWhitelist("\\share\\allowed");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
In those cases, you can use a **custom validator function** that is applied after the normal validation (e.g. after validating that the value is a `str`). You can achieve that using [Pydantic's `AfterValidator`](https://docs.pydantic.dev/latest/concepts/validators/#field-after-validator) inside of `Annotated`. /// tip
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 16.3K bytes - Click Count (0) -
pyproject.toml
# For the test client "httpx >=0.23.0,<1.0.0", # For templates "jinja2 >=3.1.5", # For forms and file uploads "python-multipart >=0.0.18", # To validate email fields "email-validator >=2.0.0", # Uvicorn with uvloop "uvicorn[standard] >=0.12.0", # # Settings management "pydantic-settings >=2.0.0", # # Extra Pydantic data types "pydantic-extra-types >=2.0.0", ]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 10.3K bytes - Click Count (0)