Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 729 for BOOL (0.02 sec)

  1. internal/pubsub/mask.go

    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    	return t&other == other
    }
    
    // Overlaps returns whether *any* flags in t overlaps with other.
    func (t Mask) Overlaps(other Mask) bool {
    	return t&other != 0
    }
    
    // SingleType returns whether t has a single type set.
    func (t Mask) SingleType() bool {
    	return bits.OnesCount64(uint64(t)) == 1
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. fastapi/dependencies/models.py

        background_tasks_param_name: Optional[str] = None
        security_scopes_param_name: Optional[str] = None
        own_oauth_scopes: Optional[list[str]] = None
        parent_oauth_scopes: Optional[list[str]] = None
        use_cache: bool = True
        path: Optional[str] = None
        scope: Union[Literal["function", "request"], None] = None
    
        @cached_property
        def oauth_scopes(self) -> list[str]:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. fastapi/params.py

                ),
            ] = None,
            discriminator: Union[str, None] = None,
            strict: Union[bool, None] = _Unset,
            multiple_of: Union[float, None] = _Unset,
            allow_inf_nan: Union[bool, None] = _Unset,
            max_digits: Union[int, None] = _Unset,
            decimal_places: Union[int, None] = _Unset,
            examples: Optional[list[Any]] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  4. internal/event/targetlist_test.go

    package event
    
    import (
    	"crypto/rand"
    	"errors"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/store"
    )
    
    type ExampleTarget struct {
    	id       TargetID
    	sendErr  bool
    	closeErr bool
    }
    
    func (target ExampleTarget) ID() TargetID {
    	return target.id
    }
    
    // Save - Sends event directly without persisting.
    func (target ExampleTarget) Save(eventData Event) error {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. 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},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. internal/s3select/csv/args.go

    	QuoteEscapeCharacter       string `xml:"QuoteEscapeCharacter"`
    	CommentCharacter           string `xml:"Comments"`
    	AllowQuotedRecordDelimiter bool   `xml:"AllowQuotedRecordDelimiter"`
    	unmarshaled                bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 20 18:31:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 87.1K bytes
    - Viewed (0)
  10. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 26.1K bytes
    - Viewed (0)
Back to top