Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 125 for alignment (0.06 seconds)

  1. .bazelrc

    # Before VS 2017 15.8, the member "type" would non-conformingly have an
    # alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this
    # correctly, but the fix inherently changes layout and breaks binary
    # compatibility (*only* for uses of aligned_storage with extended alignments).
    common:windows --copt=-D_ENABLE_EXTENDED_ALIGNED_STORAGE
    common:windows --host_copt=-D_ENABLE_EXTENDED_ALIGNED_STORAGE
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  2. doc/go_spec.html

    IncDec statement    Assignment
    x++                 x += 1
    x--                 x -= 1
    </pre>
    
    
    <h3 id="Assignment_statements">Assignment statements</h3>
    
    <p>
    An <i>assignment</i> replaces the current value stored in a <a href="#Variables">variable</a>
    with a new value specified by an <a href="#Expressions">expression</a>.
    An assignment statement may assign a single value to a single variable, or multiple values to a
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  3. cmd/iam.go

    	inheritedPolicyType = "inherited-policy"
    )
    
    const (
    	maxSVCSessionPolicySize = 4096
    )
    
    // IAMSys - config system.
    type IAMSys struct {
    	// Need to keep them here to keep alignment - ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	// metrics
    	LastRefreshTimeUnixNano         uint64
    	LastRefreshDurationMilliseconds uint64
    	TotalRefreshSuccesses           uint64
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  4. clause/set.go

    func AssignmentColumns(values []string) Set {
    	assignments := make([]Assignment, len(values))
    	for idx, value := range values {
    		assignments[idx] = Assignment{Column: Column{Name: value}, Value: Column{Table: "excluded", Name: value}}
    	}
    	return assignments
    }
    
    // Assignments implements Assigner for a single Assignment.
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Sep 09 01:34:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. clause/set_test.go

    var (
    	_ clause.Assigner = clause.Assignment{}
    	_ clause.Assigner = clause.Set{}
    )
    
    func TestSet(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    			},
    			"UPDATE `users` SET `users`.`id`=?",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 11:18:54 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. callbacks/update.go

    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixNano()})
    						} else if field.AutoUpdateTime == schema.UnixMillisecond {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixMilli()})
    						} else if field.AutoUpdateTime == schema.UnixSecond {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. tests/test_union_body_discriminator_annotated.py

            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/pet/assignment": {
                        "post": {
                            "summary": "Create Pet Assignment",
                            "operationId": "create_pet_assignment_pet_assignment_post",
                            "requestBody": {
                                "content": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. clause/association.go

    type Association struct {
    	Association string            // Association name
    	Type        AssociationOpType // Operation type
    	Conditions  []Expression      // Filter conditions
    	Set         []Assignment      // Assignment operations (for Update and Create)
    	Values      []interface{}     // Values for Create operation
    }
    
    // AssociationAssigner is an interface for association operation providers
    type AssociationAssigner interface {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. callbacks/create.go

    								if field.AutoUpdateTime > 0 {
    									assignment := clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: curTime}
    									switch field.AutoUpdateTime {
    									case schema.UnixNanosecond:
    										assignment.Value = curTime.UnixNano()
    									case schema.UnixMillisecond:
    										assignment.Value = curTime.UnixMilli()
    									case schema.UnixSecond:
    										assignment.Value = curTime.Unix()
    									}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. tests/association_generics_test.go

    	}
    
    	// Test Set + Create with belongs-to association using field assignment
    	err := gorm.G[User](DB).Set(
    		clause.Assignment{Column: clause.Column{Name: "name"}, Value: "TestClauseAssociationSetCreateWithBelongsTo"},
    		clause.Assignment{Column: clause.Column{Name: "age"}, Value: 25},
    		clause.Assignment{Column: clause.Column{Name: "company_id"}, Value: company.ID},
    	).Create(ctx)
    	if err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
Back to Top