Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for a12 (0.02 sec)

  1. test/initialize.go

    	{a2, b2},
    	{a3, b3},
    	{a4, b4},
    	{a5, b5},
    	{a6, b6},
    	{a7[0] == a7[1], true},
    	{m8(a8) == "ghi", true},
    	{m8(a9) == "ghi", true},
    	{a10[0] == a10[1], true},
    	{a11[0] == a11[1], true},
    	{&a12[0][0] == &a12[1][0], true},
    	{&a13[0][0] == &a13[1][0], true},
    	{&a14[0][0] == &a14[1][0], true},
    	{&a15[0][0] == &a15[1][0], true},
    	{&a16[0][0] == &a16[1][0], true},
    }
    
    func main() {
    	ok := true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 04:04:52 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/cycles5a.go

    type (
    	_ interface {
    		M(P)
    	}
    
    	M interface {
    		F() P
    	}
    
    	P = interface {
    		I() M
    	}
    )
    
    // issue #8699
    type T12 /* ERROR "invalid recursive type" */ [len(a12)]int
    var a12 = makeArray()
    func makeArray() (res T12) { return }
    
    // issue #20770
    var r = newReader()
    func newReader() r // ERROR "r is not a type"
    
    // variations of the theme of #8699 and #20770
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/aliases.go

    	}
    	T3 interface {
    		m() T2
    	}
    	T4 func(int, T0) chan T2
    )
    
    // basic aliases
    type (
    	Ai = int
    	A0 = T0
    	A1 = T1
    	A2 = T2
    	A3 = T3
    	A4 = T4
    
    	A10 = [10]int
    	A11 = []byte
    	A12 = struct {
    		x int
    	}
    	A13 = interface {
    		m() A2
    	}
    	A14 = func(int, A0) chan A2
    )
    
    // alias receiver types
    func (T0) m1() {}
    func (A0) m2() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 27 02:52:03 UTC 2018
    - 624 bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/cycles5.go

    		M(P)
    	}
    
    	M interface {
    		F() P // ERROR "invalid use of type alias"
    	}
    
    	P = interface {
    		I() M
    	}
    )
    
    // issue #8699
    type T12 /* ERROR "invalid recursive type" */ [len(a12)]int
    var a12 = makeArray()
    func makeArray() (res T12) { return }
    
    // issue #20770
    var r = newReader()
    func newReader() r // ERROR "r is not a type"
    
    // variations of the theme of #8699 and #20770
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/syscall_windows.go

    func syscall_Syscall12(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12 uintptr) (r1, r2, err uintptr) {
    	args := [...]uintptr{a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12}
    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    //go:linkname syscall_Syscall15 syscall.Syscall15
    //go:nosplit
    func syscall_Syscall15(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15 uintptr) (r1, r2, err uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/syscall/dll_windows.go

    func Syscall12(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall15(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall18(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18 uintptr) (r1, r2 uintptr, err Errno)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/debug/dwarf/testdata/typedef.c

    t_ushort *a5;
    t_func_int_of_float_double *a6;
    t_ptr_func_int_of_float_double *a7;
    t_func_ptr_int_of_char_schar_uchar *a8;
    t_func_void_of_char *a9;
    t_func_void_of_void *a10;
    t_func_void_of_ptr_char_dots *a11;
    t_my_struct *a12;
    t_my_struct1 *a12a;
    t_my_union *a12b;
    t_my_enum *a13;
    t_my_list *a14;
    t_my_tree *a15;
    t_ptr_func_int_of_float_complex *a16;
    t_ptr_func_int_of_double_complex *a17;
    t_ptr_func_int_of_long_double_complex *a18;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 02 19:56:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/testdata/aliases.gox

    >>;
    type <type 7 "A1" = <type 8 "T1" <type 9 [] <type -20>>>>;
    type <type 10 "A10" = <type 11 [10 ] <type -11>>>;
    type <type 12 "A11" = <type 13 [] <type -20>>>;
    type <type 14 "A12" = <type 15 struct { .go.aliases.x <type -11>; }>>;
    type <type 16 "A13" = <type 17 interface { .go.aliases.m () <type 18 "A2" = <type 19 "T2" <type 20 struct { .go.aliases.x <type -11>; }>>>; }>>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 27 02:52:03 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/decls4.go

    		x int
    	}
    	T3 interface{
    		m() T2
    	}
    	T4 func(int, T0) chan T2
    )
    
    type (
    	Ai = int
    	A0 = T0
    	A1 = T1
    	A2 = T2
    	A3 = T3
    	A4 = T4
    
    	A10 = [10]int
    	A11 = []byte
    	A12 = struct {
    		x int
    	}
    	A13 = interface{
    		m() A2
    	}
    	A14 = func(int, A0) chan A2
    )
    
    // check assignment compatibility due to equality of types
    var (
    	xi_ int
    	ai Ai = xi_
    
    	x0 T0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    	RET
    TEXT ·a11(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	JEQ one
    	JMP two
    one:
    	ORQ R15, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    two:
    	RET
    TEXT ·a12(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	JMP one
    two:
    	ORQ R15, R15
    	RET
    one:
    	MOVL $0, R15
    	JMP two
    
    // Ensure 3-arg instructions get GOT-rewritten without errors.
    // See issue 58735.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 20:45:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top