Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 693 for true (0.17 sec)

  1. internal/bucket/lifecycle/filter_test.go

    	noTags := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{},
    		},
    		andSet: true,
    	}
    
    	oneTag := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{{Key: "FOO", Value: "1"}},
    		},
    		andSet: true,
    	}
    
    	twoTags := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{{Key: "FOO", Value: "1"}, {Key: "BAR", Value: "2"}},
    		},
    		andSet: true,
    	}
    
    	tests := []struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    	}{{
    		in: []sparseEntry{}, size: 0,
    		wantValid:    true,
    		wantInverted: []sparseEntry{{0, 0}},
    	}, {
    		in: []sparseEntry{}, size: 5000,
    		wantValid:    true,
    		wantInverted: []sparseEntry{{0, 5000}},
    	}, {
    		in: []sparseEntry{{0, 5000}}, size: 5000,
    		wantValid:    true,
    		wantAligned:  []sparseEntry{{0, 5000}},
    		wantInverted: []sparseEntry{{5000, 0}},
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate_test.go

    			in:    validIstioConfig,
    			valid: true,
    		},
    		{
    			name:  "warning",
    			in:    warnDestinationRule,
    			valid: true,
    			warn:  true,
    		},
    		{
    			name:  "exportTo=.",
    			in:    validVirtualService2YAML,
    			valid: true,
    		},
    		{
    			name:  "appProtocol=http",
    			in:    validPortNamingSvcWithAppProtocol,
    			valid: true,
    		},
    		{
    			name:  "appProtocol=http,name=fake",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config clusters invalid" should fail
    		},
    		{ // listeners invalid
    			args:           strings.Split("listeners invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config listeners invalid" should fail
    		},
    		{ // logging empty
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/loong64.go

    	switch name {
    	case "F":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_F0 + n, true
    		}
    	case "FCSR":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_FCSR0 + n, true
    		}
    	case "FCC":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_FCC0 + n, true
    		}
    	case "R":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_R0 + n, true
    		}
    	}
    	return 0, false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 06 13:49:53 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. internal/config/identity/ldap/help.go

    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         LookupBindPassword,
    			Description: `Password for LDAP read-only service account used to perform DN and group lookups` + defaultHelpPostfix(LookupBindPassword),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. internal/config/callhome/help.go

    			Type:        "on|off",
    			Description: "set to enable callhome" + defaultHelpPostfix(Enable),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         Frequency,
    			Type:        "duration",
    			Description: "time duration between callhome cycles e.g. 24h" + defaultHelpPostfix(Frequency),
    			Optional:    true,
    		},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jun 06 23:14:52 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. internal/bucket/versioning/versioning.go

    }
    
    // PrefixSuspended - returns true if versioning is suspended at the bucket level
    // or suspended on the given prefix.
    func (v Versioning) PrefixSuspended(prefix string) bool {
    	if v.Status == Suspended {
    		return true
    	}
    	if v.Status == Enabled {
    		if prefix == "" {
    			return false
    		}
    		if v.ExcludeFolders && strings.HasSuffix(prefix, "/") {
    			return true
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    }
    
    // empty returns true if the replicationAllStats is empty (contains no entries).
    func (r *replicationAllStats) empty() bool {
    	if r == nil {
    		return true
    	}
    	if r.ReplicaSize != 0 || r.ReplicaCount != 0 {
    		return false
    	}
    	for _, v := range r.Targets {
    		if !v.Empty() {
    			return false
    		}
    	}
    	return true
    }
    
    // clone creates a deep-copy clone.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			prefix:      "",
    			want:        true,
    		},
    		{
    			inputConfig: `<LifecycleConfiguration><Rule><Status>Enabled</Status><Filter></Filter><Expiration><Days>42</Days><ExpiredObjectAllVersions>true</ExpiredObjectAllVersions></Expiration></Rule></LifecycleConfiguration>`,
    			prefix:      "",
    			want:        true,
    		},
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top