Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,837 for runes (0.15 sec)

  1. doc/go_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 runes []rune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  2. src/strings/strings_test.go

    	{"x \xc0\xc0 ", "x \xc0\xc0"},
    	{"x ☺\xc0\xc0 ", "x ☺\xc0\xc0"},
    	{"x ☺ ", "x ☺"},
    }
    
    func tenRunes(ch rune) string {
    	r := make([]rune, 10)
    	for i := range r {
    		r[i] = ch
    	}
    	return string(r)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	step := rune(13)
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. internal/event/rules.go

    	return pattern
    }
    
    // Rules - event rules
    type Rules map[string]TargetIDSet
    
    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    	rules[pattern] = NewTargetIDSet(targetID).Union(rules[pattern])
    }
    
    // MatchSimple - returns true one of the matching object name in rules.
    func (rules Rules) MatchSimple(objectName string) bool {
    	for pattern := range rules {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </pre>
    </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)
  5. src/cmd/compile/internal/ssa/_gen/AMD64splitload.rules

    // This file contains rules used by flagalloc and addressingmodes to
    // split a flag-generating merged load op into separate load and op.
    // Unlike with the other rules files, not all of these
    // rules will be applied to all values.
    // Rather, flagalloc will request for rules to be applied
    // to a particular problematic value.
    // These are often the exact inverse of rules in AMD64.rules,
    // only with the conditions removed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64latelower.rules

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains rules used by the laterLower pass.
    // These are often the exact inverse of rules in ARM64.rules.
    
    (ADDconst [c] x) && !isARM64addcon(c)  => (ADD x (MOVDconst [c]))
    (SUBconst [c] x) && !isARM64addcon(c)  => (SUB x (MOVDconst [c]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Rules.java

    import java.lang.annotation.Target;
    
    /**
     * Denotes that the {@link RuleSource} method rule carrying this annotation defines additional rules based on its inputs.
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    @Incubating
    public @interface Rules {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/386splitload.rules

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // See the top of AMD64splitload.rules for discussion of these rules.
    
    (CMP(L|W|B)load {sym} [off] ptr x mem) => (CMP(L|W|B) (MOV(L|W|B)load {sym} [off] ptr mem) x)
    
    (CMPLconstload {sym} [vo] ptr mem) => (CMPLconst (MOVLload {sym} [vo.Off()] ptr mem) [vo.Val()])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 620 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains rules used by the laterLower pass.
    
    // Simplify ISEL x $0 z into ISELZ
    (ISEL [a] x (MOVDconst [0]) z) => (ISELZ [a] x z)
    // Simplify ISEL $0 y z into ISELZ by inverting comparison and reversing arguments.
    (ISEL [a] (MOVDconst [0]) y z) => (ISELZ [a^0x4] y z)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/AMD64latelower.rules

    the shift input.
    L6:(SAR(Q|L) x y) && buildcfg.GOAMD64 >= 3 => (SARX(Q|L) x y)
    L7:(SHL(Q|L) x y) && buildcfg.GOAMD64 >= 3 => (SHLX(Q|L) x y)
    L8:(SHR(Q|L) x y) && buildcfg.GOAMD64 >= 3 => (SHRX(Q|L) x y)
    L9:
    L10:// See comments in ARM64latelower.rules for why these are here.
    L11:(MOVLQZX x) && zeroUpper32Bits(x,3) => x
    L12:(MOVWQZX x) && zeroUpper48Bits(x,3) => x
    L13:(MOVBQZX x) && zeroUpper56Bits(x,3) => x
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 636 bytes
    - Viewed (0)
Back to top