Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 771 for errf (0.07 sec)

  1. cmd/object-handlers-common.go

    					VersionID: dobj.VersionID,
    				},
    				UserAgent: "Internal: [ILM-Expiry]",
    				Host:      globalLocalNodeName,
    			}
    			if errs[i] != nil {
    				evArgs.RespElements = map[string]string{
    					"error": fmt.Sprintf("failed to delete %s(%s), with error %v", dobj.ObjectName, dobj.VersionID, errs[i]),
    				}
    			}
    			sendEvent(evArgs)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    	start := make(chan struct{})
    	var ok, errs int
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	wg.Add(n)
    	for i := 0; i < n; i++ {
    		go func() {
    			defer wg.Done()
    			// Sync start.
    			<-start
    			if err := obj.MakeBucket(GlobalContext, bucketName1, MakeBucketOptions{}); err != nil {
    				if _, ok := err.(BucketExists); !ok {
    					t.Logf("unexpected error: %T: %v", err, err)
    					return
    				}
    				mu.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    			if checksum != nil && checksum.Valid() {
    				if err = hashReader.AddChecksumNoTrailer(formValues, true); err != nil {
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    					return
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    func OpenReader(name string) (*ReadCloser, error) {
    	f, err := os.Open(name)
    	if err != nil {
    		return nil, err
    	}
    	fi, err := f.Stat()
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    	r := new(ReadCloser)
    	if err = r.init(f, fi.Size()); err != nil && err != ErrInsecurePath {
    		f.Close()
    		return nil, err
    	}
    	r.f = f
    	return r, err
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    		}
    	}
    
    	for _, tag := range ef.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range ef.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    	if err := ef.Purge.Validate(); err != nil {
    		return err
    	}
    	if err := ef.Size.Validate(); err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    	type subS3Select S3Select
    	parsedS3Select := subS3Select{}
    	if err := d.DecodeElement(&parsedS3Select, &start); err != nil {
    		if _, ok := err.(*s3Error); ok {
    			return err
    		}
    
    		return errMalformedXML(err)
    	}
    	if err := parsedS3Select.ScanRange.Validate(); err != nil {
    		return errInvalidScanRangeParameter(err)
    	}
    	parsedS3Select.ExpressionType = strings.ToLower(parsedS3Select.ExpressionType)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    func (b *Writer) ReadFrom(r io.Reader) (n int64, err error) {
    	if b.err != nil {
    		return 0, b.err
    	}
    	readerFrom, readerFromOK := b.wr.(io.ReaderFrom)
    	var m int
    	for {
    		if b.Available() == 0 {
    			if err1 := b.Flush(); err1 != nil {
    				return n, err1
    			}
    		}
    		if readerFromOK && b.Buffered() == 0 {
    			nn, err := readerFrom.ReadFrom(r)
    			b.err = err
    			n += nn
    			return n, err
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    	if err = checkGetObjArgs(ctx, bucket, object); err != nil {
    		return objInfo, err
    	}
    
    	// This is a special call attempted first to check for SOS-API calls.
    	objInfo, err = veeamSOSAPIHeadObject(ctx, bucket, object, opts)
    	if err == nil {
    		return objInfo, nil
    	}
    
    	// reset any error to 'nil', and object info to be empty.
    	err = nil
    	objInfo = ObjectInfo{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params.md

    O mesmo erro apareceria se você tivesse fornecido um `float` ao invés de um `int`, como em: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | "Verifique"
    
    
    
    ///
    
    	Então, com a mesma declaração de tipo do Python, o **FastAPI** dá pra você validação de dados.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. internal/logger/console.go

    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    func fatal(err error, msg string, data ...interface{}) {
    	if msg == "" {
    		if len(data) > 0 {
    			msg = fmt.Sprint(data...)
    		} else {
    			msg = "a fatal error"
    		}
    	} else {
    		msg = fmt.Sprintf(msg, data...)
    	}
    	consoleLog(fatalMessage, errorFmtFunc(msg, err, jsonFlag))
    }
    
    var fatalMessage fatalMsg
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top