Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 139 for myrunes (0.28 sec)

  1. src/unicode/utf8/example_test.go

    	buf := []byte("Hello, 世界")
    	fmt.Println("bytes =", len(buf))
    	fmt.Println("runes =", utf8.RuneCount(buf))
    	// Output:
    	// bytes = 13
    	// runes = 9
    }
    
    func ExampleRuneCountInString() {
    	str := "Hello, 世界"
    	fmt.Println("bytes =", len(str))
    	fmt.Println("runes =", utf8.RuneCountInString(str))
    	// Output:
    	// bytes = 13
    	// runes = 9
    }
    
    func ExampleRuneLen() {
    	fmt.Println(utf8.RuneLen('a'))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 05 21:29:18 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  2. releasenotes/notes/30833.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    issue:
      - 30833
    
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 21 22:14:28 UTC 2021
    - 201 bytes
    - Viewed (0)
  3. src/html/template/html.go

    	0:    "\uFFFD",
    	'"':  """,
    	'\'': "'",
    	'+':  "+",
    	'<':  "&lt;",
    	'>':  "&gt;",
    }
    
    // htmlNospaceReplacementTable contains the runes that need to be escaped
    // inside an unquoted attribute value.
    // The set of runes escaped is the union of the HTML specials and
    // those determined by running the JS below in browsers:
    // <div id=d></div>
    // <script>(function () {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:42:28 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. src/regexp/syntax/parse.go

    	instSize = 5 * 8 // byte, 2 uint32, slice is 5 64-bit words
    )
    
    // maxRunes is the maximum number of runes allowed in a regexp tree
    // counting the runes in all the nodes.
    // Ignoring character classes p.numRunes is always less than the length of the regexp.
    // Character classes can make it much larger: each \pL adds 1292 runes.
    // 128 MB is enough for 32M runes, which is over 26k \pL instances.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  5. pilot/pkg/status/distribution/reporter_test.go

    	r.RegisterDisconnect(connections[2], sets.New[xds.EventType](""))
    	// build a report, which should have only two dataplanes, with 50% acking v2 of config
    	rpt, prunes := r.buildReport()
    	r.removeCompletedResource(prunes)
    	Expect(rpt.DataPlaneCount).To(Equal(2))
    	Expect(rpt.InProgressResources).To(Equal(map[string]int{
    		myResources[0].String(): 2,
    		myResources[1].String(): 1,
    		myResources[2].String(): 2,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    // 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.
    //
    // A common pattern for scripts in the Unicode standard is for upper and lower
    // case runes to alternate for increasing rune values (e.g. the accented Latin
    // ranges starting from U+0100 and U+1E00 among others and some Cyrillic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesInSettingsIntegrationTest.groovy

                .publishAs("org.test", "myplugin", "1.0", pluginPortal, executer)
    
            settingsFile << """
                dependencyResolutionManagement {
                    components.all(MyRule)
                }
    
                class MyRule implements ComponentMetadataRule {
                    void execute(ComponentMetadataContext context) {
                        def details = context.details
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/cases/info.go

    // Note that we can extend the current algorithm to be much more accurate. This
    // only makes sense, though, if the performance and/or space penalty of using
    // the generic breaker is big. Extra data will only be needed for non-cased
    // runes, which means there are sufficient bits left in the caseType.
    // ICU prohibits breaking in such cases as well.
    
    // For the purpose of title casing we use an approximation of the Unicode Word
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelIntegrationTest.groovy

            class MyRules extends RuleSource {
                @ComponentType
                public void register(TypeBuilder<UnmanagedComponent> builder) {
                    builder.defaultImplementation(DefaultUnmanagedComponent)
                }
            }
            apply plugin: MyRules
            model {
                components {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  10. src/unicode/utf8/utf8_test.go

    		runes := []rune(ts)
    		if n := len(runes); n != count {
    			t.Errorf("%q: []rune() has length %d; got %d from RuneCountInString", ts, n, count)
    			break
    		}
    		i := 0
    		for _, r := range ts {
    			if r != runes[i] {
    				t.Errorf("%q[%d]: expected %c (%U); got %c (%U)", ts, i, runes[i], runes[i], r, r)
    			}
    			i++
    		}
    	}
    }
    
    var invalidSequenceTests = []string{
    	"\xed\xa0\x80\x80", // surrogate min
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
Back to top