Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for element (0.21 sec)

  1. cmd/postpolicyform.go

    					Value    string
    				}{
    					policyCondEqual, "$" + strings.ToLower(k), toString(v),
    				})
    			}
    		case []interface{}: // Handle array types.
    			if len(condt) != 3 { // Return error if we have insufficient elements.
    				return parsedPolicy, fmt.Errorf("Malformed conditional fields %s of type %s found in POST policy form", condt, reflect.TypeOf(condt).String())
    			}
    			switch toLowerString(condt[0]) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common.go

    	for _, etag := range etags {
    		if etag == "" {
    			continue
    		}
    		etagOccurrenceMap[etag]++
    	}
    
    	maxima = 0 // Counter for remembering max occurrence of elements.
    	latest := ""
    
    	// Find the common cardinality from previously collected
    	// occurrences of elements.
    	for etag, count := range etagOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    		// We are at or above maxima
    		if count > maxima {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/rule_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    )
    
    // TestInvalidRules checks if Rule xml with invalid elements returns
    // appropriate errors on validation
    func TestInvalidRules(t *testing.T) {
    	invalidTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Rule with ID longer than 255 characters
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/filter_test.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    // TestUnsupportedFilters checks if parsing Filter xml with
    // unsupported elements returns appropriate errors
    func TestUnsupportedFilters(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Filter with And tags
    			inputXML: ` <Filter>
    						<And>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/aggregation.go

    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *ListExpr) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.Elements {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *AndCondition) aggregateRow(r Record, tableAlias string) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. internal/s3select/sql/analysis.go

    	if e.Operand != nil {
    		result = e.Operand.analyze(s)
    	} else {
    		result = e.Not.analyze(s)
    	}
    	return
    }
    
    func (e *ListExpr) analyze(s *Select) (result qProp) {
    	for _, ac := range e.Elements {
    		result.combine(ac.analyze(s))
    	}
    	return
    }
    
    func (e *ConditionOperand) analyze(s *Select) (result qProp) {
    	if e.ConditionRHS == nil {
    		result = e.Operand.analyze(s)
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. internal/logger/logger.go

    // will be called for a pretty rendering of fatal errors.
    func RegisterError(f func(string, error, bool) string) {
    	errorFmtFunc = f
    }
    
    // uniq swaps away duplicate elements in data, returning the size of the
    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/replication/minio-replication.json

        {
          "name": "DS_PROMETHEUS",
          "label": "Prometheus",
          "description": "",
          "type": "datasource",
          "pluginId": "prometheus",
          "pluginName": "Prometheus"
        }
      ],
      "__elements": {},
      "__requires": [
        {
          "type": "panel",
          "id": "bargauge",
          "name": "Bar gauge",
          "version": ""
        },
        {
          "type": "panel",
          "id": "gauge",
    Json
    - Registered: Sun Mar 24 19:28:08 GMT 2024
    - Last Modified: Thu Feb 29 18:35:20 GMT 2024
    - 61.5K bytes
    - Viewed (0)
Back to top