Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for _isValid (0.11 sec)

  1. src/main/webapp/js/admin/moment-with-locales.min.js

    a=0,t=La.length;a<t;a++)if(La[a][1].exec(_[1])){n=La[a][0],s=!1!==La[a][2];break}if(null==n)return void(e._isValid=!1);if(_[3]){for(a=0,t=Ya.length;a<t;a++)if(Ya[a][1].exec(_[3])){r=(_[2]||" ")+Ya[a][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(_[4]){if(!ca.exec(_[4]))return void(e._isValid=!1);d="Z"}e._f=n+(r||"")+(d||""),va(e)}else e._isValid=!1}function Da(e,a,t,s,n,r){var d=[function(e){var a=parseInt(e,10);{if(a<=49)return 2e3+a;if(a<=999)return...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 360.5K bytes
    - Viewed (1)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

            SecDispatcher.ValidationResponse response = secDispatcher.validateConfiguration();
            if (!response.isValid() || context.invokerRequest.options().verbose().orElse(false)) {
                dumpResponse(context, "", response);
            }
            return response.isValid();
        }
    
        protected void dumpResponse(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. utils/tests/utils.go

    )
    
    func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) {
    	for _, name := range names {
    		rv := reflect.Indirect(reflect.ValueOf(r))
    		ev := reflect.Indirect(reflect.ValueOf(e))
    		if rv.IsValid() != ev.IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e)
    			return
    		}
    		got := rv.FieldByName(name).Interface()
    		expect := ev.FieldByName(name).Interface()
    		t.Run(name, func(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  5. 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({
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. 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]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    }
    
    // HealthHandler - returns true of health
    func (s *peerRESTServer) HealthHandler(w http.ResponseWriter, r *http.Request) {
    	s.IsValid(w, r)
    }
    
    // VerifyBinary - verifies the downloaded binary is in-tact
    func (s *peerRESTServer) VerifyBinaryHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	if r.ContentLength < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top