Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 492 for Tstruct (0.16 sec)

  1. doc/next/6-stdlib/3-structs.md

    ### New structs package
    
    The new [structs] package provides
    types for struct fields that modify properties of
    the containing struct type such as memory layout.
    
    In this release, the only such type is
    [`HostLayout`](/pkg/structs#HostLayout)
    which indicates that a structure with a field of that
    type has a layout that conforms to host platform
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:06:02 UTC 2024
    - 356 bytes
    - Viewed (0)
  2. hack/golangci-strict.yaml

        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507023980
        - linters:
            - gosimple
          text: "S1016: should convert opts .* instead of using struct literal"
    
        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507026758
        - linters:
            - gosimple
          text: "S1033: unnecessary guard around call to delete"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/reflect/type_test.go

    	})
    }
    
    func TestIsRegularMemory(t *testing.T) {
    	type args struct {
    		t reflect.Type
    	}
    	type S struct {
    		int
    	}
    	tests := []struct {
    		name string
    		args args
    		want bool
    	}{
    		{"struct{i int}", args{reflect.TypeOf(struct{ i int }{})}, true},
    		{"struct{}", args{reflect.TypeOf(struct{}{})}, true},
    		{"struct{i int; s S}", args{reflect.TypeOf(struct {
    			i int
    			s S
    		}{})}, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/api.go

    }
    
    type ApplicationTunnel struct {
    	Protocol string  `json:"protocol"`
    	Port     *uint16 `json:"port,omitempty"`
    }
    
    type GatewayAddress struct {
    	Destination string `json:"destination"`
    }
    
    type LoadBalancer struct {
    	Mode               string   `json:"mode"`
    	RoutingPreferences []string `json:"routingPreferences"`
    }
    
    type ZtunnelService struct {
    	Name         string          `json:"name"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/structs/hostlayout.go

    package structs
    
    // HostLayout marks a struct as using host memory layout. A struct with a
    // field of type HostLayout will be laid out in memory according to host
    // expectations, generally following the host's C ABI.
    //
    // HostLayout does not affect layout within any other struct-typed fields
    // of the containing struct, nor does it affect layout of structs
    // containing the struct marked as host layout.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/runtime/runtime_fake_test.go

    	v1 "k8s.io/cri-api/pkg/apis/runtime/v1"
    )
    
    type fakeImpl struct {
    	imageStatusReturns struct {
    		res *v1.ImageStatusResponse
    		err error
    	}
    	listPodSandboxReturns struct {
    		res []*v1.PodSandbox
    		err error
    	}
    	newRemoteImageServiceReturns struct {
    		res cri.ImageManagerService
    		err error
    	}
    	newRemoteRuntimeServiceReturns struct {
    		res cri.RuntimeService
    		err error
    	}
    	pullImageReturns struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. api/go1.23.txt

    pkg net, type DNSError struct, UnwrapErr error #63116
    pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
    pkg net, type KeepAliveConfig struct #62254
    pkg net, type KeepAliveConfig struct, Count int #62254
    pkg net, type KeepAliveConfig struct, Enable bool #62254
    pkg net, type KeepAliveConfig struct, Idle time.Duration #62254
    pkg net, type KeepAliveConfig struct, Interval time.Duration #62254
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *CSIDriver) APILifecycleIntroduced() (major, minor int) {
    	return 1, 18
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top