Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for Peaches (0.14 sec)

  1. cmd/metacache-stream.go

    	_, err := r.peek()
    	if err != nil {
    		r.err = err
    		return r.err == io.EOF
    	}
    	return false
    }
    
    // forwardTo will forward to the first entry that is >= s.
    // Will return io.EOF if end of stream is reached without finding any.
    func (r *metacacheReader) forwardTo(s string) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    
    	if s == "" {
    		return nil
    	}
    	if r.current.name != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics.go

    	LastFailedCount uint64 `json:"failedCount_last5min"`
    	// Count of unreplicated entries that were dropped after MRF retry limit reached since cluster start.
    	TotalDroppedCount uint64 `json:"droppedCount_since_uptime"`
    	// Bytes of unreplicated entries that were dropped after MRF retry limit reached since cluster start.
    	TotalDroppedBytes uint64 `json:"droppedBytes_since_uptime"`
    }
    
    // SMA struct for calculating simple moving average
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    			break
    		}
    		retries++
    		time.Sleep(time.Duration(rand.Int63n(int64(time.Second))))
    	}
    
    	if retries == 5 {
    		scannerLogOnceIf(ctx, fmt.Errorf("maximum retry reached to load the data usage cache `%s`", name), "retry-loading-data-usage-cache")
    	}
    
    	return nil
    }
    
    // Maximum running concurrent saves on server.
    var maxConcurrentScannerSaves = make(chan struct{}, 4)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  4. internal/config/errors-utils.go

    		return e
    	}
    
    	// Show a generic message for known golang errors
    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    		if netErr, ok := err.(*net.OpError); ok {
    			return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port")
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. internal/s3select/sql/statement.go

    			return nil, err
    		}
    	}
    
    	// Update count of records output.
    	e.outputCount++
    
    	return output, nil
    }
    
    // LimitReached - returns true if the number of records output has
    // reached the value of the `LIMIT` clause.
    func (e *SelectStatement) LimitReached() bool {
    	if e.limitValue == -1 {
    		return false
    	}
    	return e.outputCount >= e.limitValue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    }
    
    // ObjectSpeedTestHandler - reports maximum speed of a cluster by performing PUT and
    // GET operations on the server, supports auto tuning by default by automatically
    // increasing concurrency and stopping when we have reached the limits on the
    // system.
    func (a adminAPIHandlers) ObjectSpeedTestHandler(w http.ResponseWriter, r *http.Request) {
    	ctx, cancel := context.WithCancel(r.Context())
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. src/archive/tar/reader.go

    		spd = append(spd, sparseEntry{Offset: offset, Length: length})
    		sparseMap = sparseMap[2:]
    	}
    	return spd, nil
    }
    
    // Read reads from the current file in the tar archive.
    // It returns (0, io.EOF) when it reaches the end of that file,
    // until [Next] is called to advance to the next file.
    //
    // If the current file is sparse, then the regions marked as a hole
    // are read back as NUL-bytes.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-ldap.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    // AttachDetachPolicyLDAP attaches or detaches policies from an LDAP entity
    // (user or group).
    //
    // POST <admin-prefix>/idp/ldap/policy/{operation}
    func (a adminAPIHandlers) AttachDetachPolicyLDAP(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    func TestGetBucketPolicyHandler(t *testing.T) {
    	ExecObjectLayerAPITest(t, testGetBucketPolicyHandler, []string{"PutBucketPolicy", "GetBucketPolicy"})
    }
    
    // testGetBucketPolicyHandler - Test for end point which fetches the access policy json of the given bucket.
    func testGetBucketPolicyHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    	// Keep destination...
    	// Write results to disk.
    	bw := newMetacacheBlockWriter(entries, func(b *metacacheBlock) error {
    		// if the block is 0 bytes and its a first block skip it.
    		// skip only this for Transient caches.
    		if len(b.data) == 0 && b.n == 0 && o.Transient {
    			return nil
    		}
    		o.debugln(color.Green("saveMetaCacheStream:")+" saving block", b.n, "to", o.objectPath(b.n))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top