- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for isNumeric (0.22 sec)
-
internal/s3select/sql/value.go
} // Check array values aArr, aOK := a.ToArray() vArr, vOK := v.ToArray() if aOK && vOK { return arrayCompare(op, aArr, vArr) } isNumeric := v.isNumeric() && a.isNumeric() if isNumeric { intV, ok1i := v.ToInt() intA, ok2i := a.ToInt() if ok1i && ok2i { return intCompare(op, intV, intA), nil } // If both values are numeric, then at least one is
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 20.2K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
if v1.IsNull() || v2.IsNull() { return v1, nil } err = inferTypesForCmp(v1, v2) if err != nil { return nil, err } atleastOneNumeric := v1.isNumeric() || v2.isNumeric() bothNumeric := v1.isNumeric() && v2.isNumeric() if atleastOneNumeric || !bothNumeric { return v1, nil } if v1.SameTypeAs(*v2) { return v1, nil } cmpResult, cmpErr := v1.compareOp(opEq, v2)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 13.2K bytes - Viewed (0) -
logger/sql.go
var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})} // RegEx matches only numeric values var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`) func isNumeric(k reflect.Kind) bool { switch k { case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: return true case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: return true
Go - Registered: Sun Apr 21 09:35:09 GMT 2024 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
):"undefined"!=typeof e.dateFormat&&(f=e.dateFormat);var g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("age-range")||"0-124").split("-");if(d.trigger("ageCalculated",[k]),2!==l.length||!a.isNumeric(l[0])||!a.isNumeric(l[1]))throw new Error("Date range format invalid");return k>=l[0]&&k<=l[1]},errorMessage:"",errorMessageKey:"badDate"})}(a)});...
JavaScript - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 1.6K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/sanitize.js
you include numeral.js (http://numeraljs.com/)');return a=numeral().unformat(a),a=numeral(a).format(c.attr("data-sanitize-number-format"))},strip:function(b,c){var d=c.attr("data-sanitize-strip")||"";return a.split(d,function(c){var d=new RegExp(a.isNumeric(c)?c:"\\"+c,"g");b=b.replace(d,"")}),b},escape:function(b,c){var d=c.valAttr("is-escaped"),e={"<":"__%AMP%__lt;",">":"__%AMP%__gt;","&":"__%AMP%__amp;","'":"__%AMP%__#8217;",'"':"__%AMP%__quot;"};return"yes"===d?b:(c.valAttr("is-escaped","yes"),...
JavaScript - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 2.7K bytes - Viewed (0) -
internal/s3select/sql/aggregation.go
if funcName != aggFnCount { // All aggregation functions, except COUNT require a // numeric argument. // Here, we diverge from Amazon S3 behavior by // inferring untyped values are numbers. if !argVal.isNumeric() { if i, ok := argVal.bytesToInt(); ok { argVal.setInt(i) } else if f, ok := argVal.bytesToFloat(); ok { argVal.setFloat(f) } else { return errNonNumericArg(funcName) } }
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) -
src/main/webapp/js/admin/popper.min.js.map
e, this.state);\n }\n}\n","/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nexport default function isNumeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n","import isNumeric from './isNumeric';\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with...
Plain Text - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Fri Feb 07 10:28:50 GMT 2020 - 121K bytes - Viewed (2) -
internal/s3select/sql/evaluate.go
return e.Primary.evalNode(r, tableAlias) } v, err := e.Negated.Term.evalNode(r, tableAlias) if err != nil { return nil, err } inferTypeForArithOp(v) v.negate() if v.isNumeric() { return v, nil } return nil, errArithMismatchedTypes } func (e *JSONPath) evalNode(r Record, tableAlias string) (*Value, error) { alias := tableAlias if tableAlias == "" {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 12K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
import okhttp3.internal.idn.Punycode import okio.Buffer /** * Quick and dirty pattern to differentiate IP addresses from hostnames. This is an approximation * of Android's private InetAddress#isNumeric API. * * This matches IPv6 addresses as a hex string containing at least one colon, and possibly * including dots after the first colon. It matches IPv4 addresses as strings containing only
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, const IsFloat = 8 pkg go/types, const IsFloat BasicInfo pkg go/types, const IsInteger = 2 pkg go/types, const IsInteger BasicInfo pkg go/types, const IsNumeric = 26 pkg go/types, const IsNumeric BasicInfo pkg go/types, const IsOrdered = 42 pkg go/types, const IsOrdered BasicInfo pkg go/types, const IsString = 32 pkg go/types, const IsString BasicInfo pkg go/types, const IsUnsigned = 4
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0)