Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 837 for mybool (0.11 seconds)

  1. internal/s3select/sql/stringfuncs.go

    // `text`, after the match. If leadingPercent is false, `pat` must be
    // the prefix of `text`, otherwise it must be a substring.
    func matcher(text, pat string, leadingPercent bool) (res string, match bool) {
    	if !leadingPercent {
    		res = strings.TrimPrefix(text, pat)
    		if len(text) == len(res) {
    			return "", false
    		}
    	} else {
    		parts := strings.SplitN(text, pat, 2)
    		if len(parts) == 1 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. cmd/bucket-replication-utils.go

    	ResyncTimestamp       string
    	ReplicationResynced   bool // true only if resync attempted for this target
    	endpoint              string
    	secure                bool
    	Err                   error // replication error if any
    }
    
    // Empty returns true for a target if arn is empty
    func (rt replicatedTargetInfo) Empty() bool {
    	return rt.Arn == ""
    }
    
    type replicatedInfos struct {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  3. internal/s3select/json/args.go

    )
    
    // ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML.
    type ReaderArgs struct {
    	ContentType string `xml:"Type"`
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.7K bytes
    - Click Count (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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. cmd/storage-rest_test.go

    	testData := []byte("foo")
    	testCases := []struct {
    		volumeName      string
    		objectName      string
    		data            []byte
    		expectErr       bool
    		ignoreIfWindows bool
    	}{
    		{"foo", "myobject", testData, false, false},
    		{"foo", "myobject-0byte", []byte{}, false, false},
    		// volume not found error.
    		{"foo-bar", "myobject", testData, true, false},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. internal/bucket/lifecycle/expiration.go

    // IsDaysNull returns true if days field is null
    func (e Expiration) IsDaysNull() bool {
    	return e.Days == ExpirationDays(0)
    }
    
    // IsDateNull returns true if date field is null
    func (e Expiration) IsDateNull() bool {
    	return e.Date.IsZero()
    }
    
    // IsNull returns true if both date and days fields are null
    func (e Expiration) IsNull() bool {
    	return e.IsDaysNull() && e.IsDateNull()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. internal/dsync/dsync-server_test.go

    	lockMap map[string]int64
    
    	// Refresh returns lock not found if set to true
    	lockNotFound bool
    
    	// Set to true if you want peers servers to do not respond
    	responseDelay int64
    }
    
    func (l *lockServer) setRefreshReply(refreshed bool) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	l.lockNotFound = !refreshed
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/arch/riscv64.go

    // requires special handling.
    func IsRISCV64VTypeI(op obj.As) bool {
    	return op == riscv.AVSETVLI || op == riscv.AVSETIVLI
    }
    
    // IsRISCV64CSRO reports whether the op is an instruction that uses
    // CSR symbolic names and whether that instruction expects a register
    // or an immediate source operand.
    func IsRISCV64CSRO(op obj.As) (imm bool, ok bool) {
    	switch op {
    	case riscv.ACSRRCI, riscv.ACSRRSI, riscv.ACSRRWI:
    		imm = true
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 12 08:12:45 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. src/bytes/iter.go

    // The iterator yields the same subslices that would be returned by [FieldsFunc](s),
    // but without constructing a new slice containing the subslices.
    func FieldsFuncSeq(s []byte, f func(rune) bool) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		start := -1
    		for i := 0; i < len(s); {
    			r, size := utf8.DecodeRune(s[i:])
    			if f(r) {
    				if start >= 0 {
    					if !yield(s[start:i:i]) {
    						return
    					}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. cmd/iam-store.go

    	loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    	loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error
    	loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
Back to Top