Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 94 for IsValid (0.04 sec)

  1. schema/schema.go

    			cacheStore.Delete(modelType)
    		}
    	}()
    
    	for _, cbName := range callbackTypes {
    		if methodValue := modelValue.MethodByName(string(cbName)); methodValue.IsValid() {
    			switch methodValue.Type().String() {
    			case "func(*gorm.DB) error":
    				expectedPkgPath := path.Dir(reflect.TypeOf(schema).Elem().PkgPath())
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                if (this.file instanceof SmbNamedPipe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. callbacks/create.go

    			values.Values = make([][]interface{}, rValLen)
    
    			defaultValueFieldsHavingValue := map[*schema.Field][]interface{}{}
    			for i := 0; i < rValLen; i++ {
    				rv := reflect.Indirect(stmt.ReflectValue.Index(i))
    				if !rv.IsValid() {
    					stmt.AddError(fmt.Errorf("slice data #%v is invalid: %w", i, gorm.ErrInvalidData))
    					return
    				}
    
    				values.Values[i] = make([]interface{}, len(values.Columns))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                    start = moment(this.element.val(), this.locale.format);
                    end = start;
                }
    
                if (!start.isValid() || !end.isValid()) return;
    
                this.setStartDate(start);
                this.setEndDate(end);
                this.updateView();
            },
    
            keydown: function(e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         */
        @Override
        public boolean canReuse(final CIFSContext tc, final boolean forceSigning) {
            return getConfig().equals(tc.getConfig());
        }
    
        @Override
        public boolean isValid(final CIFSContext tc, final SmbNegotiationRequest req) {
            if (!isReceived() || getStatus() != 0) {
                return false;
            }
    
            if (req.isSigningEnforced() && !isSigningEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. cmd/admin-handlers-idp-ldap.go

    	var par madmin.PolicyAssociationReq
    	err = json.Unmarshal(reqBytes, &par)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	if err := par.IsValid(); err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL)
    		return
    	}
    
    	// Call IAM subsystem
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:46:04 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                this.handle =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. statement.go

    									}
    								}
    							}
    						}
    					}
    				}
    
    				if restricted {
    					break
    				}
    			} else if !reflectValue.IsValid() {
    				stmt.AddError(ErrInvalidData)
    			} else if len(conds) == 0 {
    				if len(args) == 1 {
    					switch reflectValue.Kind() {
    					case reflect.Slice, reflect.Array:
    						// optimize reflect value length
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. cmd/server-main.go

    	bootstrapTrace("rootCredentials", func() {
    		cred := loadRootCredentials()
    		if !cred.IsValid() && (env.Get(api.EnvAPIRootAccess, config.EnableOn) == config.EnableOff) {
    			// Generate KMS based credentials if root access is disabled
    			// and no ENV is set.
    			cred = autoGenerateRootCredentials()
    		}
    
    		if !cred.IsValid() {
    			cred = auth.DefaultCredentials
    		}
    
    		var err error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  10. cmd/iam-store.go

    	} else {
    		// When looking for a user's policies, we also check if the user
    		// and the groups they are member of are enabled.
    		u, ok := c.iamUsersMap[name]
    		if ok {
    			if !u.Credentials.IsValid() {
    				return nil, time.Time{}, nil
    			}
    		}
    
    		// For internal IDP regular/service account user accounts, the policy
    		// mapping is iamUserPolicyMap. For STS accounts, the parent user would be
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top