Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for border (0.14 sec)

  1. 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)
  2. tests/sql_builder_test.go

    	// find
    	sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Where("id = ?", 100).Limit(10).Order("age desc").Find(&[]User{})
    	})
    	assertEqualSQL(t, `SELECT * FROM "users" WHERE id = 100 AND "users"."deleted_at" IS NULL ORDER BY age desc LIMIT 10`, sql)
    
    	// after model changed
    	if DB.Statement.DryRun || DB.DryRun {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/pilot/status_test.go

    	tests := []struct {
    		name    string
    		input   map[string]*discovery.DiscoveryResponse
    		want    string
    		wantErr bool
    	}{
    		{
    			name: "prints multiple istiod inputs to buffer in alphabetical order by pod name",
    			input: map[string]*discovery.DiscoveryResponse{
    				"istiod1": xdsResponseInput("istiod1", []clientConfigInput{
    					{
    						proxyID:        "proxy1",
    						clusterID:      "cluster1",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. cmd/metacache-walk.go

    				pop := dirStack[len(dirStack)-1]
    				select {
    				case <-ctx.Done():
    					return ctx.Err()
    				case out <- metaCacheEntry{name: pop}:
    				}
    				if opts.Recursive {
    					// Scan folder we found. Should be in correct sort order where we are.
    					err := scanDir(pop)
    					if err != nil && !IsErrIgnored(err, context.Canceled) {
    						internalLogIf(ctx, err)
    					}
    				}
    				dirStack = dirStack[:len(dirStack)-1]
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. tests/tests_test.go

    	}
    
    	return
    }
    
    func RunMigrations() {
    	var err error
    	allModels := []interface{}{&User{}, &Account{}, &Pet{}, &Company{}, &Toy{}, &Language{}, &Coupon{}, &CouponProduct{}, &Order{}, &Parent{}, &Child{}, &Tools{}}
    	rand.Seed(time.Now().UnixNano())
    	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  6. cmd/xl-storage-format-utils.go

    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    	// Xor each value to make order independent
    	for k, v := range m {
    		// Separate key and value with an individual xor with a random number.
    		// Add values of each, so they cannot be trivially collided.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/erasure.go

    	// Otherwise same set of buckets get scanned across erasure sets always.
    	// at any given point in time. This allows different buckets to be scanned
    	// in different order per erasure set, this wider spread is needed when
    	// there are lots of buckets with different order of objects in them.
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	permutes := r.Perm(len(buckets))
    	// Add new buckets first
    	for _, idx := range permutes {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. cmd/erasure-multipart.go

    	}
    
    	// Calculate full object size.
    	var objectSize int64
    
    	// Calculate consolidated actual size.
    	var objectActualSize int64
    
    	// Order online disks in accordance with distribution order.
    	// Order parts metadata in accordance with distribution order.
    	onlineDisks, partsMetadata = shuffleDisksAndPartsMetadataByIndex(onlineDisks, partsMetadata, fi)
    
    	// Save current erasure metadata for validation.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. internal/config/config.go

    				kvs.Set(kv.Key, kv.Value)
    			}
    		}
    		targets = append(targets, Target{
    			SubSystem: inputs[0],
    			KVS:       kvs,
    		})
    	} else {
    		// Use help for sub-system to preserve the order. Add deprecated
    		// keys at the end (in some order).
    		kvsOrder := append([]HelpKV{}, HelpSubSysMap[""]...)
    		for _, v := range HelpDeprecatedSubSysMap {
    			kvsOrder = append(kvsOrder, v)
    		}
    
    		for _, hkv := range kvsOrder {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common.go

    				// number of items than number of online disks.
    				inconsistent++
    				continue
    			}
    			if meta.Erasure.Distribution[i] != meta.Erasure.Index {
    				// Mismatch indexes with distribution order
    				inconsistent++
    			}
    		}
    	}
    
    	erasureDistributionReliable := true
    	if inconsistent > len(partsMetadata)/2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top