- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,850 for cased (0.14 sec)
-
src/text/template/examplefunc_test.go
"title": strings.Title, } // A simple template definition to test our function. // We print the input text several ways: // - the original // - title-cased // - title-cased and then printed with %q // - printed with %q and then title-cased. const templateText = ` Input: {{printf "%q" .}} Output 0: {{title .}} Output 1: {{title . | printf "%q"}} Output 2: {{printf "%q" . | title}} `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/info.go
// preventing a break between two cased letters. For now we will ignore this // (e.g. [ALetter] [ExtendNumLet] [Katakana] [ExtendNumLet] [ALetter] and // [ALetter] [Numeric] [MidNum] [Numeric] [ALetter].) // // Note 2: the rule for Mid is very approximate, but works in most cases. To // improve, we could store the categories in the trie value and use a FA to // manage breaks. See TODO comment above.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/trieval.go
) // The case mode bits encodes the case type of a rune. This includes uncased, // title, upper and lower case and case ignorable. (For a definition of these // terms see Chapter 3 of The Unicode Standard Core Specification.) In some rare // cases, a rune can be both cased and case-ignorable. This is encoded by // cIgnorableCased. A rune of this type is always lower case. Some runes are // cased while not having a mapping.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/context.go
nDst, nSrc int err error sz int // size of current rune info info // case information of currently scanned rune // State preserved across calls to Transform. isMidWord bool // false if next cased letter needs to be title-cased. } func (c *context) Reset() { c.isMidWord = false } // ret returns the return values for the Transform method. It checks whether
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 9.5K bytes - Viewed (0) -
src/internal/buildcfg/exp.go
func (exp *ExperimentFlags) String() string { return strings.Join(expList(&exp.Flags, &exp.baseline, false), ",") } // expList returns the list of lower-cased experiment names for // experiments that differ from base. base may be nil to indicate no // experiments. If all is true, then include all experiment flags, // regardless of base.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:38:52 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/map.go
// Current rune must be ∑. // ::NFD(); // # 03A3; 03C2; 03A3; 03A3; Final_Sigma; # GREEK CAPITAL LETTER SIGMA // Σ } [:case-ignorable:]* [:cased:] → σ; // [:cased:] [:case-ignorable:]* { Σ → ς; // ::Any-Lower; // ::NFC(); p := c.pDst c.writeString("ς") // TODO: we should do this here, but right now this will never have an // effect as this is called when the prefix is Sigma, whereas Dutch and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
if (oldValue != 0) { int newValue = Math.max(0, oldValue - occurrences); if (existingCounter.compareAndSet(oldValue, newValue)) { if (newValue == 0) { // Just CASed to 0; remove the entry to clean up the map. If the removal fails, // another thread has already replaced it with a new counter, which is fine. countMap.remove(element, existingCounter); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
if (oldValue != 0) { int newValue = Math.max(0, oldValue - occurrences); if (existingCounter.compareAndSet(oldValue, newValue)) { if (newValue == 0) { // Just CASed to 0; remove the entry to clean up the map. If the removal fails, // another thread has already replaced it with a new counter, which is fine. countMap.remove(element, existingCounter); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolutionStrategy.java
* Units are resolved by calling the {@code valueOf(String)} method of {@link java.util.concurrent.TimeUnit} with the upper-cased string value.</p> * * @param value The number of time units * @param units The units * @since 1.0-milestone-6 */ void cacheDynamicVersionsFor(int value, String units); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 17 13:05:50 UTC 2022 - 16K bytes - Viewed (0) -
src/html/escape.go
} // Consume the maximum number of characters possible, with the // consumed characters matching one of the named references. for i < len(s) { c := s[i] i++ // Lower-cased characters are more common in entities, so we check for them first. if 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z' || '0' <= c && c <= '9' { continue } if c != ';' { i-- } break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 13 07:00:18 UTC 2020 - 5K bytes - Viewed (0)