Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rs (0.11 sec)

  1. src/bytes/example_test.go

    func ExampleReplaceAll() {
    	fmt.Printf("%s\n", bytes.ReplaceAll([]byte("oink oink oink"), []byte("oink"), []byte("moo")))
    	// Output:
    	// moo moo moo
    }
    
    func ExampleRunes() {
    	rs := bytes.Runes([]byte("go gopher"))
    	for _, r := range rs {
    		fmt.Printf("%#U\n", r)
    	}
    	// Output:
    	// U+0067 'g'
    	// U+006F 'o'
    	// U+0020 ' '
    	// U+0067 'g'
    	// U+006F 'o'
    	// U+0070 'p'
    	// U+0068 'h'
    	// U+0065 'e'
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. src/cmd/asm/internal/asm/asm.go

    				prog.From = a[0]
    				prog.AddRestSource(a[1])
    				prog.To = a[2]
    			case arch.IsARM64CASP(op):
    				prog.From = a[0]
    				prog.To = a[1]
    				// both 1st operand and 3rd operand are (Rs, Rs+1) register pair.
    				// And the register pair must be contiguous.
    				if (a[0].Type != obj.TYPE_REGREG) || (a[2].Type != obj.TYPE_REGREG) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top