Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 669 for BOOL (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/logger/reqinfo.go

    	Objects      []ObjectVersion  `json:",omitempty"` // Only set during MultiObject delete handler.
    	Cred         auth.Credentials `json:"-"`
    	Region       string           `json:"-"`
    	Owner        bool             `json:"-"`
    	AuthType     string           `json:"-"`
    	tags         []KeyVal         // Any additional info not accommodated by above fields
    	sync.RWMutex
    }
    
    // NewReqInfo :
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. internal/bucket/lifecycle/evaluator.go

    	e.replCfg = rcfg
    	return e
    }
    
    // IsPendingReplication checks if the object is pending replication.
    func (e *Evaluator) IsPendingReplication(obj ObjectOpts) bool {
    	if e.replCfg == nil {
    		return false
    	}
    	if e.replCfg.HasActiveRules(obj.Name, true) && !obj.VersionPurgeStatus.Empty() {
    		return true
    	}
    
    	return false
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. internal/dsync/dsync_test.go

    // Borrowed from mutex_test.go
    func HammerMutex(m *DRWMutex, loops int, cdone chan bool) {
    	for range loops {
    		m.Lock(id, source)
    		m.Unlock(context.Background())
    	}
    	cdone <- true
    }
    
    // Borrowed from mutex_test.go
    func TestMutex(t *testing.T) {
    	loops := 200
    	if testing.Short() {
    		loops = 5
    	}
    	c := make(chan bool)
    	m := NewDRWMutex(ds, "test")
    	for range 10 {
    		go HammerMutex(m, loops, c)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. docs_src/additional_responses/tutorial004_py310.py

    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (0)
  5. internal/s3select/jstream/decoder.go

    }
    
    // Decoder wraps an io.Reader to provide incremental decoding of
    // JSON values
    type Decoder struct {
    	*scanner
    	emitDepth     int
    	maxDepth      int
    	emitKV        bool
    	emitRecursive bool
    	objectAsKVS   bool
    
    	depth   int
    	scratch *scratch
    	metaCh  chan *MetaValue
    	err     error
    
    	// follow line position to add context to errors
    	lineNo    int
    	lineStart int64
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. cmd/net.go

    func sameLocalAddrs(addr1, addr2 string) (bool, error) {
    	// Extract host & port from given parameters
    	host1, port1, err := extractHostPort(addr1)
    	if err != nil {
    		return false, err
    	}
    	host2, port2, err := extractHostPort(addr2)
    	if err != nil {
    		return false, err
    	}
    
    	var addr1Local, addr2Local bool
    
    	if host1 == "" {
    		// If empty host means it is localhost
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  7. api/go1.22.txt

    pkg crypto/x509, method (*CertPool) AddCertWithConstraint(*Certificate, func([]*Certificate) error) #57178
    pkg crypto/x509, method (OID) Equal(OID) bool #60665
    pkg crypto/x509, method (OID) EqualASN1OID(asn1.ObjectIdentifier) bool #60665
    pkg crypto/x509, method (OID) String() string #60665
    pkg crypto/x509, type Certificate struct, Policies []OID #60665
    pkg crypto/x509, type OID struct #60665
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  8. cmd/signature-v4-utils.go

    const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER"
    
    // skipContentSha256Cksum returns true if caller needs to skip
    // payload checksum, false if not.
    func skipContentSha256Cksum(r *http.Request) bool {
    	var (
    		v  []string
    		ok bool
    	)
    
    	if isRequestPresignedSignatureV4(r) {
    		v, ok = r.Form[xhttp.AmzContentSha256]
    		if !ok {
    			v, ok = r.Header[xhttp.AmzContentSha256]
    		}
    	} else {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/query-params.md

    ///
    
    ## Перетворення типу Query параметра
    
    Ви також можете оголошувати параметри типу `bool`, і вони будуть автоматично конвертовані:
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    У цьому випадку, якщо Ви звернетесь до:
    
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    або
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:29:01 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. cmd/batch-expire.go

    	}()
    
    	var (
    		prevObj       ObjectInfo
    		matchedFilter BatchJobExpireFilter
    		versionsCount int
    		toDel         []expireObjInfo
    		failed        bool
    		done          bool
    	)
    	deleteMarkerCountMap := map[string]int64{}
    	pushToExpire := func() {
    		// set preObject deleteMarkerCount
    		if len(toDel) > 0 {
    			lastDelIndex := len(toDel) - 1
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
Back to Top