- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for TitleCase (0.14 sec)
-
src/unicode/letter_test.go
{LowerCase, '7', '7'}, {TitleCase, '\n', '\n'}, {TitleCase, 'a', 'A'}, {TitleCase, 'A', 'A'}, {TitleCase, '7', '7'}, // Latin-1: easy to read the tests! {UpperCase, 0x80, 0x80}, {UpperCase, 'Å', 'Å'}, {UpperCase, 'å', 'Å'}, {LowerCase, 0x80, 0x80}, {LowerCase, 'Å', 'å'}, {LowerCase, 'å', 'å'}, {TitleCase, 0x80, 0x80}, {TitleCase, 'Å', 'Å'}, {TitleCase, 'å', 'Å'},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 09 01:46:03 UTC 2023 - 14.8K bytes - Viewed (0) -
platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/configurationcache/extensions/CharSequenceExtensions.kt
ReplaceWith("this.let { if (it.isEmpty()) it else it[0].titlecase(java.util.Locale.getDefault()) + it.substring(1) }") ) fun CharSequence.capitalized(): String = when { isEmpty() -> "" else -> get(0).let { initial -> when { initial.isLowerCase() -> initial.titlecase(Locale.getDefault()) + substring(1) else -> toString() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:59:39 UTC 2024 - 1.1K bytes - Viewed (0) -
src/unicode/letter.go
// characters that involve multiple runes in the input or output. // Indices into the Delta arrays inside CaseRanges for case mapping. const ( UpperCase = iota LowerCase TitleCase MaxCase ) type d [MaxCase]rune // to make the CaseRanges text shorter // If the Delta field of a [CaseRange] is UpperLower, it means // this CaseRange represents a sequence of the form (say)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 10K bytes - Viewed (0) -
platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/CharSequenceExtensions.kt
import java.util.Locale fun CharSequence.capitalized(): String = when { isEmpty() -> "" else -> get(0).let { initial -> when { initial.isLowerCase() -> initial.titlecase(Locale.getDefault()) + substring(1) else -> toString() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:59:39 UTC 2024 - 985 bytes - Viewed (0) -
src/unicode/example_test.go
fmt.Printf("%#U\n", unicode.To(unicode.LowerCase, lcG)) fmt.Printf("%#U\n", unicode.To(unicode.TitleCase, lcG)) const ucG = 'G' fmt.Printf("%#U\n", unicode.To(unicode.UpperCase, ucG)) fmt.Printf("%#U\n", unicode.To(unicode.LowerCase, ucG)) fmt.Printf("%#U\n", unicode.To(unicode.TitleCase, ucG)) // Output: // U+0047 'G' // U+0067 'g' // U+0047 'G' // U+0047 'G' // U+0067 'g'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 08 00:18:29 UTC 2021 - 5.2K bytes - Viewed (0) -
operator/pkg/name/name_test.go
{ name: "to upper title", n: "ingressGateways", want: "IngressGateways", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := TitleCase(tt.n); got != tt.want { t.Errorf("TitleCase() = %v, want %v", got, tt.want) } }) } } func TestUserFacingComponentName(t *testing.T) { tests := []struct { name string n ComponentName want string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 05 14:08:11 UTC 2023 - 7.7K bytes - Viewed (0) -
operator/pkg/name/name.go
} if componentNamespace == "" { return defaultNamespace, nil } return componentNamespace, nil } // TitleCase returns a capitalized version of n. func TitleCase(n ComponentName) ComponentName { s := string(n) return ComponentName(strings.ToUpper(s[0:1]) + s[1:]) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 7.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/trieval.go
// A length of 0 indicates a mapping to zero-length string. // // Body bytes: // // case folding bytes // lowercase mapping bytes // uppercase mapping bytes // titlecase mapping bytes // closure mapping bytes (for NFKC_Casefold). (TODO) // // Fallbacks: // // missing fold -> lower // missing title -> upper // all missing -> original rune //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 6.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/extensions.kt
steps { killProcessStep(this@killProcessStep, mode, os, arch, executionMode) } } fun String.toCapitalized() = this.replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() } /** * Define clean up rules for the project. * See https://www.jetbrains.com/help/teamcity/teamcity-data-clean-up.html#Clean-up+Rules *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 03:39:03 UTC 2024 - 13.1K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/unicode.gox
var Telugu <type 1>; var Terminal_Punctuation <type 1>; var Thaana <type 1>; var Thai <type 1>; var Tibetan <type 1>; var Tifinagh <type 1>; var Tirhuta <type 1>; var Title <type 1>; const TitleCase = 2 ; func To (_case <type -11>, r <type -21>) <type -21>; func ToLower (r <type -21>) <type -21>; func ToTitle (r <type -21>) <type -21>; func ToUpper (r <type -21>) <type -21>; var TurkishCase <type 10>;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 7.3K bytes - Viewed (0)