Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 119 for border (0.33 sec)

  1. internal/s3select/sql/value.go

    	opIneq  = "!="
    	opIs    = "IS"
    	opIsNot = "ISNOT"
    )
    
    // InferBytesType will attempt to infer the data type of bytes.
    // Will fail if value type is not bytes or it would result in invalid utf8.
    // ORDER: int, float, bool, JSON (object or array), timestamp, string
    // If the content is valid JSON, the type will still be bytes.
    func (v *Value) InferBytesType() (err error) {
    	b, ok := v.ToBytes()
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	// Reorder online disks based on erasure distribution order.
    	// Reorder parts metadata based on erasure distribution order.
    	onlineDisks, metaArr = shuffleDisksAndPartsMetadataByIndex(onlineDisks, metaArr, fi)
    
    	// For negative length read everything.
    	if length < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. tests/preload_suits_test.go

    		if err := DB.Save(want).Error; err != nil {
    			t.Error(err)
    		}
    	}
    
    	var gots []*Level3
    	if err := DB.Preload("Level2.Level1s", func(db *gorm.DB) *gorm.DB {
    		return db.Order("level1.id ASC")
    	}).Find(&gots).Error; err != nil {
    		t.Error(err)
    	}
    
    	if !reflect.DeepEqual(gots, wants) {
    		t.Errorf("got %s; want %s", toJSONString(gots), toJSONString(wants))
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 18 05:38:46 GMT 2022
    - 30.3K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    		}
    		// Destination is versioned, source is not destination version,
    		// as a special case look for if the source object is not legacy
    		// from older format, for older format we will rewrite them as
    		// newer using PutObject() - this is an optimization to save space
    		if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. src/builtin/builtin.go

    // invocation of F then behaves like a call to panic, terminating G's
    // execution and running any deferred functions. This continues until all
    // functions in the executing goroutine have stopped, in reverse order. At
    // that point, the program is terminated with a non-zero exit code. This
    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    			t.Fatalf("Should have index on %s", "CompanyI.")
    		}
    
    		if !m.HasIndex(&DynamicUser{}, "DeletedAt") {
    			t.Fatalf("Should have index on deleted_at.")
    		}
    	}
    }
    
    // check column order after migration, flaky test
    // https://github.com/go-gorm/gorm/issues/4351
    func TestMigrateColumnOrder(t *testing.T) {
    	type UserMigrateColumn struct {
    		ID uint
    	}
    	DB.Migrator().DropTable(&UserMigrateColumn{})
    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)
  7. src/bytes/bytes.go

    // returns a slice of subslices of s. If all code points in s satisfy f(c), or
    // len(s) == 0, an empty slice is returned.
    //
    // FieldsFunc makes no guarantees about the order in which it calls f(c)
    // and assumes that f always returns the same value for a given c.
    func FieldsFunc(s []byte, f func(rune) bool) [][]byte {
    	// A span is used to record a slice of s of the form s[start:end].
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    	}
    	return x, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (err error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    	for i := 0; i < versions; i++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  9. cmd/erasure-server-pool-rebalance.go

    	if err != nil {
    		rebalanceLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets)))
    		workerSize = len(pool.sets)
    	}
    
    	// Each decom worker needs one List() goroutine/worker
    	// add that many extra workers.
    	workerSize += len(pool.sets)
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		return err
    	}
    
    	for setIdx, set := range pool.sets {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidPartOrder: {
    		Code:           "InvalidPartOrder",
    		Description:    "The list of parts was not in ascending order. The parts list must be specified in order by part number.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectState: {
    		Code:           "InvalidObjectState",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
Back to top