- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for Compare (0.17 sec)
-
internal/s3select/sql/evaluate.go
return opVal, opErr } // Need to evaluate the ConditionRHS switch { case e.ConditionRHS.Compare != nil: cmpRight, cmpRErr := e.ConditionRHS.Compare.Operand.evalNode(r, tableAlias) if cmpRErr != nil { return nil, cmpRErr } b, err := opVal.compareOp(strings.ToUpper(e.ConditionRHS.Compare.Operator), cmpRight) return FromBool(b), err case e.ConditionRHS.Between != nil:
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 12K bytes - Viewed (0) -
internal/s3select/sql/parser.go
} // ConditionRHS represents the right-hand-side of Compare, Between, In // or Like expressions. type ConditionRHS struct { Compare *Compare `parser:" @@"` Between *Between `parser:"| @@"` In *In `parser:"| \"IN\" @@"` Like *Like `parser:"| @@"` } // Compare represents the RHS of a comparison expression type Compare struct {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Viewed (0) -
internal/s3select/sql/aggregation.go
err := e.Operand.aggregateRow(r, tableAlias) if err != nil { return err } if e.ConditionRHS == nil { return nil } switch { case e.ConditionRHS.Compare != nil: return e.ConditionRHS.Compare.Operand.aggregateRow(r, tableAlias) case e.ConditionRHS.Between != nil: err = e.ConditionRHS.Between.Start.aggregateRow(r, tableAlias) if err != nil { return err }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 7.9K bytes - Viewed (0) -
internal/s3select/sql/analysis.go
} 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: result.combine(e.In.analyze(s))
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 8.5K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
// concatenations of `alphabets`. // // The skipOffset (generally = 0) can be used to skip a given number // of bytes from the beginning of the infinite stream. This is useful // to compare such streams of bytes that may be split up, because: // // Given the function: // // f := func(r io.Reader) string { // b, _ := io.ReadAll(r) // return string(b) // } //
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 4.8K bytes - Viewed (0) -
cmd/metacache-stream.go
} // We have checked if prefix matches, so we can do direct compare. return b.First > prefix } // endedPrefix returns true if the given prefix ends within the block. func (b metacacheBlock) endedPrefix(prefix string) bool { if prefix == "" || strings.HasPrefix(b.Last, prefix) { return false } // We have checked if prefix matches, so we can do direct compare. return b.Last > prefix
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 19.5K bytes - Viewed (0) -
docs/distributed/decom.sh
if [ "${expected_checksum}" != "${got_checksum}" ]; then echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}" exit 1 fi # after decommissioning, compare listings in bucket2 and tiered ./mc version info myminio/bucket2 | grep -q "versioning is enabled" ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected versioning enabled after decommission on bucket2" exit 1 fi
Shell Script - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 6.4K bytes - Viewed (0) -
cmd/utils.go
if len(strs) == 1 { return xfix } // compare first to rest for _, str := range strs[1:] { xfixl := len(xfix) strl := len(str) // short-circuit empty strings if xfixl == 0 || strl == 0 { return "" } // maximum possible length maxl := xfixl if strl < maxl { maxl = strl } // compare letters if pre { // prefix, iterate left to right
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 31.3K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
xlMeta.AddTestObjectPart(i+1, 67108864) } return xlMeta } // Compare the unmarshaled XLMetaV1 with the one obtained from jsoniter parsing. func compareXLMetaV1(t *testing.T, unMarshalXLMeta, jsoniterXLMeta xlMetaV1Object) {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 17.6K bytes - Viewed (0) -
internal/etag/etag.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. // Package etag provides an implementation of S3 ETags. // // Each S3 object has an associated ETag that can be // used to e.g. quickly compare objects or check whether // the content of an object has changed. // // In general, an S3 ETag is an MD5 checksum of the object // content. However, there are many exceptions to this rule. // // # Single-part Upload
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Mar 10 21:09:36 GMT 2024 - 13.3K bytes - Viewed (0)