Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for friends (0.26 sec)

  1. tests/migrate_test.go

    		t.Errorf("failed to create table ccc")
    	}
    
    	for _, indexes := range [][2]string{
    		{"user_speaks", "fk_user_speaks_user"},
    		{"user_speaks", "fk_user_speaks_language"},
    		{"user_friends", "fk_user_friends_user"},
    		{"user_friends", "fk_user_friends_friends"},
    		{"accounts", "fk_users_account"},
    		{"users", "fk_users_team"},
    		{"users", "fk_users_company"},
    	} {
    		if !DB.Migrator().HasConstraint(indexes[0], indexes[1]) {
    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. src/bytes/bytes_test.go

    func TestFields(t *testing.T) {
    	for _, tt := range fieldstests {
    		b := []byte(tt.s)
    		a := Fields(b)
    
    		// Appending to the results should not change future results.
    		var x []byte
    		for _, v := range a {
    			x = append(v, 'z')
    		}
    
    		result := sliceOfString(a)
    		if !eq(result, tt.a) {
    			t.Errorf("Fields(%q) = %v; want %v", tt.s, a, tt.a)
    			continue
    		}
    
    		if string(b) != tt.s {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    			} else {
    				// Iterating over the partInfos and asserting the fields.
    				for j, actualMetaData := range actualResult.Parts {
    					//  Asserting the PartNumber in the PartInfo.
    					if actualMetaData.PartNumber != expectedResult.Parts[j].PartNumber {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    }
    
    // deleteFile deletes a file or a directory if its empty unless recursive
    // is set to true. If the target is successfully deleted, it will recursively
    // move up the tree, deleting empty parent directories until it finds one
    // with files in it. Returns nil for a non-empty directory even when
    // recursive is set to false.
    func (s *xlStorage) deleteFile(basePath, deletePath string, recursive, immediate bool) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen.go

    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *xlMetaDataDirDecoder) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(1)
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	if z.ObjectV2 == nil {
    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    // error code to APIError structure, these fields carry respective
    // descriptions for all the error responses.
    var errorCodes = errorCodeMap{
    	ErrInvalidCopyDest: {
    		Code:           "InvalidRequest",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. cmd/iam.go

    // AssumeRoleWithCertificate case, the "virtual" parent user is the value of the
    // `Subject.CommonName` field. For the OIDC (without RoleARN) case the "virtual"
    // parent is derived as a concatenation of the `sub` and `iss` fields. The
    // policies applicable to the STS credential are associated with this "virtual"
    // parent.
    //
    // When a policyName is given to this function, the policy association is
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. tests/query_test.go

    	}
    }
    
    func TestQueryWithAssociation(t *testing.T) {
    	user := *GetUser("query_with_association", Config{Account: true, Pets: 2, Toys: 1, Company: true, Manager: true, Team: 2, Languages: 1, Friends: 3})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create user: %v", err)
    	}
    
    	user.CreatedAt = time.Time{}
    	user.UpdatedAt = time.Time{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			return &r
    		}
    	case *ast.StructType:
    		changed := false
    		fields := *t.Fields
    		fields.List = nil
    		for _, f := range t.Fields.List {
    			ft := p.rewriteUnsafe(f.Type)
    			if ft == f.Type {
    				fields.List = append(fields.List, f)
    			} else {
    				fn := *f
    				fn.Type = ft
    				fields.List = append(fields.List, &fn)
    				changed = true
    			}
    		}
    		if changed {
    			r := *t
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    func (v *myProtoValue) keyAsStruct(key string) *myProtoValue {
    	if v == nil || v.GetStructValue() == nil {
    		return asMyProtoValue(&structpb.Struct{Fields: make(map[string]*structpb.Value)})
    	}
    
    	return &myProtoValue{v.GetStructValue().Fields[key]}
    }
    
    // asMyProtoValue wraps a protobuf Struct so we may use it with keyAsStruct and keyAsString
    func asMyProtoValue(s *structpb.Struct) *myProtoValue {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top