Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 148 for order (0.13 sec)

  1. cmd/admin-bucket-handlers.go

    		if err == nil {
    			bucketMap[bucket] = &meta
    		} else if err != errConfigNotFound {
    			rpt.SetStatus(bucket, "", err)
    		}
    	}
    
    	// import object lock config if any - order of import matters here.
    	for _, file := range zr.File {
    		slc := strings.Split(file.Name, slashSeparator)
    		if len(slc) != 2 { // expecting bucket/configfile in the zipfile
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/dynamic-timeouts.go

    package cmd
    
    import (
    	"math"
    	"sync"
    	"sync/atomic"
    	"time"
    )
    
    const (
    	dynamicTimeoutIncreaseThresholdPct = 0.33 // Upper threshold for failures in order to increase timeout
    	dynamicTimeoutDecreaseThresholdPct = 0.10 // Lower threshold for failures in order to decrease timeout
    	dynamicTimeoutLogSize              = 16
    	maxDuration                        = math.MaxInt64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. tests/query_test.go

    		t.Fatalf("Build Order condition, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Order("age desc, name").Find(&User{})
    	if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc, name").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("Build Order condition, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Order("age desc").Order("name").Find(&User{})
    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)
  4. 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)
  5. 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)
  6. 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)
  7. internal/amztime/parse.go

    package amztime
    
    import (
    	"errors"
    	"net/http"
    	"time"
    )
    
    // Supported amz date formats.
    var amzDateFormats = []string{
    	// Do not change this order, x-amz-date format is usually in
    	// iso8601Format rest are meant for relaxed handling of other
    	// odd SDKs that might be out there.
    	"20060102T150405Z",
    	time.RFC1123,
    	time.RFC1123Z,
    	// Add new AMZ date formats here.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/asm.go

    		flag = p.evalInteger("TEXT", operands[1])
    		next++
    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    	// without NOSPLIT. In ABIInternal, obj needs to know the function
    	// signature in order to construct the morestack path, so this
    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    // WalkVersionsSortOrder represents the sort order in which versions of an
    // object should be returned by ObjectLayer.Walk method
    type WalkVersionsSortOrder uint8
    
    const (
    	// WalkVersionsSortAsc - Sort in ascending order of ModTime
    	WalkVersionsSortAsc WalkVersionsSortOrder = iota
    	// WalkVersionsSortDesc - Sort in descending order of ModTime
    	WalkVersionsSortDesc
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. cmd/metacache-stream.go

    // 2. String. Name of object. Directories contains a trailing slash.
    // 3. Binary. Blob of metadata. Length 0 on directories.
    // ... Next element.
    //
    // Streams can be assumed to be sorted in ascending order.
    // If the stream ends before a false boolean it can be assumed it was truncated.
    
    const metacacheStreamVersion = 2
    
    // metacacheWriter provides a serializer of metacache objects.
    type metacacheWriter struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top