Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for combine (4.48 sec)

  1. docs/debugging/xl-meta/main.go

    		cli.BoolFlag{
    			Usage: "export inline data",
    			Name:  "export",
    		},
    		cli.BoolFlag{
    			Usage: "combine inline data",
    			Name:  "combine",
    		},
    	}
    
    	app.Action = func(c *cli.Context) error {
    		ndjson := c.Bool("ndjson")
    		if c.Bool("data") && c.Bool("combine") {
    			return errors.New("cannot combine --data and --combine")
    		}
    		// file / version / file
    		filemap := make(map[string]map[string]string)
    		// versionID ->
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  2. cmd/post-policy_test.go

    	credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential)
    	// Add the meta-uuid string, set to 1234
    	uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234")
    
    	// Combine all conditions into one string.
    	conditionStr := fmt.Sprintf(`"conditions":[%s, %s, %s, %s, %s, %s, %s]`, bucketConditionStr,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  3. internal/s3select/sql/analysis.go

    		result = e.Operand.analyze(s)
    	} else {
    		result.combine(e.Operand.analyze(s))
    		result.combine(e.ConditionRHS.analyze(s))
    	}
    	return
    }
    
    func (e *ConditionRHS) analyze(s *Select) (result qProp) {
    	switch {
    	case e.Compare != nil:
    		result = e.Compare.Operand.analyze(s)
    	case e.Between != nil:
    		result.combine(e.Between.Start.analyze(s))
    		result.combine(e.Between.End.analyze(s))
    	case e.In != nil:
    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)
  4. cmd/iam.go

    		}
    
    	}
    
    	// Defensive code: Do not allow any operation if no policy is found in the session token
    	if !isOwnerDerived && len(policies) == 0 {
    		return false
    	}
    
    	// 2. Combine the mapped policies into a single combined policy.
    
    	var combinedPolicy policy.Policy
    	if !isOwnerDerived {
    		var err error
    		combinedPolicy, err = sys.store.GetPolicy(strings.Join(policies, ","))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. internal/grid/connection.go

    			}
    			c.connChange.Wait()
    			select {
    			case <-ctx.Done():
    				c.connChange.L.Unlock()
    				return
    			default:
    			}
    		}
    		c.connChange.L.Unlock()
    		if len(queue) == 0 {
    			// Combine writes.
    			buf.Reset()
    			err := wsw.writeMessage(&buf, c.side, ws.OpBinary, toSend)
    			if err != nil {
    				gridLogIf(ctx, fmt.Errorf("ws writeMessage: %w", err))
    				return
    			}
    			PutByteBuffer(toSend)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

    			wantResult: `{"nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    			name:       "select-in-combine-and",
    			query:      `SELECT s.nested from s3object s WHERE (8.5 IN s.nested[*][*]) AND (s.id > 0)`,
    			wantResult: `{"nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    			name:       "select-in-combine-and-no",
    			query:      `SELECT s.nested from s3object s WHERE (8.5 IN s.nested[*][*]) AND (s.id = 0)`,
    			wantResult: ``,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/and.go

    package lifecycle
    
    import (
    	"encoding/xml"
    )
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // And - a tag to combine a prefix and multiple tags for lifecycle configuration rule.
    type And struct {
    	XMLName               xml.Name `xml:"And"`
    	ObjectSizeGreaterThan int64    `xml:"ObjectSizeGreaterThan,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1.go

    	c.Minio.Release = ""
    	crc := hashDeterministicString(c.Meta)
    	c.Meta = nil
    
    	if bts, err := c.MarshalMsg(metaDataPoolGet()); err == nil {
    		crc ^= xxhash.Sum64(bts)
    		metaDataPoolPut(bts)
    	}
    
    	// Combine upper and lower part
    	var tmp [4]byte
    	binary.LittleEndian.PutUint32(tmp[:], uint32(crc^(crc>>32)))
    	return tmp
    }
    
    // XL metadata constants.
    const (
    	// XL meta version.
    	xlMetaVersion101 = "1.0.1"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. buildscripts/cross-compile.sh

    Daniel Jakots <******@****.***> 1702948102 -0500
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 19 01:08:22 GMT 2023
    - 958 bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    	// no other caller must set this value other than multi-object delete call.
    	// usage in other calls in undefined please avoid.
    	Idx int `msg:"i"`
    
    	// Combined checksum when object was uploaded.
    	Checksum []byte `msg:"cs,allownil"`
    
    	// Versioned - indicates if this file is versioned or not.
    	Versioned bool `msg:"vs"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top