- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for MaxCase (0.18 sec)
-
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) // [Upper] [Lower] [Upper] [Lower]. const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 10K bytes - Viewed (0) -
src/unicode/letter_test.go
} } } } func TestSpecialCaseNoMapping(t *testing.T) { // Issue 25636 // no change for rune 'A', zero delta, under upper/lower/title case change. var noChangeForCapitalA = CaseRange{'A', 'A', [MaxCase]rune{0, 0, 0}} got := strings.ToLowerSpecial(SpecialCase([]CaseRange{noChangeForCapitalA}), "ABC") want := "Abc" if got != want { t.Errorf("got %q; want %q", got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 09 01:46:03 UTC 2023 - 14.8K bytes - Viewed (0) -
src/math/big/natconv.go
"math" "math/bits" "sync" ) const digits = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" // Note: MaxBase = len(digits), but it must remain an untyped rune constant // for API compatibility. // MaxBase is the largest number base accepted for string conversions. const MaxBase = 10 + ('z' - 'a' + 1) + ('Z' - 'A' + 1) const maxBaseSmall = 10 + ('z' - 'a' + 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 14.6K bytes - Viewed (0) -
src/math/big/natconv_test.go
// license that can be found in the LICENSE file. package big import ( "bytes" "fmt" "io" "math/bits" "strings" "testing" ) func TestMaxBase(t *testing.T) { if MaxBase != len(digits) { t.Fatalf("%d != %d", MaxBase, len(digits)) } } // log2 computes the integer binary logarithm of x. // The result is the integer n for which 2^n <= x < 2^(n+1). // If x == 0, the result is -1. func log2(x Word) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 16.8K bytes - Viewed (0) -
api/go1.10.txt
pkg html/template, type Srcset string pkg math, func Erfcinv(float64) float64 pkg math, func Erfinv(float64) float64 pkg math, func Round(float64) float64 pkg math, func RoundToEven(float64) float64 pkg math/big, const MaxBase = 62 pkg math/big, method (*Float) Sqrt(*Float) *Float pkg math/big, method (*Int) CmpAbs(*Int) int pkg math/rand, func Shuffle(int, func(int, int)) pkg math/rand, method (*Rand) Shuffle(int, func(int, int))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 06 05:00:01 UTC 2018 - 30.1K bytes - Viewed (0) -
api/except.txt
pkg math/big, const MaxBase = 36 pkg math/big, type Word uintptr pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error) pkg os (linux-arm), const O_SYNC = 1052672 pkg os (linux-arm), const O_SYNC = 4096
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:13:30 UTC 2023 - 34.6K bytes - Viewed (0) -
src/math/big/int.go
// (not just a prefix) must be valid for success. If SetString fails, // the value of z is undefined but the returned value is nil. // // The base argument must be 0 or a value between 2 and [MaxBase]. // For base 0, the number prefix determines the actual base: A prefix of // “0b” or “0B” selects base 2, “0”, “0o” or “0O” selects base 8, // and “0x” or “0X” selects base 16. Otherwise, the selected base is 10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 33.1K bytes - Viewed (0)