Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Sissel (0.21 sec)

  1. internal/config/cache/remote.go

    	IfRange           string     `json:"ifRange,omitempty" msg:",omitempty"`
    	IfPartNumber      int        `json:"ifPartNumber,omitempty" msg:",omitempty"`
    }
    
    // IsSet tells the cache lookup to avoid sending a request
    func (r *CondCheck) IsSet() bool {
    	if r == nil {
    		return false
    	}
    	return r.IfMatch != "" || r.IfNoneMatch != "" || r.IfModifiedSince != nil || r.IfUnModifiedSince != nil || r.IfRange != ""
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. cmd/server-rlimit.go

    	_ = setDebugMemoryLimit(ctx)
    
    	err = sys.SetMaxMemoryLimit(maxLimit, maxLimit)
    	return err
    }
    
    func setDebugMemoryLimit(ctx *cli.Context) error {
    	if ctx == nil {
    		return nil
    	}
    	if ctx.IsSet("memlimit") {
    		memlimit := ctx.String("memlimit")
    		if memlimit == "" {
    			memlimit = ctx.GlobalString("memlimit")
    		}
    		mlimit, err := humanize.ParseBytes(memlimit)
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. internal/dsync/dsync_test.go

    	// profitable. To achieve this we create a goroutine per-proc.
    	// These goroutines access considerable amount of local data so that
    	// unnecessary rescheduling is penalized by cache misses.
    	m := NewDRWMutex(ds, "")
    	var acc0, acc1 uint64
    	b.RunParallel(func(pb *testing.PB) {
    		var data [16 << 10]uint64
    		for i := 0; pb.Next(); i++ {
    			m.Lock(id, source)
    			acc0 -= 100
    			acc1 += 100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		if peer.DeploymentID == v.DeploymentID {
    			found = true
    			if (!peer.SyncState.Empty() || peer.DefaultBandwidth.IsSet) && peer.Endpoint == "" { // peer.Endpoint may be "" if only sync state/bandwidth is being updated
    				break
    			}
    			if peer.Endpoint == v.Endpoint && peer.SyncState.Empty() && !peer.DefaultBandwidth.IsSet {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/common-main.go

    	//nolint:gocritic
    	if !env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    		logger.Fatal(config.ErrMissingEnvCredentialRootUser(nil), "Unable to start MinIO")
    	} else if env.IsSet(config.EnvRootUser) && !env.IsSet(config.EnvRootPassword) {
    		logger.Fatal(config.ErrMissingEnvCredentialRootPassword(nil), "Unable to start MinIO")
    	} else if !env.IsSet(config.EnvRootUser) && !env.IsSet(config.EnvRootPassword) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. cmd/admin-bucket-handlers.go

    	}
    	switch fname {
    	case bucketPolicyConfig:
    		st.Policy = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketNotificationConfig:
    		st.Notification = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketLifecycleConfig:
    		st.Lifecycle = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketSSEConfig:
    		st.SSEConfig = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketTaggingConfig:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    	workers                atomic.Int32
    }
    
    // MissedTasks returns the number of ILM expiry tasks that were missed since
    // there were no available workers.
    func (e *expiryStats) MissedTasks() int64 {
    	return e.missedExpiryTasks.Load()
    }
    
    // MissedFreeVersTasks returns the number of free version collection tasks that
    // were missed since there were no available workers.
    func (e *expiryStats) MissedFreeVersTasks() int64 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    	case c.Is(ChecksumCRC32C):
    		return 4
    	case c.Is(ChecksumSHA1):
    		return sha1.Size
    	case c.Is(ChecksumSHA256):
    		return sha256.Size
    	}
    	return 0
    }
    
    // IsSet returns whether the type is valid and known.
    func (c ChecksumType) IsSet() bool {
    	return !c.Is(ChecksumInvalid) && !c.Is(ChecksumNone)
    }
    
    // NewChecksumType returns a checksum type based on the algorithm string.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. cmd/tier-handlers.go

    	switch cfg.Name {
    	case storageclass.STANDARD, storageclass.RRS:
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL)
    		return
    	}
    
    	// Refresh from the disk in case we had missed notifications about edits from peers.
    	if err := globalTierConfigMgr.Reload(ctx, objAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. cmd/generic-handlers_test.go

    	{URL: &url.URL{}, Header: http.Header{xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm: []string{""}}, IsTLS: false, ShouldFail: true},   // 4
    }
    
    func TestSSETLSHandler(t *testing.T) {
    	defer func(isSSL bool) { globalIsTLS = isSSL }(globalIsTLS) // reset globalIsTLS after test
    
    	var okHandler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
    		w.WriteHeader(http.StatusOK)
    	}
    	for i, test := range sseTLSHandlerTests {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top