Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for conflist (0.23 sec)

  1. callbacks/create.go

    		}
    
    		isDryRun := !db.DryRun && db.Error == nil
    		if !isDryRun {
    			return
    		}
    
    		ok, mode := hasReturning(db, supportReturning)
    		if ok {
    			if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok {
    				if onConflict, _ := c.Expression.(clause.OnConflict); onConflict.DoNothing {
    					mode |= gorm.ScanOnConflictDoNothing
    				}
    			}
    
    			rows, err := db.Statement.ConnPool.QueryContext(
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    				return fi, nil
    			}
    			if fi.Size == 0 || !(fi.VersionID != "" && fi.VersionID != nullVersionID) {
    				// If versioned we have no conflicts.
    				fi.SetInlineData()
    				return fi, nil
    			}
    
    			// For overwritten objects without header we might have a
    			// conflict with data written later. Check the data path
    			// if there is a part with data.
    			partPath := fmt.Sprintf("part.%d", fi.Parts[0].Number)
    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)
  3. finisher_api.go

    		reflectValue = reflect.Indirect(reflectValue)
    	}
    
    	switch reflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		if _, ok := tx.Statement.Clauses["ON CONFLICT"]; !ok {
    			tx = tx.Clauses(clause.OnConflict{UpdateAll: true})
    		}
    		tx = tx.callbacks.Create().Execute(tx.Set("gorm:update_track_time", true))
    	case reflect.Struct:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  4. clause/on_conflict.go

    	Columns      []Column
    	Where        Where
    	TargetWhere  Where
    	OnConstraint string
    	DoNothing    bool
    	DoUpdates    Set
    	UpdateAll    bool
    }
    
    func (OnConflict) Name() string {
    	return "ON CONFLICT"
    }
    
    // Build build onConflict clause
    func (onConflict OnConflict) Build(builder Builder) {
    	if onConflict.OnConstraint != "" {
    		builder.WriteString("ON CONSTRAINT ")
    		builder.WriteString(onConflict.OnConstraint)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Oct 07 05:46:20 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  5. internal/config/dns/store.go

    	return "dns related error: " + e.Err.Error()
    }
    
    // ErrBucketConflict for buckets that already exist
    type ErrBucketConflict Error
    
    func (e ErrBucketConflict) Error() string {
    	return e.Bucket + " bucket conflict error: " + e.Err.Error()
    }
    
    // Store dns record store
    type Store interface {
    	Put(bucket string) error
    	Get(bucket string) ([]SrvRecord, error)
    	Delete(bucket string) error
    	List() (map[string][]SrvRecord, error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  6. cmd/warm-backend-gcs.go

    			Bucket: bucket,
    		}
    	case "notFound":
    		if object != "" {
    			err = ObjectNotFound{
    				Bucket: bucket,
    				Object: object,
    			}
    			break
    		}
    		err = BucketNotFound{Bucket: bucket}
    	case "conflict":
    		if message == "You already own this bucket. Please select another name." {
    			err = BucketAlreadyOwnedByYou{Bucket: bucket}
    			break
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    		return 0, err
    	}
    
    	// Done once per make.bash.
    	if err := adbCopyGoroot(); err != nil {
    		return 0, err
    	}
    
    	// Prepare a temporary directory that will be cleaned up at the end.
    	// Binary names can conflict.
    	// E.g. template.test from the {html,text}/template packages.
    	binName := filepath.Base(os.Args[1])
    	deviceGotmp := fmt.Sprintf(deviceRoot+"/%s-%d", binName, os.Getpid())
    	deviceGopath := deviceGotmp + "/gopath"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    			case h.Typeflag == TypeXGlobalHeader:
    				paxHdrs[k] = v // Copy all records
    			case !basicKeys[k] && !strings.HasPrefix(k, paxGNUSparse):
    				paxHdrs[k] = v // Ignore local records that may conflict
    			}
    		}
    		whyOnlyPAX = "only PAX supports PAXRecords"
    		format.mayOnlyBe(FormatPAX)
    	}
    	for k, v := range paxHdrs {
    		if !validPAXRecord(k, v) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. cmd/xl-storage-format-v2_test.go

    	if wantTimeStamp != got {
    		t.Errorf("Wrong timestamp, want %v, got %v", wantTimeStamp, got)
    	}
    }
    
    func Test_mergeXLV2Versions(t *testing.T) {
    	dataZ, err := os.ReadFile("testdata/xl-meta-consist.zip")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var vers [][]xlMetaV2ShallowVersion
    	zr, err := zip.NewReader(bytes.NewReader(dataZ), int64(len(dataZ)))
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    				if name == "_" {
    					continue
    				}
    				if name != prefix {
    					name = strings.TrimPrefix(n.Name, prefix)
    				}
    				name = upper(name)
    				if names[name] {
    					// Field name conflict: don't remove prefix.
    					prefix = ""
    					break fldLoop
    				}
    				names[name] = true
    			}
    		}
    	}
    
    	npad := 0
    	for _, f := range fld {
    		for _, n := range f.Names {
    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