Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 436 for Value (0.13 sec)

  1. internal/config/storageclass/storage-class.go

    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: "",
    		},
    		config.KV{
    			Key:   ClassRRS,
    			Value: "EC:1",
    		},
    		config.KV{
    			Key:   Optimize,
    			Value: "availability",
    		},
    		config.KV{
    			Key:           InlineBlock,
    			Value:         "",
    			HiddenIfEmpty: true,
    		},
    	}
    )
    
    // StorageClass - holds storage class information
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. schema/schema_helper_test.go

    				}
    
    				if r.Polymorphic.Value != relation.Polymorphic.Value {
    					t.Errorf("schema %v relation's polymorphic value expects %v, but got %v", s, relation.Polymorphic.Value, r.Polymorphic.Value)
    				}
    			}
    
    			if r.JoinTable != nil {
    				if r.JoinTable.Name != relation.JoinTable.Name {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. tests/hooks_test.go

    	}
    
    	DB.Create(&products)
    
    	for idx, value := range []int64{200, 300, 400} {
    		if products[idx].Price != value {
    			t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price)
    		}
    	}
    
    	DB.Model(&products).Update("Name", "product-name")
    
    	// will set all product's price to last product's price + 10
    	for idx, value := range []int64{410, 410, 410} {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    // information
    func (ef *BatchJobExpireFilter) UnmarshalYAML(value *yaml.Node) error {
    	type expFilter BatchJobExpireFilter
    	var tmp expFilter
    	err := value.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    	*ef = BatchJobExpireFilter(tmp)
    	ef.line, ef.col = value.Line, value.Column
    	return err
    }
    
    // Matches returns true if obj matches the filter conditions specified in ef.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. tests/upsert_test.go

    	if user1.Name != "find or init" || user1.ID != 0 || user1.Age != 33 {
    		t.Errorf("user should be initialized with search value")
    	}
    
    	DB.Where(User{Name: "find or init", Age: 33}).FirstOrInit(&user2)
    	if user2.Name != "find or init" || user2.ID != 0 || user2.Age != 33 {
    		t.Errorf("user should be initialized with search value")
    	}
    
    	DB.FirstOrInit(&user3, map[string]interface{}{"name": "find or init 2"})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
  6. internal/config/help.go

    package config
    
    // HelpKV - implements help messages for keys
    // with value as description of the keys.
    type HelpKV struct {
    	Key         string `json:"key"`
    	Type        string `json:"type"`
    	Description string `json:"description"`
    	Optional    bool   `json:"optional"`
    
    	// Indicates if the value contains sensitive info that shouldn't be exposed
    	// in certain apis (such as Health Diagnostics/Callhome)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. callbacks/query.go

    										Value:  clause.Column{Table: tableAliasName, Name: ref.ForeignKey.DBName},
    									}
    								} else {
    									if ref.PrimaryValue == "" {
    										exprs[idx] = clause.Eq{
    											Column: clause.Column{Table: parentTableName, Name: ref.ForeignKey.DBName},
    											Value:  clause.Column{Table: tableAliasName, Name: ref.PrimaryKey.DBName},
    										}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Jan 29 03:34:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    	}
    
    	// Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers.
    	if extractedExpect != expectedExpect {
    		t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/expr_test.go

    	{"3/0", "division by zero"},
    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    		want map[string]string
    	}{
    		{name: "empty", arg: []string{""}, want: map[string]string{"": ""}},
    		{name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}},
    		{name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}},
    		{name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
    	}
    	for _, tt := range tests {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top