- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 672 for validated (0.05 seconds)
-
internal/event/config.go
return &ErrUnsupportedConfiguration{} } *conf = Config(parsedConfig) return nil } // Validate - checks whether config has valid values or not. func (conf Config) Validate(region string, targetList *TargetList) error { for _, queue := range conf.QueueList { if err := queue.Validate(region, targetList); err != nil { return err } } return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K 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) -
internal/bucket/lifecycle/noncurrentversion.go
} // IsDaysNull returns true if days field is null func (n NoncurrentVersionExpiration) IsDaysNull() bool { return n.NoncurrentDays == ExpirationDays(0) } // Validate returns an error with wrong value func (n NoncurrentVersionExpiration) Validate() error { if !n.set { return nil } val := int(n.NoncurrentDays) switch { case val == 0 && n.NewerNoncurrentVersions == 0: // both fields can't be zero
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Dec 14 17:41:44 GMT 2021 - 5.3K bytes - Click Count (0) -
internal/config/policy/opa/config.go
AuthToken string `json:"authToken"` Transport http.RoundTripper `json:"-"` CloseRespFn func(r io.ReadCloser) `json:"-"` } // Validate - validate opa configuration params. func (a *Args) Validate() error { req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte(""))) if err != nil { return err } req.Header.Set("Content-Type", "application/json")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/object_api_suite_test.go
n = copy(p, r.data) r.eof = true return n, nil } // Wrapper for calling testMakeBucket for both Erasure and FS. func TestMakeBucket(t *testing.T) { ExecObjectLayerTest(t, testMakeBucket) } // Tests validate bucket creation. func testMakeBucket(obj ObjectLayer, instanceType string, t TestErrHandler) { err := obj.MakeBucket(context.Background(), "bucket-unknown", MakeBucketOptions{}) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 34.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
public class FuturesGetCheckedBenchmark { private enum Validator { NON_CACHING_WITH_CONSTRUCTOR_CHECK(nonCachingWithConstructorCheckValidator()), NON_CACHING_WITHOUT_CONSTRUCTOR_CHECK(nonCachingWithoutConstructorCheckValidator()), WEAK_SET(weakSetValidator()), ; final GetCheckedTypeValidator validator; Validator(GetCheckedTypeValidator validator) { this.validator = validator; } } private enum Result {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 6.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) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
this.systemCpuCheckInterval = systemCpuCheckInterval; } /** * Validates a password against configured password policy requirements. * * @param password The password to validate. * @return An empty string if the password is valid, or an error key for the validation failure. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
internal/bucket/lifecycle/transition_test.go
}, } for i, tc := range trTests { var tr Transition err := xml.Unmarshal([]byte(tc.input), &tr) if err != nil { t.Fatalf("%d: xml unmarshal failed with %v", i+1, err) } if err = tr.Validate(); err != tc.err { t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err) } } ntrTests := []struct { input string err error }{ { input: `<NoncurrentVersionTransition>Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 01 18:58:17 GMT 2021 - 2.3K bytes - Click Count (0) -
internal/bucket/replication/sourceselectioncriteria.go
func (s SourceSelectionCriteria) IsValid() bool { return s.ReplicaModifications.Status == Enabled || s.ReplicaModifications.Status == Disabled } // Validate source selection criteria func (s SourceSelectionCriteria) Validate() error { if (s == SourceSelectionCriteria{}) { return nil } if !s.IsValid() { return errInvalidSourceSelectionCriteria } return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.5K bytes - Click Count (0)