Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for rakish (0.35 sec)

  1. tests/joins_test.go

    	if db5.Error != nil {
    		t.Errorf("Should not raise error for join where identical fields in different tables. Error: %s", db5.Error.Error())
    	}
    
    	var users6 []User
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    		if r.Name.Kind != "type" {
    			error_(r.Pos(), "expression C.%s used as type", fixGo(r.Name.Go))
    		} else if r.Name.Type == nil {
    			// Use of C.enum_x, C.struct_x or C.union_x without C definition.
    			// GCC won't raise an error when using pointers to such unknown types.
    			error_(r.Pos(), "type C.%s: undefined C type '%s'", fixGo(r.Name.Go), r.Name.C)
    		}
    	default:
    		if r.Name.Kind == "func" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/asm7.go

    	// This is supposed to be something that stops execution.
    	// It's not supposed to be reached, ever, but if it is, we'd
    	// like to be able to tell how we got there. Assemble as
    	// 0xbea71700 which is guaranteed to raise undefined instruction
    	// exception.
    	case 90:
    		o1 = 0xbea71700
    
    	case 91: /* prfm imm(Rn), <prfop | $imm5> */
    		imm := uint32(p.From.Offset)
    		r := p.From.Reg
    		var v uint32
    		var ok bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  4. tests/transaction_test.go

    	user := User{Name: "transaction"}
    	if err := tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise")
    	}
    
    	if err := tx.Commit().Error; err != nil {
    		t.Fatalf("Commit should not raise error")
    	}
    
    	if err := tx.Rollback().Error; err == nil {
    		t.Fatalf("Rollback after commit should raise error")
    	}
    }
    
    func TestTransactionWithSavePoint(t *testing.T) {
    	tx := DB.Begin()
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. tests/query_test.go

    	DB.Create(&user)
    
    	var result User
    	if DB.Where("").Where("").First(&result).Error != nil {
    		t.Errorf("Should not raise any error if searching with empty strings")
    	}
    
    	result = User{}
    	if DB.Where(&User{}).Where("name = ?", user.Name).First(&result).Error != nil {
    		t.Errorf("Should not raise any error if searching with empty struct")
    	}
    
    	result = User{}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
Back to top