Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Early (0.31 sec)

  1. cmd/object-lambda-handlers.go

    var statusTextToCode = map[string]int{
    	"Continue":                        http.StatusContinue,
    	"Switching Protocols":             http.StatusSwitchingProtocols,
    	"Processing":                      http.StatusProcessing,
    	"Early Hints":                     http.StatusEarlyHints,
    	"OK":                              http.StatusOK,
    	"Created":                         http.StatusCreated,
    	"Accepted":                        http.StatusAccepted,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
  2. src/bufio/scan_test.go

    func genLine(buf *bytes.Buffer, lineNum, n int, addNewline bool) {
    	buf.Reset()
    	doCR := lineNum%5 == 0
    	if doCR {
    		n--
    	}
    	for i := 0; i < n-1; i++ { // Stop early for \n.
    		c := 'a' + byte(lineNum+i)
    		if c == '\n' || c == '\r' { // Don't confuse us.
    			c = 'N'
    		}
    		buf.WriteByte(c)
    	}
    	if addNewline {
    		if doCR {
    			buf.WriteByte('\r')
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    // returned by a Split function to indicate that the scanning should stop
    // with no error. If the token being delivered with this error is not nil,
    // the token is the last token.
    //
    // The value is useful to stop processing early or when it is necessary to
    // deliver a final empty token (which is different from a nil token).
    // One could achieve the same behavior with a custom error value but
    // providing one here is tidier.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    }
    
    // migrate config for remote targets by encrypting data if currently unencrypted and kms is configured.
    func (b *BucketMetadata) migrateTargetConfig(ctx context.Context, objectAPI ObjectLayer) error {
    	var err error
    	// early return if no targets or already encrypted
    	if len(b.BucketTargetsConfigJSON) == 0 || GlobalKMS == nil || len(b.BucketTargetsConfigMetaJSON) != 0 {
    		return nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    		r = r.WithContext(newContext(r, w, handlerName))
    
    		defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    		// Check if object layer is available, if not return error early.
    		if !handlerFlags.Has(noObjLayerFlag) {
    			objectAPI := newObjectLayerFn()
    			if objectAPI == nil || globalNotificationSys == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    // algorithms completes a roundtrip. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // compressSelfTest tries to catch any issue in the compression implementation
    // early instead of silently corrupting data.
    func compressSelfTest() {
    	// 4 MB block.
    	// Approx runtime ~30ms
    	data := make([]byte, 4<<20)
    	rng := rand.New(rand.NewSource(0))
    	for i := range data {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  7. src/cmd/cgo/doc.go

    of an error message on a given line to deduce the information it
    needs. The program is syntactically valid regardless of whether each
    name is a type or an ordinary identifier, so there will be no syntax
    errors that might stop parsing early.
    
    An error on not-declared:1 indicates that foo is undeclared.
    An error on not-type:1 indicates that foo is not a type (if declared at all, it is an identifier).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top