Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 7,334 for struct (0.23 sec)

  1. test/fixedbugs/issue53454.go

    	U float64
    	V float64
    }
    
    type T6 struct {
    	T9
    	C T10
    }
    
    type T7 struct {
    	T10
    	T11
    }
    
    type T8 struct {
    	T9
    	C T7
    }
    
    type T9 struct {
    	A T5
    	B T3
    	D T4
    }
    
    type T10 struct {
    	W float64
    }
    
    type T11 struct {
    	X float64
    	Y float64
    }
    
    func MainTest(x T1, y T8, z T6) float64 {
    	return Test(x.B, x.A, x.D, x.C, y.B, y.A, y.D, y.C, z.B, z.A, z.D,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 21 17:23:40 UTC 2022
    - 1002 bytes
    - Viewed (0)
  2. src/runtime/defs_linux_mipsx.go

    	sa_restorer uintptr
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_code  int32
    	si_errno int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint32
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    type itimerspec struct {
    	it_interval timespec
    	it_value    timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue49439.go

    package p
    
    import "unsafe"
    
    type T0 /* ERROR "invalid recursive type" */ [P T0[P]] struct{}
    
    type T1 /* ERROR "invalid recursive type" */ [P T2[P]] struct{}
    type T2[P T1[P]] struct{}
    
    type T3 /* ERROR "invalid recursive type" */ [P interface{ ~struct{ f T3[int] } }] struct{}
    
    // valid cycle in M
    type N[P M[P]] struct{}
    type M[Q any] struct { F *M[Q] }
    
    // "crazy" case
    type TC[P [unsafe.Sizeof(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 739 bytes
    - Viewed (0)
  4. src/runtime/defs_linux_amd64.go

    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint64
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    type itimerspec struct {
    	it_interval timespec
    	it_value    timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_side_effects.h

    };
    
    struct Summary : ::mlir::SideEffects::Resource::Base<Summary> {
      StringRef getName() final { return "Summary"; }
    };
    
    struct LookupTable : ::mlir::SideEffects::Resource::Base<LookupTable> {
      StringRef getName() final { return "LookupTable"; }
    };
    
    struct DatasetSeedGenerator
        : ::mlir::SideEffects::Resource::Base<DatasetSeedGenerator> {
      StringRef getName() final { return "DatasetSeedGenerator"; }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 26 18:45:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. test/typeparam/issue48191.go

    		var c0 complex128
    		var st0, st1, st2 struct {
    		}
    		var au8 []uint
    		var st3, st4, st5 struct {
    			ph0 *G2
    			st1 struct {
    				m0   map[rune]complex128
    				pch1 *chan int64
    				m2   map[bool]byte
    				st3  struct {
    					ch0 chan func(map[G1]*struct {
    						pm0 *map[bool]int64
    						h1  G2
    					}, struct {
    						u0 uint
    					}, uint, float64) *struct {
    						ch0 chan map[int16]G2
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  7. src/runtime/defs_freebsd_386.go

    }
    
    type timeval struct {
    	tv_sec  int32
    	tv_usec int32
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type umtx_time struct {
    	_timeout timespec
    	_flags   uint32
    	_clockid uint32
    }
    
    type keventt struct {
    	ident  uint32
    	filter int16
    	flags  uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/go/doc/testdata/e.0.golden

    	// 
    	type U3 struct {
    		*U2
    	}
    
    	// U3.N should appear as method of U3 and as method of U2 only if ...
    	func (*U3) N()
    
    	// 
    	type U4 struct {
    		// contains filtered or unexported fields
    	}
    
    	// U4.M should appear as method of U4. 
    	func (*U4) M()
    
    	// 
    	type V1 struct {
    		*V2
    		*V5
    	}
    
    	// 
    	type V2 struct {
    		*V3
    	}
    
    	// 
    	type V3 struct {
    		*V4
    	}
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.5K bytes
    - Viewed (0)
  9. utils/tests/models.go

    	Active    bool
    }
    
    type Account struct {
    	gorm.Model
    	UserID sql.NullInt64
    	Number string
    }
    
    type Pet struct {
    	gorm.Model
    	UserID *uint
    	Name   string
    	Toy    Toy `gorm:"polymorphic:Owner;"`
    }
    
    type Toy struct {
    	gorm.Model
    	Name      string
    	OwnerID   string
    	OwnerType string
    }
    
    type Tools struct {
    	gorm.Model
    	Name     string
    	CustomID string
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprogcgo/tracebackctxt_c.c

    }
    
    void tcContext(void* parg) {
    	struct cgoContextArg* arg = (struct cgoContextArg*)(parg);
    	if (arg->context == 0) {
    		arg->context = __sync_add_and_fetch(&contextCount, 1);
    	} else {
    		if (arg->context != __sync_add_and_fetch(&contextCount, 0)) {
    			abort();
    		}
    		__sync_sub_and_fetch(&contextCount, 1);
    	}
    }
    
    void tcContextSimple(void* parg) {
    	struct cgoContextArg* arg = (struct cgoContextArg*)(parg);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 29 15:30:38 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top