Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for s2 (0.16 sec)

  1. src/cmd/api/testdata/src/pkg/p1/p1.go

    func (myInt) CapitalMethodUnexportedType() {}
    
    // Deprecated: use TMethod.
    func (s *S2) SMethod(x int8, y int16, z int64) {}
    
    type s struct{}
    
    func (s) method()
    func (s) Method()
    
    func (S) StructValueMethod()
    func (ignored S) StructValueMethodNamedRecv()
    
    func (s *S2) unexported(x int8, y int16, z int64) {}
    
    func Bar(x int8, y int16, z int64)                  {}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    array with the operand.
    </p>
    
    <pre>
    var a [10]int
    s1 := a[3:7]   // underlying array of s1 is array a; &amp;s1[2] == &amp;a[5]
    s2 := s1[1:4]  // underlying array of s2 is underlying array of s1 which is array a; &amp;s2[1] == &amp;a[5]
    s2[1] = 42     // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element
    </pre>
    
    
    <h4>Full slice expressions</h4>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/arm64error.s

    	VFMLA	V1.S4, V12.S2, V3.D2                             // ERROR "operand mismatch"
    	VFMLA	V1.H4, V12.H4, V3.D2                             // ERROR "operand mismatch"
    	VFMLS	V1.S2, V12.S2, V3.S4                             // ERROR "operand mismatch"
    	VFMLS	V1.S2, V12.D2, V3.S4                             // ERROR "operand mismatch"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  4. api/go1.19.txt

    pkg debug/elf, const R_LARCH_SOP_NOT R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_POP_32_S_0_10_10_16_S2 = 45 #46229
    pkg debug/elf, const R_LARCH_SOP_POP_32_S_0_10_10_16_S2 R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_POP_32_S_0_5_10_16_S2 = 44 #46229
    pkg debug/elf, const R_LARCH_SOP_POP_32_S_0_5_10_16_S2 R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_POP_32_S_10_12 = 40 #46229
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  5. doc/go_spec.html

    array with the operand.
    </p>
    
    <pre>
    var a [10]int
    s1 := a[3:7]   // underlying array of s1 is array a; &amp;s1[2] == &amp;a[5]
    s2 := s1[1:4]  // underlying array of s2 is underlying array of s1 which is array a; &amp;s2[1] == &amp;a[5]
    s2[1] = 42     // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element
    
    var s []int
    s3 := s[:0]    // s3 == nil
    </pre>
    
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	FMAXNMD F20, F6, F16                       // d068741e
    	//TODO VFMAXNMP V3.S2, F2                  // 62c8307e
    	//TODO VFMAXNMP V25.S2, V4.S2, V2.S2       // 82c4392e
    	//TODO VFMAXNMV V14.S4, F15                // cfc9306e
    	//TODO VFMAXP V3.S2, F27                   // 7bf8307e
    	//TODO VFMAXP V29.S2, V30.S2, V9.S2        // c9f73d2e
    	//TODO VFMAXV V13.S4, F14                  // aef9306e
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  7. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, method (*Embedded) OnEmbedded()
    pkg p1, method (*S2) SMethod(int8, int16, int64)
    pkg p1, method (*S2) SMethod //deprecated
    pkg p1, method (*T) JustOnT()
    pkg p1, method (*T) OnBothTandBPtr()
    pkg p1, method (B) OnBothTandBVal()
    pkg p1, method (S) StructValueMethod()
    pkg p1, method (S) StructValueMethodNamedRecv()
    pkg p1, method (S2) StructValueMethod()
    pkg p1, method (S2) StructValueMethodNamedRecv()
    pkg p1, method (T) OnBothTandBVal()
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/arm64.s

    	VZIP1	V6.D2, V9.D2, V11.D2            // 2b39c64e
    	VZIP2	V10.D2, V13.D2, V3.D2           // a379ca4e
    	VZIP1	V17.S2, V4.S2, V26.S2           // 9a38910e
    	VZIP2	V25.S2, V14.S2, V25.S2          // d979990e
    	VUXTL	V30.B8, V30.H8                  // dea7082f
    	VUXTL	V30.H4, V29.S4                  // dda7102f
    	VUXTL	V29.S2, V2.D2                   // a2a7202f
    	VUXTL2	V30.H8, V30.S4                  // dea7106f
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  9. src/archive/tar/reader_test.go

    		for j := 0; j < 6; j++ {
    			var tr *Reader
    			var s1, s2 string
    
    			switch j {
    			case 0:
    				tr = NewReader(&reader{strings.NewReader(v.input)})
    				s1, s2 = "io.Reader", "auto"
    			case 1:
    				tr = NewReader(&reader{strings.NewReader(v.input)})
    				s1, s2 = "io.Reader", "manual"
    			case 2:
    				tr = NewReader(&readSeeker{strings.NewReader(v.input)})
    				s1, s2 = "io.ReadSeeker", "auto"
    			case 3:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arch.go

    	register["A2"] = riscv.REG_A2
    	register["A3"] = riscv.REG_A3
    	register["A4"] = riscv.REG_A4
    	register["A5"] = riscv.REG_A5
    	register["A6"] = riscv.REG_A6
    	register["A7"] = riscv.REG_A7
    	register["S2"] = riscv.REG_S2
    	register["S3"] = riscv.REG_S3
    	register["S4"] = riscv.REG_S4
    	register["S5"] = riscv.REG_S5
    	register["S6"] = riscv.REG_S6
    	register["S7"] = riscv.REG_S7
    	register["S8"] = riscv.REG_S8
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
Back to top