Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 893 for isValid (0.06 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. callbacks/create.go

    			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))
    				for idx, column := range 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)
  3. 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)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                throw new SMBProtocolDecodingException("Invalid maxTransactSize: " + this.maxTransactSize + " (must be 0-16777216)");
            }
            if (this.maxReadSize < 0 || this.maxReadSize > 16777216) { // 16MB max
                throw new SMBProtocolDecodingException("Invalid maxReadSize: " + this.maxReadSize + " (must be 0-16777216)");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. 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)
  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. 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)
  9. 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)
  10. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(tree.isSMB2()).thenReturn(smb2);
    
            when(file.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fh);
            when(fh.acquire()).thenReturn(fh);
            when(fh.isValid()).thenReturn(true);
            when(fh.getTree()).thenReturn(tree);
            when(fh.getFileId()).thenReturn(new byte[16]);
            when(fh.getFid()).thenReturn(1);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top