Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 729 for BOOL (0.11 sec)

  1. internal/s3select/sql/stringfuncs_test.go

    			t.Errorf("DropRune Case %d failed", i)
    		}
    	}
    
    	matcherCases := []struct {
    		iText, iPat        string
    		iHasLeadingPercent bool
    		resultExpected     string
    		matchExpected      bool
    	}{
    		{"abcd", "bcd", false, "", false},
    		{"abcd", "bcd", true, "", true},
    		{"abcd", "abcd", false, "", true},
    		{"abcd", "abcd", true, "", true},
    		{"abcd", "ab", false, "cd", true},
    		{"abcd", "ab", true, "cd", true},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    type Node struct {
    	*url.URL
    	Pools    []int
    	IsLocal  bool
    	GridHost string
    }
    
    // Endpoint - any type of endpoint.
    type Endpoint struct {
    	*url.URL
    	IsLocal bool
    
    	PoolIdx, SetIdx, DiskIdx int
    }
    
    // Equal returns true if endpoint == ep
    func (endpoint Endpoint) Equal(ep Endpoint) bool {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    	})
    	weSleep := func() bool { return false }
    
    	got, err := scanDataFolder(t.Context(), nil, &xls, dataUsageCache{Info: dataUsageCacheInfo{Name: bucket}}, getSize, 0, weSleep)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Test dirs
    	want := []struct {
    		path       string
    		isNil      bool
    		size, objs int
    		flatten    bool
    		oSizes     sizeHistogram
    	}{
    		{
    			path:    "/",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. internal/bucket/replication/replication.go

    	UserTags       string
    	VersionID      string
    	DeleteMarker   bool
    	SSEC           bool
    	OpType         Type
    	Replica        bool
    	ExistingObject bool
    	TargetArn      string
    }
    
    // HasExistingObjectReplication returns true if any of the rule returns 'ExistingObjects' replication.
    func (c Config) HasExistingObjectReplication(arn string) (hasARN, isEnabled bool) {
    	for _, rule := range c.Rules {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. internal/crypto/key_test.go

    func recoverTest(i int, shouldPass bool, t *testing.T) {
    	if err := recover(); err == nil && !shouldPass {
    		t.Errorf("Test %d should fail but passed successfully", i)
    	} else if err != nil && shouldPass {
    		t.Errorf("Test %d should pass but failed: %v", i, err)
    	}
    }
    
    var generateKeyTests = []struct {
    	ExtKey     [32]byte
    	Random     io.Reader
    	ShouldPass bool
    }{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. internal/event/name_test.go

    		}
    	}
    }
    
    func TestNameMarshalXML(t *testing.T) {
    	var blankName Name
    
    	testCases := []struct {
    		name         Name
    		expectedData []byte
    		expectErr    bool
    	}{
    		{ObjectAccessedAll, []byte("<Name>s3:ObjectAccessed:*</Name>"), false},
    		{ObjectRemovedDelete, []byte("<Name>s3:ObjectRemoved:Delete</Name>"), false},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. internal/event/target/nats.go

    	Token             string    `json:"token"`
    	NKeySeed          string    `json:"nKeySeed"`
    	TLS               bool      `json:"tls"`
    	TLSSkipVerify     bool      `json:"tlsSkipVerify"`
    	TLSHandshakeFirst bool      `json:"tlsHandshakeFirst"`
    	Secure            bool      `json:"secure"`
    	CertAuthority     string    `json:"certAuthority"`
    	ClientCert        string    `json:"clientCert"`
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Apr 27 04:30:57 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    	LockEnabled       bool
    	VersioningEnabled bool
    	ForceCreate       bool      // Create buckets even if they are already created.
    	CreatedAt         time.Time // only for site replication
    	NoLock            bool      // does not lock the make bucket call if set to 'true'
    }
    
    // DeleteBucketOptions provides options for DeleteBucket calls.
    type DeleteBucketOptions struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. docs/debugging/s3-verify/main.go

    	targetBucket, targetPrefix                       string
    	minimumObjectAge                                 string
    	debug                                            bool
    	insecure                                         bool
    )
    
    func buildS3Client(endpoint, accessKey, secretKey string, insecure bool) (*minio.Client, error) {
    	u, err := url.Parse(endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    	secure := strings.EqualFold(u.Scheme, "https")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock.go

    }
    
    // Retention - bucket level retention configuration.
    type Retention struct {
    	Mode        RetMode
    	Validity    time.Duration
    	LockEnabled bool
    }
    
    // Retain - check whether given date is retainable by validity time.
    func (r Retention) Retain(created time.Time) bool {
    	t, err := UTCNowNTP()
    	if err != nil {
    		lockLogIf(context.Background(), err)
    		// Retain
    		return true
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top