- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 312 for isnumber (0.24 sec)
-
utils/utils.go
return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10)) } } return "" } func IsValidDBNameChar(c rune) bool { return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@' } // CheckTruth check string true or not func CheckTruth(vals ...string) bool { for _, val := range vals {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 22 06:43:02 UTC 2024 - 3.8K bytes - Viewed (0) -
src/syscall/js/js.go
//go:wasmimport gojs syscall/js.valueNew //go:noescape func valueNew(v ref, args []ref) (ref, bool) func (v Value) isNumber() bool { return v.ref == valueZero.ref || v.ref == valueNaN.ref || (v.ref != valueUndefined.ref && (v.ref>>32)&nanHead != nanHead) } func (v Value) float(method string) float64 { if !v.isNumber() { panic(&ValueError{method, v.Type()}) } if v.ref == valueZero.ref { return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
pkg/config/security/security.go
"P-224", "P-256", "P-521", "P-384", "X25519", "X25519Kyber768Draft00", ) func IsValidCipherSuite(cs string) bool { if cs == "" || cs == "ALL" { return true } if !unicode.IsNumber(rune(cs[0])) && !unicode.IsLetter(rune(cs[0])) { // Not all of these are correct, but this is needed to support advanced cases like - and + operators // without needing to parse the full expression return true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 04:43:34 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/object-handlers.go
OA.ObjectParts.PartsCount = partsLength if opts.MaxParts > -1 { for i, v := range objInfo.Parts { if v.Number <= opts.PartNumberMarker { continue } if len(OA.ObjectParts.Parts) == opts.MaxParts { break } OA.ObjectParts.NextPartNumberMarker = v.Number OA.ObjectParts.Parts = append(OA.ObjectParts.Parts, &objectAttributesPart{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 124.2K bytes - Viewed (0) -
src/testing/testing.go
// Channel used to signal tests that are ready to be run in parallel. startParallel chan bool // running is the number of tests currently running in parallel. // This does not include tests that are waiting for subtests to complete. running int // numWaiting is the number tests waiting to be run in parallel. numWaiting int // maxParallel is a copy of the parallel flag. maxParallel int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/encoding/json/decode_test.go
{CaseName: Name(""), in: `-5`, ptr: new(int16), out: int16(-5)}, {CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2"), useNumber: true}, {CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2")}, {CaseName: Name(""), in: `2`, ptr: new(any), out: float64(2.0)}, {CaseName: Name(""), in: `2`, ptr: new(any), out: Number("2"), useNumber: true}, {CaseName: Name(""), in: `"a\u1234"`, ptr: new(string), out: "a\u1234"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
// already clustered operations. LogicalResult Union(unsigned a, unsigned b, const ClusteringPolicySet &policies); bool IsMember(Operation *op) const; unsigned FindRoot(unsigned id); // Verifies that merging `src_root` cluster with a `dst_root` cluster, and // inserting it at `insertion_point` location will not break the dominance
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
src/encoding/json/decode.go
} return d.savedError } // A Number represents a JSON number literal. type Number string // String returns the literal text of the number. func (n Number) String() string { return string(n) } // Float64 returns the number as a float64. func (n Number) Float64() (float64, error) { return strconv.ParseFloat(string(n), 64) } // Int64 returns the number as an int64. func (n Number) Int64() (int64, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 35.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/security_windows.go
if e != nil { return "", e } if l <= n { return UTF16ToString(b[:l]), nil } n = l } } // IsMember reports whether the access token t is a member of the provided SID. func (t Token) IsMember(sid *SID) (bool, error) { var b int32 if e := checkTokenMembership(t, sid, &b); e != nil { return false, e } return b != 0, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 52.5K bytes - Viewed (0) -
src/runtime/slice.go
if overflow || mem > maxAlloc || len < 0 || len > cap { // NOTE: Produce a 'len out of range' error instead of a // 'cap out of range' error when someone does make([]T, bignumber). // 'cap out of range' is true too, but since the cap is only being // supplied implicitly, saying len is clearer. // See golang.org/issue/4085. mem, overflow := math.MulUintptr(et.Size_, uintptr(len))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0)