Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 729 for BOOL (0.02 sec)

  1. internal/config/etcd/etcd.go

    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    func parseEndpoints(endpoints string) ([]string, bool, error) {
    	etcdEndpoints := strings.Split(endpoints, config.ValueSeparator)
    
    	var etcdSecure bool
    	for _, endpoint := range etcdEndpoints {
    		u, err := xnet.ParseHTTPURL(endpoint)
    		if err != nil {
    			return nil, false, err
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. cmd/erasure-decode.go

    	}
    
    	readTriggerCh := make(chan bool, len(p.readers))
    	defer xioutil.SafeClose(readTriggerCh) // close the channel upon return
    
    	for i := 0; i < p.dataBlocks; i++ {
    		// Setup read triggers for p.dataBlocks number of reads so that it reads in parallel.
    		readTriggerCh <- true
    	}
    
    	disksNotFound := int32(0)
    	bitrotHeal := int32(0)       // Atomic bool flag.
    	missingPartsHeal := int32(0) // Atomic bool flag.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    // ShouldInline returns true if the shardSize is worthy of inline
    // if versioned is true then we chosen 1/8th inline block size
    // to satisfy the same constraints.
    func (sCfg *Config) ShouldInline(shardSize int64, versioned bool) bool {
    	if shardSize < 0 {
    		return false
    	}
    
    	ConfigLock.RLock()
    	inlineBlock := int64(128 * humanize.KiByte)
    	if sCfg.initialized {
    		inlineBlock = sCfg.inlineBlock
    	}
    	ConfigLock.RUnlock()
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    func IsValidObjectName(object string) bool {
    	if len(object) == 0 {
    		return false
    	}
    	if HasSuffix(object, SlashSeparator) {
    		return false
    	}
    	return IsValidObjectPrefix(object)
    }
    
    // IsValidObjectPrefix verifies whether the prefix is a valid object name.
    // Its valid to have a empty prefix.
    func IsValidObjectPrefix(object string) bool {
    	if hasBadPathComponent(object) {
    		return false
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex_test.go

    	runtime.GOMAXPROCS(gomaxprocs)
    	m := NewDRWMutex(ds, "test-parallel")
    
    	clocked := make(chan bool)
    	cunlock := make(chan bool)
    	cdone := make(chan bool)
    	for range numReaders {
    		go parallelReader(context.Background(), m, clocked, cunlock, cdone)
    	}
    	// Wait for all parallel RLock()s to succeed.
    	for range numReaders {
    		<-clocked
    	}
    	for range numReaders {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. internal/event/target/nsq.go

    	EnvNSQQueueLimit    = "MINIO_NOTIFY_NSQ_QUEUE_LIMIT"
    )
    
    // NSQArgs - NSQ target arguments.
    type NSQArgs struct {
    	Enable      bool      `json:"enable"`
    	NSQDAddress xnet.Host `json:"nsqdAddress"`
    	Topic       string    `json:"topic"`
    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. docs/debugging/s3-check-md5/main.go

    )
    
    var (
    	endpoint, accessKey, secretKey string
    	minModTimeStr                  string
    	bucket, prefix                 string
    	debug                          bool
    	versions                       bool
    	insecure                       bool
    )
    
    // getMD5Sum returns MD5 sum of given data.
    func getMD5Sum(data []byte) []byte {
    	hash := md5.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    func main() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. fastapi/routing.py

        response_content: Any,
        include: Optional[IncEx] = None,
        exclude: Optional[IncEx] = None,
        by_alias: bool = True,
        exclude_unset: bool = False,
        exclude_defaults: bool = False,
        exclude_none: bool = False,
        is_coroutine: bool = True,
        endpoint_ctx: Optional[EndpointContext] = None,
    ) -> Any:
        if field:
            errors = []
            if is_coroutine:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  9. fastapi/param_functions.py

        ] = None,
        deprecated: Annotated[
            Union[deprecated, str, bool, None],
            Doc(
                """
                Mark this parameter field as deprecated.
    
                It will affect the generated OpenAPI (e.g. visible at `/docs`).
                """
            ),
        ] = None,
        include_in_schema: Annotated[
            bool,
            Doc(
                """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  10. cmd/api-datatypes.go

    package cmd
    
    import (
    	"encoding/xml"
    	"time"
    )
    
    // DeletedObject objects deleted
    type DeletedObject struct {
    	DeleteMarker          bool   `xml:"DeleteMarker,omitempty"`
    	DeleteMarkerVersionID string `xml:"DeleteMarkerVersionId,omitempty"`
    	ObjectName            string `xml:"Key,omitempty"`
    	VersionID             string `xml:"VersionId,omitempty"`
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top