Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for Parsing (0.21 sec)

  1. internal/rest/client.go

    	if err != nil {
    		if xnet.IsNetworkOrHostDown(err, expectTimeouts) {
    			if !c.NoMetrics {
    				atomic.AddUint64(&globalStats.errs, 1)
    			}
    			if c.MarkOffline(err) {
    				logger.LogOnceIf(ctx, logSubsys, fmt.Errorf("Marking %s offline temporarily; caused by %w", c.url.Host, err), c.url.Host)
    			}
    		}
    		return nil, &NetworkError{err}
    	}
    
    	// If trace is enabled, dump http request and response,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  2. callbacks.go

    		if cs[j].before == "*" && cs[i].before != "*" {
    			return true
    		}
    		if cs[j].after == "*" && cs[i].after != "*" {
    			return true
    		}
    		return false
    	})
    
    	for _, c := range cs {
    		// show warning message the callback name already exists
    		if idx := getRIndex(names, c.name); idx > -1 && !c.replace && !c.remove && !cs[idx].remove {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  3. cmd/tier.go

    		return nil
    	}
    
    	config.RLock()
    	defer config.RUnlock()
    
    	var tierCfgs []madmin.TierConfig
    	for _, tier := range config.Tiers {
    		// This makes a local copy of tier config before
    		// passing a reference to it.
    		tier := tier.Clone()
    		tierCfgs = append(tierCfgs, tier)
    	}
    	return tierCfgs
    }
    
    // Edit replaces the credentials of the remote tier specified by tierName with creds.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. internal/etag/etag.go

    	}
    
    	etag, err := hex.DecodeString(prefix)
    	if err != nil {
    		return nil, err
    	}
    	partNumber, err := strconv.Atoi(suffix[1:]) // suffix[0] == '-' Therefore, we start parsing at suffix[1]
    	if err != nil {
    		return nil, err
    	}
    	if strict && (partNumber == 0 || partNumber > 10000) {
    		return nil, fmt.Errorf("etag: invalid part number %d", partNumber)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    					for j := 0; j < setDriveCount; j++ {
    						disk := storageDisks[i*setDriveCount+j]
    						logger.Info("   - Drive: %s", disk.String())
    					}
    				})
    				logger.Info(color.Yellow("WARNING:")+" Host %v has more than %v drives of set. "+
    					"A host failure will result in data becoming unavailable.", host, wantAtMost)
    			}
    		}
    	}
    
    	// Save formats `format.json` across all disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/config-current.go

    		}
    
    		if len(globalDomainNames) != 0 && !globalDomainIPs.IsEmpty() && globalEtcdClient != nil {
    			if globalDNSConfig != nil {
    				// if global DNS is already configured, indicate with a warning, in case
    				// users are confused.
    				configLogIf(ctx, fmt.Errorf("DNS store is already configured with %s, etcd is not used for DNS store", globalDNSConfig))
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    }
    
    var selectParamsXMLName = "SelectParameters"
    
    // UnmarshalXML - decodes XML data.
    func (sp *SelectParameters) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Essentially the same as S3Select barring the xml name.
    	if start.Name.Local == selectParamsXMLName {
    		start.Name = xml.Name{Space: "", Local: "SelectRequest"}
    	}
    	return sp.S3Select.UnmarshalXML(d, start)
    }
    
    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. cmd/common-main.go

    			logger.Fatal(config.ErrInvalidCredentials(err),
    				"Unable to validate credentials inherited from the shell environment")
    		}
    		if env.IsSet(config.EnvAccessKey) && env.IsSet(config.EnvSecretKey) {
    			msg := fmt.Sprintf("WARNING: %s and %s are deprecated.\n"+
    				"         Please use %s and %s",
    				config.EnvAccessKey, config.EnvSecretKey,
    				config.EnvRootUser, config.EnvRootPassword)
    			logger.Info(color.RedBold(msg))
    		}
    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)
  9. src/cmd/cgo/doc.go

    enormous amount of work.
    
    Cgo takes a different approach. It determines the meaning of C
    identifiers not by parsing C code but by feeding carefully constructed
    programs into the system C compiler and interpreting the generated
    error messages, debug information, and object files. In practice,
    parsing these is significantly less work and more robust than parsing
    C source.
    
    Cgo first invokes gcc -E -dM on the preamble, in order to find out
    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)
  10. internal/grid/types.go

    // The recycler should handle nil pointers.
    type Recycler interface {
    	Recycle()
    }
    
    // MSS is a map[string]string that can be serialized.
    // It is not very efficient, but it is only used for easy parameter passing.
    type MSS map[string]string
    
    // Get returns the value for the given key.
    func (m *MSS) Get(key string) string {
    	if m == nil {
    		return ""
    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top