- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 742 for isnumber (0.22 sec)
-
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertFalse(StringUtil.isNumber(null)); assertTrue(StringUtil.isNumber("0123456789")); assertFalse(StringUtil.isNumber("aaaBBBccc")); assertFalse(StringUtil.isNumber("0123456789")); assertFalse(StringUtil.isNumber("")); assertFalse(StringUtil.isNumber("01234abcdef")); assertFalse(StringUtil.isNumber("abcdef01234")); } /** * */
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
src/strings/example_test.go
// Output: // 10 // 8 // -1 } func ExampleLastIndexFunc() { fmt.Println(strings.LastIndexFunc("go 123", unicode.IsNumber)) fmt.Println(strings.LastIndexFunc("123 go", unicode.IsNumber)) fmt.Println(strings.LastIndexFunc("go", unicode.IsNumber)) // Output: // 5 // 2 // -1 } func ExampleJoin() { s := []string{"foo", "bar", "baz"} fmt.Println(strings.Join(s, ", "))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:05:38 UTC 2023 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_subclass() { Predicate<@Nullable Object> isNumber = Predicates.instanceOf(Number.class); assertTrue(isNumber.apply(1)); assertTrue(isNumber.apply(2.0f)); assertFalse(isNumber.apply("")); assertFalse(isNumber.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_interface() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
} @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_subclass() { Predicate<@Nullable Object> isNumber = Predicates.instanceOf(Number.class); assertTrue(isNumber.apply(1)); assertTrue(isNumber.apply(2.0f)); assertFalse(isNumber.apply("")); assertFalse(isNumber.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_interface() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
src/unicode/graphic.go
func IsMark(r rune) bool { // There are no mark characters in Latin-1. return isExcludingLatin(Mark, r) } // IsNumber reports whether the rune is a number (category [N]). func IsNumber(r rune) bool { if uint32(r) <= MaxLatin1 { return properties[uint8(r)]&pN != 0 } return isExcludingLatin(Number, r) } // IsPunct reports whether the rune is a Unicode punctuation character // (category [P]).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 4.4K bytes - Viewed (0) -
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) -
src/unicode/letter_test.go
} if IsLower(r) { t.Errorf("IsLower(0x%x - 1<<31) = true, want false", base) } if IsMark(r) { t.Errorf("IsMark(0x%x - 1<<31) = true, want false", base) } if IsNumber(r) { t.Errorf("IsNumber(0x%x - 1<<31) = true, want false", base) } if IsPrint(r) { t.Errorf("IsPrint(0x%x - 1<<31) = true, want false", base) } if IsPunct(r) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 09 01:46:03 UTC 2023 - 14.8K 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) -
src/main/java/org/codelibs/core/lang/StringUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.7K bytes - Viewed (0)