- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,768 for struct (0.69 sec)
-
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h.pump
} ]] // 6.1.3.3 Tuple helper classes. template <typename Tuple> struct tuple_size; $for j [[ template <GTEST_$(j)_TYPENAMES_(T)> struct tuple_size<GTEST_$(j)_TUPLE_(T) > { static const int value = $j; }; ]] template <int k, class Tuple> struct tuple_element { typedef typename gtest_internal::TupleElement<
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0) -
src/internal/types/testdata/check/lookup1.go
package lookup import "math/big" // provides big.Float struct with unexported fields and methods func _() { var s struct { x, aBc int } _ = s.x _ = s /* ERROR "invalid operation: cannot call non-function s.x (variable of type int)" */ .x() _ = s.X // ERROR "s.X undefined (type struct{x int; aBc int} has no field or method X, but does have field x)"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 2.7K bytes - Viewed (0) -
pilot/pkg/server/instance_test.go
} }) } } type reclosableChannel struct { c chan struct{} closed bool } func newReclosableChannel() *reclosableChannel { return &reclosableChannel{ c: make(chan struct{}), } } func (c *reclosableChannel) Close() { if !c.closed { c.closed = true close(c.c) } } type fakeComponent struct { started *atomic.Bool completed *atomic.Bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 23:02:39 UTC 2024 - 4.1K bytes - Viewed (0) -
pkg/controlplane/apiserver/admission/initializer_test.go
type doNothingQuotaConfiguration struct{} func (doNothingQuotaConfiguration) IgnoredResources() map[schema.GroupResource]struct{} { return nil } func (doNothingQuotaConfiguration) Evaluators() []quota.Evaluator { return nil } type WantsQuotaConfigurationAdmissionPlugin struct { doNothingAdmission doNothingPluginInitialization config quota.Configuration }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/output/types.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 07:01:20 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object_test.go
{"type t[P any] struct{f P}", "t", "type p.t[P any] struct{f P}", false}, {"type t[P any] struct{f P}", "t.P", "type parameter P any", false}, {"type C interface{m()}; type t[P C] struct{}", "t.P", "type parameter P p.C", false}, {"type t = struct{f int}", "t", "type p.t = struct{f int}", false}, {"type t = func(int)", "t", "type p.t = func(int)", false}, {"type A = B; type B = int", "A", "type p.A = p.B", true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
test/fixedbugs/issue28268.go
// Verify that follow-on errors due to conflicting // struct field and method names are suppressed. package p type T struct { a, b, c int E } type E struct{} func (T) b() {} // ERROR "field and method named b|redeclares struct field name|field and method with the same name b" func (*T) E() {} // ERROR "field and method named E|redeclares struct field name|field and method with the same name E" func _() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 764 bytes - Viewed (0) -
src/go/types/gcsizes.go
// is the same as unsafe.Alignof(x[0]), but at least 1." return s.Alignof(t.elem) case *Struct: if len(t.fields) == 0 && _IsSyncAtomicAlign64(T) { // Special case: sync/atomic.align64 is an // empty struct we recognize as a signal that // the struct it contains must be // 64-bit-aligned. // // This logic is equivalent to the logic in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
test/fixedbugs/issue25727.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 1K bytes - Viewed (0) -
pkg/util/net/ip_test.go
t.Errorf("ParseIPsSplitToV4V6() got %v %v, want %v %v", ipv4, ipv6, tt.ipv4(), tt.ipv6()) } }) } } func TestIsValidIPAddress(t *testing.T) { type args struct { ip string } tests := []struct { name string args args want bool }{ { name: "test is a valid ipv4 address", args: args{ ip: "10.10.1.1", }, want: true, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 14:41:40 UTC 2024 - 8.7K bytes - Viewed (0)