Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,768 for struct (0.15 sec)

  1. src/runtime/defs_freebsd_arm64.go

    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type umtx_time struct {
    	_timeout timespec
    	_flags   uint32
    	_clockid uint32
    }
    
    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/structs/doc.go

    // license that can be found in the LICENSE file.
    
    // Package structs defines marker types that can be used as struct fields
    // to modify the properties of a struct.
    //
    // By convention, a marker type should be used as the type of a field
    // named "_", placed at the beginning of a struct type definition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 431 bytes
    - Viewed (0)
  5. src/runtime/defs_freebsd_riscv64.go

    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type umtx_time struct {
    	_timeout timespec
    	_flags   uint32
    	_clockid uint32
    }
    
    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. pkg/kube/krt/sync.go

    import "istio.io/istio/pkg/kube"
    
    type Syncer interface {
    	WaitUntilSynced(stop <-chan struct{}) bool
    	HasSynced() bool
    }
    
    var (
    	_ Syncer = channelSyncer{}
    	_ Syncer = pollSyncer{}
    )
    
    type channelSyncer struct {
    	name   string
    	synced <-chan struct{}
    }
    
    func (c channelSyncer) WaitUntilSynced(stop <-chan struct{}) bool {
    	return waitForCacheSync(c.name, stop, c.synced)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 14:25:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. tests/embedded_struct_test.go

    )
    
    func TestEmbeddedStruct(t *testing.T) {
    	type ReadOnly struct {
    		ReadOnly *bool
    	}
    
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    		ReadOnly
    	}
    
    	type Author struct {
    		ID    string
    		Name  string
    		Email string
    	}
    
    	type HNPost struct {
    		BasePost
    		Author  `gorm:"EmbeddedPrefix:user_"` // Embedded struct
    		Upvotes int32
    	}
    
    	type EngadgetPost struct {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/runtime/defs_freebsd_arm.go

    }
    
    type timeval struct {
    	tv_sec    int64
    	tv_usec   int32
    	pad_cgo_0 [4]byte
    }
    
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top