- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,729 for struct (0.13 sec)
-
src/internal/reflectlite/export_test.go
// license that can be found in the LICENSE file. package reflectlite import ( "unsafe" ) // Field returns the i'th field of the struct v. // It panics if v's Kind is not Struct or i is out of range. func Field(v Value, i int) Value { if v.kind() != Struct { panic(&ValueError{"reflect.Value.Field", v.kind()}) } tt := (*structType)(unsafe.Pointer(v.typ())) if uint(i) >= uint(len(tt.Fields)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 3K bytes - Viewed (0) -
src/runtime/defs_darwin_arm64.go
uc_mcontext *mcontext64 } type keventt struct { ident uint64 filter int16 flags uint16 fflags uint32 data int64 udata *byte } type pthread uintptr type pthreadattr struct { X__sig int64 X__opaque [56]int8 } type pthreadmutex struct { X__sig int64 X__opaque [56]int8 } type pthreadmutexattr struct { X__sig int64 X__opaque [8]int8 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
pilot/pkg/networking/core/fuzz_test.go
func FuzzBuildGatewayListeners(f *testing.F) { f.Fuzz(func(t *testing.T, patchCount int, hostname string, data []byte) { defer fuzz.Finalize() fg := fuzz.New(t, data) proxy := fuzz.Struct[*model.Proxy](fg) to := fuzz.Struct[TestOptions](fg) lb := fuzz.Struct[*ListenerBuilder](fg) cg := NewConfigGenTest(t, to) lb.node = cg.SetupProxy(proxy) lb.push = cg.PushContext() cg.ConfigGen.buildGatewayListeners(lb) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 2.2K bytes - Viewed (0) -
src/internal/types/testdata/check/decls0.go
W U P1 *S2 P2 P1 S0 struct { } S1 struct { a, b, c int u, v, a /* ERROR "redeclared" */ float32 } S2 struct { S0 // embedded field S0 /* ERROR "redeclared" */ int } S3 struct { x S2 } S4/* ERROR "invalid recursive type" */ struct { S4 } S5 /* ERROR "invalid recursive type" */ struct { S6 } S6 struct { field S7 } S7 struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 4.1K bytes - Viewed (0) -
src/go/types/sizes.go
// a struct of n consecutive fields of the array's element type. // - The size of a struct is the offset of the last field plus that // field's size. As with all element types, if the struct is used // in an array its size must first be aligned to a multiple of the // struct's alignment. // - All other types have size WordSize. // - Arrays and structs are aligned per spec definition; all other
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 8.9K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/fuzz_test.go
func FuzzBuildHTTP(f *testing.F) { fuzz.Fuzz(f, func(fg fuzz.Helper) { bundle := fuzz.Struct[trustdomain.Bundle](fg) push := fuzz.Struct[*model.PushContext](fg, validatePush) node := fuzz.Struct[*model.Proxy](fg) selectionOpts := model.PolicyMatcherForProxy(node) policies := push.AuthzPolicies.ListAuthorizationPolicies(selectionOpts) option := fuzz.Struct[Option](fg) b := New(bundle, push, policies, option) if b == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 1.9K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue67547.go
_ = A(p /* ERRORx `cannot convert string \(in P\) to type (A|int)` */) } func _[P struct{ x int }]() { var x struct{ x int } type A = P var _ A = x // assignment must be valid } func _[P struct{ x int }]() { type A = P var x A var _ struct{ x int } = x // assignment must be valid } func _[P []int | struct{}]() { type A = []int var a A var p P
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/defs_dragonfly_amd64.go
_NOTE_TRIGGER = 0x1000000 ) type rtprio struct { _type uint16 prio uint16 } type lwpparams struct { start_func uintptr arg unsafe.Pointer stack uintptr tid1 unsafe.Pointer // *int32 tid2 unsafe.Pointer // *int32 } type sigset struct { __bits [4]uint32 } type stackt struct { ss_sp uintptr ss_size uintptr ss_flags int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/cel/interface.go
} // CompilationResult represents a compiled validations expression. type CompilationResult struct { Program celgo.Program AST *celgo.Ast ExpressionAccessor ExpressionAccessor } // EvaluationResult contains the minimal required fields and metadata of a cel evaluation type EvaluationResult struct { EvalResult ref.Val ExpressionAccessor ExpressionAccessor }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/config/server.go
type Opts struct { FTP struct { Address string `yaml:"address"` PassivePortRange string `yaml:"passive-port-range"` } `yaml:"ftp"` SFTP struct { Address string `yaml:"address"` SSHPrivateKey string `yaml:"ssh-private-key"` } `yaml:"sftp"` } // ServerConfigVersion struct is used to extract the version type ServerConfigVersion struct { Version string `yaml:"version"` }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 03 15:54:03 UTC 2024 - 1.9K bytes - Viewed (0)