Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 943 for errC (0.08 sec)

  1. cmd/main.go

    		// Override the logger os.Exit()
    		logger.ExitFunc = freeze
    
    		defer func() {
    			if err := recover(); err != nil {
    				fmt.Println("panic:", err)
    				fmt.Println("")
    				fmt.Println(string(debug.Stack()))
    			}
    			freeze(-1)
    		}()
    	}
    
    	// Run the app - exit on error.
    	if err := newApp(appName).Run(args); err != nil {
    		os.Exit(1) //nolint:gocritic
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. internal/config/drive/drive.go

    }
    
    // LookupConfig - lookup config and override with valid environment settings if any.
    func LookupConfig(kvs config.KVS) (cfg Config, err error) {
    	cfg = Config{
    		MaxTimeout: 30 * time.Second,
    	}
    	if err = config.CheckValidKeys(config.DriveSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	// if not set. Get default value from environment
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/noncurrentversion.go

    		MaxNoncurrentVersions   int            `xml:"MaxNoncurrentVersions,omitempty"`
    	}
    
    	var val noncurrentExpiration
    	err := d.DecodeElement(&val, &startElement)
    	if err != nil {
    		return err
    	}
    	if val.MaxNoncurrentVersions > 0 {
    		val.NewerNoncurrentVersions = val.MaxNoncurrentVersions
    	}
    	*n = NoncurrentVersionExpiration{
    		XMLName:                 val.XMLName,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  4. internal/bucket/versioning/versioning.go

    // ParseConfig - parses data in given reader to VersioningConfiguration.
    func ParseConfig(reader io.Reader) (*Versioning, error) {
    	var v Versioning
    	if err := xml.NewDecoder(reader).Decode(&v); err != nil {
    		return nil, err
    	}
    	if err := v.Validate(); err != nil {
    		return nil, err
    	}
    	return &v, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. internal/s3select/jstream/scanner.go

    			close(sr.fillReady)
    		}()
    
    		for range sr.fillReq {
    		scan:
    			n, err := r.Read(sr.nbuf[:])
    
    			if n == 0 {
    				switch err {
    				case io.EOF: // reader is exhausted
    					return
    				case nil: // no data and no error, retry fill
    					goto scan
    				default: // unexpected reader error
    					sr.readerErr = err
    					return
    				}
    			}
    
    			rpos += int64(n)
    			sr.fillReady <- int64(n)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	var header http.Header
    	if etag != "" {
    		header.Set("ETag", etag)
    	}
    	Range := &HTTPRangeSpec{Start: startOffset, End: startOffset + length}
    
    	reader, err := api.GetObjectNInfo(ctx, bucket, object, Range, header, opts)
    	if err != nil {
    		return err
    	}
    	defer reader.Close()
    
    	_, err = xioutil.Copy(writer, reader)
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. scan.go

    				}
    				db.scanIntoStruct(rows, reflectValue, values, fields, joinFields)
    			}
    		default:
    			db.AddError(rows.Scan(dest))
    		}
    	}
    
    	if err := rows.Err(); err != nil && err != db.Error {
    		db.AddError(err)
    	}
    
    	if db.RowsAffected == 0 && db.Statement.RaiseErrorOnNotFound && db.Error == nil {
    		db.AddError(ErrRecordNotFound)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. internal/grid/msg.go

    func (m *message) parse(b []byte) (*subHandlerID, []byte, error) {
    	var sub *subHandlerID
    	if m.Payload == nil {
    		m.Payload = GetByteBuffer()[:0]
    	}
    	h, err := m.UnmarshalMsg(b)
    	if err != nil {
    		return nil, nil, fmt.Errorf("read write: %v", err)
    	}
    	if len(m.Payload) == 0 && m.Flags&FlagPayloadIsZero == 0 {
    		PutByteBuffer(m.Payload)
    		m.Payload = nil
    	}
    	if m.Flags&FlagCRCxxh3 != 0 {
    		const hashLen = 4
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/header-param-models.md

    ```
    
    ////
    
    Se um cliente tentar enviar alguns **cabeçalhos extra**, eles irão receber uma resposta de **erro**.
    
    Por exemplo, se o cliente tentar enviar um cabeçalho `tool` com o valor `plumbus`, ele irá receber uma resposta de **erro** informando que o parâmetro do cabeçalho `tool` não é permitido:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:41:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. internal/arn/arn.go

    func Parse(arnStr string) (arn ARN, err error) {
    	ps := strings.Split(arnStr, ":")
    	if len(ps) != 6 || ps[0] != string(arnPrefixArn) {
    		err = errors.New("invalid ARN string format")
    		return
    	}
    
    	if ps[1] != string(arnPartitionMinio) {
    		err = errors.New("invalid ARN - bad partition field")
    		return
    	}
    
    	if ps[2] != string(arnServiceIAM) {
    		err = errors.New("invalid ARN - bad service field")
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top