- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for IsValid (0.34 sec)
-
cmd/storage-rest-server.go
if err := storageServerRequestValidate(r); err != nil { s.writeErrorResponse(w, err) return false } return true } // IsValid - To authenticate and check if the disk-id in the request corresponds to the underlying disk. func (s *storageRESTServer) IsValid(w http.ResponseWriter, r *http.Request) bool { if !s.IsAuthValid(w, r) { return false } if err := r.ParseForm(); err != nil {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 44.8K bytes - Viewed (0) -
android/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 26 12:43:10 GMT 2024 - Last Modified: Fri Feb 18 15:33:20 GMT 2022 - 3.7K bytes - Viewed (0) -
internal/bucket/replication/destination.go
func (d Destination) isValidStorageClass() bool { if d.StorageClass == "" { return true } return d.StorageClass == "STANDARD" || d.StorageClass == "REDUCED_REDUNDANCY" } // IsValid - checks whether Destination is valid or not. func (d Destination) IsValid() bool { return d.Bucket != "" || !d.isValidStorageClass() } func (d Destination) String() string { return d.ARN }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 4K bytes - Viewed (2) -
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) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
} /** * {@inheritDoc} * * @see jcifs.SmbWatchHandle#watch() */ @Override public List<FileNotifyInformation> watch () throws CIFSException { if ( !this.handle.isValid() ) { throw new SmbException("Watch was broken by tree disconnect"); } try ( SmbTreeHandleImpl th = this.handle.getTree() ) { CommonServerMessageBlockRequest req;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js
"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 strict";var b={resolveErrorMessage:function(a,b,c,d,e){var...
JavaScript - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 32.8K 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 Apr 28 19:28:10 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 Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K 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 Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbFileHandle.java
public interface SmbFileHandle extends AutoCloseable { /** * @return the tree */ SmbTreeHandle getTree (); /** * @return whether the file descriptor is valid */ boolean isValid (); /** * @param lastWriteTime * @throws CIFSException */ void close ( long lastWriteTime ) throws CIFSException; /** * {@inheritDoc} *
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.5K bytes - Viewed (0)