Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for constraint (0.18 sec)

  1. tests/migrate_test.go

    			t.Fatalf("failed to drop constraint %v, got error %v", name, err)
    		}
    
    		if DB.Migrator().HasConstraint(&User{}, name) {
    			t.Fatalf("constraint %v should been deleted", name)
    		}
    
    		if err := DB.Migrator().CreateConstraint(&User{}, name); err != nil {
    			t.Fatalf("failed to create constraint %v, got error %v", name, err)
    		}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    				IsOwner:         owner,
    				Claims:          cred.Claims,
    			}) {
    				writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    				return
    			}
    		}
    	}
    
    	// Parse incoming location constraint.
    	_, s3Error = parseLocationConstraint(r)
    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    					// This has an integer type so it's
    					// not really a floating point
    					// constant. This can happen when the
    					// C compiler complains about using
    					// the value as an integer constant,
    					// but not as a general constant.
    					// Treat this as a variable of the
    					// appropriate type, not a constant,
    					// to get C-style type handling,
    					// avoiding the problem that C permits
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top