- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for IsValid (0.17 sec)
-
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);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Fri Feb 18 15:33:20 GMT 2022 - 3.7K bytes - Viewed (0) -
cmd/erasure-healing-common.go
for index, e := range etags { if partsMetadata[index].IsValid() && e == etag { onlineDisks[index] = disks[index] } else { onlineDisks[index] = nil } } return onlineDisks, modTime, etag } } // Create a new online disks slice, which have common uuid. for index, t := range modTimes { if partsMetadata[index].IsValid() && t.Equal(modTime) { onlineDisks[index] = disks[index]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 10.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
} override fun getLastAccessedTime(): Long { return delegate!!.lastAccessedTime } override fun invalidate() { delegate!!.invalidate() } override fun isValid(): Boolean { return delegate!!.isValid } override fun putValue( s: String, o: Any, ) { delegate!!.putValue(s, o) } override fun getValue(s: String): Any { return delegate!!.getValue(s)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (0) -
internal/auth/credentials_test.go
} } } func TestGetNewCredentials(t *testing.T) { cred, err := GetNewCredentials() if err != nil { t.Fatalf("Failed to get a new credential") } if !cred.IsValid() { t.Fatalf("Failed to get new valid credential") } if len(cred.AccessKey) != accessKeyMaxLen { t.Fatalf("access key length: expected: %v, got: %v", secretKeyMaxLen, len(cred.AccessKey)) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 5.4K bytes - Viewed (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)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 15 03:20:20 GMT 2024 - 32K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java
public class CronExpressionValidator implements ConstraintValidator<CronExpression, String> { @Override public void initialize(final CronExpression constraintAnnotation) { } @Override public boolean isValid(final String value, final ConstraintValidatorContext context) { return determineValid(value); } protected boolean determineValid(final String value) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.4K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
{7, 4}, // Insert part. {3, 2}, // Replace existing part. {4, 3}, // Missing part. {6, -1}, } // Setup. fi := newFileInfo("test-object", 8, 8) fi.Erasure.Index = 1 if !fi.IsValid() { t.Fatalf("unable to get xl meta") } // Test them. for _, testCase := range testCases { if testCase.expectedIndex > -1 { partNumString := strconv.Itoa(testCase.partNum)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 00:31:12 GMT 2024 - 9.1K bytes - Viewed (0) -
internal/config/storageclass/storage-class_test.go
continue } if parity != tt.expectedParity { t.Errorf("Test %d, Expected parity drives %d, got %d", i+1, tt.expectedParity, parity) } } } // Test IsValid method with valid and invalid inputs func TestIsValidStorageClassKind(t *testing.T) { tests := []struct { sc string want bool }{ {"STANDARD", true}, {"REDUCED_REDUNDANCY", true}, {"", false},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Viewed (0) -
api/go1.18.txt
pkg net/netip, method (Addr) IsLoopback() bool pkg net/netip, method (Addr) IsMulticast() bool pkg net/netip, method (Addr) IsPrivate() bool pkg net/netip, method (Addr) IsUnspecified() bool pkg net/netip, method (Addr) IsValid() bool pkg net/netip, method (Addr) Less(Addr) bool pkg net/netip, method (Addr) MarshalBinary() ([]uint8, error) pkg net/netip, method (Addr) MarshalText() ([]uint8, error) pkg net/netip, method (Addr) Next() Addr
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
case FILE -> ComponentUtil.getFessConfig().getCrawlerFileProtocolsAsArray(); default -> throw new ConstraintDefinitionException("protocolType is emtpy."); }; } @Override public boolean isValid(final String value, final ConstraintValidatorContext context) { if (StringUtil.isNotBlank(value)) { return check(protocols, value); } return true; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.3K bytes - Viewed (0)