- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 8,088 for StructI (0.29 sec)
-
src/encoding/gob/type.go
tReserved7 = bootstrapType("_reserved1", (*struct{ r7 int })(nil)) tReserved6 = bootstrapType("_reserved1", (*struct{ r6 int })(nil)) tReserved5 = bootstrapType("_reserved1", (*struct{ r5 int })(nil)) tReserved4 = bootstrapType("_reserved1", (*struct{ r4 int })(nil)) tReserved3 = bootstrapType("_reserved1", (*struct{ r3 int })(nil)) tReserved2 = bootstrapType("_reserved1", (*struct{ r2 int })(nil))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/go/types/typestring_test.go
// slices dup("[]int"), dup("[][]int"), // structs dup("struct{}"), dup("struct{x int}"), {`struct { x, y int z float32 "foo" }`, `struct{x int; y int; z float32 "foo"}`}, {`struct { string elems []complex128 }`, `struct{string; elems []complex128}`}, // pointers dup("*int"), dup("***struct{}"), dup("*struct{a int; b float32}"), // functions dup("func()"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/fuzz/README.md
However, because most of our fuzzing is based on complex structs rather than the primitives Go supports natively, the `pkg/fuzz` package contains a number of helpers to fuzz. Here is an example: ```go // Define a new fuzzer. Must have Fuzz prefix func FuzzBuildHTTP(f *testing.F) { fuzz.Fuzz(f, func(fg fuzz.Helper) { // Setup a few structs for testing bundle := fuzz.Struct[trustdomain.Bundle](fg)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 05 21:25:25 UTC 2023 - 1.9K bytes - Viewed (0) -
test/fixedbugs/bug477.go
// license that can be found in the LICENSE file. // Test multiple identical unnamed structs with methods. This caused // a compilation error with gccgo. package p type S1 struct{} func (s S1) M() {} type S2 struct { F1 struct { S1 } F2 struct { S1 } } type I interface { M() } func F() { var s2 S2 var i1 I = s2.F1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 491 bytes - Viewed (0) -
tensorflow/c/experimental/pluggable_profiler/pluggable_profiler.h
// * void* ext: A reserved field that may be populated by a plugin in TP_* // structs or potential future extension points in TF_ structs. Must be set // to zero by default if it unused. // * We use struct_size for version checking by both core and plug-in. // * It is exempt from the TF/TP rule above and must be set both by core and // plug-in.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 14 20:04:34 UTC 2021 - 7.4K bytes - Viewed (0) -
test/nilptr3.go
// Optimization is enabled. package p type Struct struct { X int Y float64 } type BigStruct struct { X int Y float64 A [1 << 20]int Z string } type Empty struct { } type Empty1 struct { Empty } var ( intp *int arrayp *[10]int array0p *[0]int bigarrayp *[1 << 26]int structp *Struct bigstructp *BigStruct emptyp *Empty
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 5.6K bytes - Viewed (0) -
src/internal/types/testdata/check/cycles0.go
A5 [10]A6 A6 *A5 // slices L0 []L0 // structs S0 /* ERROR "invalid recursive type: S0 refers to itself" */ struct{ _ S0 } S1 /* ERROR "invalid recursive type: S1 refers to itself" */ struct{ S1 } S2 struct{ _ *S2 } S3 struct{ *S3 } S4 /* ERROR "invalid recursive type" */ struct{ S5 } S5 struct{ S6 } S6 S4 // pointers P0 *P0 PP *struct{ PP.f /* ERROR "PP.f is not a type" */ } // functions
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 3.6K 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) -
staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go
} } // Convert takes an object and converts it to a url.Values object using JSON tags as // parameter names. Only top-level simple values, arrays, and slices are serialized. // Embedded structs, maps, etc. will not be serialized. func Convert(obj interface{}) (url.Values, error) { result := url.Values{} if obj == nil { return result, nil } var sv reflect.Value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 4.9K bytes - Viewed (0) -
src/slices/sort_benchmark_test.go
} }) } } type myStruct struct { a, b, c, d string n int } func BenchmarkBinarySearchFuncStruct(b *testing.B) { for _, size := range []int{16, 32, 64, 128, 512, 1024} { b.Run(fmt.Sprintf("Size%d", size), func(b *testing.B) { structs := make([]*myStruct, size) for i := range structs { structs[i] = &myStruct{n: i} } midpoint := len(structs) / 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 23:39:07 UTC 2024 - 2.1K bytes - Viewed (0)