Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for myrunes (0.39 sec)

  1. src/reflect/all_test.go

    	{V(MyBytes("bytes2")), V(MyString("bytes2"))},
    
    	// named []rune
    	{V(string("runes♝")), V(MyRunes("runes♝"))},
    	{V(MyRunes("runes♕")), V(string("runes♕"))},
    	{V(MyRunes("runes🙈🙉🙊")), V(MyRunes("runes🙈🙉🙊"))},
    	{V(MyString("runes♝")), V(MyRunes("runes♝"))},
    	{V(MyRunes("runes♕")), V(MyString("runes♕"))},
    
    	// slice to array
    	{V([]byte(nil)), V([0]byte{})},
    	{V([]byte{}), V([0]byte{})},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    </li>
    
    <li>
    Converting a slice of runes to a string type yields
    a string that is the concatenation of the individual rune values
    converted to strings.
    
    <pre>
    string([]rune{0x767d, 0x9d6c, 0x7fd4})   // "\u767d\u9d6c\u7fd4" == "白鵬翔"
    string([]rune{})                         // ""
    string([]rune(nil))                      // ""
    
    type MyRunes []rune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    		partLen = c.Rand.Intn(63) + 1 // len is [1, 63]
    	}
    
    	runes := make([]rune, partLen)
    	if partLen == 0 {
    		return string(runes)
    	}
    
    	runes[0] = validStartEnd[c.Rand.Intn(len(validStartEnd))].choose(c.Rand)
    	for i := range runes[1:] {
    		runes[i+1] = validMiddle[c.Rand.Intn(len(validMiddle))].choose(c.Rand)
    	}
    	runes[len(runes)-1] = validStartEnd[c.Rand.Intn(len(validStartEnd))].choose(c.Rand)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/regexp/onepass.go

    			}
    			instQueue.insert(inst.Out)
    			runes := []rune{}
    			// expand case-folded runes
    			if syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {
    				r0 := inst.Rune[0]
    				runes = append(runes, r0, r0)
    				for r1 := unicode.SimpleFold(r0); r1 != r0; r1 = unicode.SimpleFold(r1) {
    					runes = append(runes, r1, r1)
    				}
    				slices.Sort(runes)
    			} else {
    				runes = append(runes, inst.Rune[0], inst.Rune[0])
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/html/template/html.go

    	0:    "\uFFFD",
    	'"':  "&#34;",
    	'\'': "&#39;",
    	'+':  "&#43;",
    	'<':  "&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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top