- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for isNumeric (0.19 seconds)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
InetAddresses.isInetAddress(withScopeId)); Inet6Address parsed; boolean isNumeric = scopeId.matches("\\d+"); try { parsed = (Inet6Address) InetAddresses.forString(withScopeId); } catch (IllegalArgumentException e) { if (!isNumeric) { // Android doesn't recognize %interface as valid continue; } throw e;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (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)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (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 trueCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Click Count (0) -
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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (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)});...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 1.6K bytes - Click Count (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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (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"),...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 2.7K bytes - Click Count (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) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 7.9K bytes - Click Count (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...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Oct 26 01:49:09 GMT 2024 - 120.9K bytes - Click Count (0)