Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,768 for struct (0.34 sec)

  1. src/runtime/defs_freebsd_amd64.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.9K bytes
    - Viewed (0)
  2. src/runtime/defs1_netbsd_arm.go

    	_EVFILT_USER  = 0x8
    
    	_NOTE_TRIGGER = 0x1000000
    )
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type siginfo struct {
    	_signo   int32
    	_code    int32
    	_errno   int32
    	_reason  uintptr
    	_reasonx [16]byte
    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int32
    	_       [4]byte // EABI
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/runtime/defs1_netbsd_arm64.go

    	_EVFILT_USER  = 0x8
    
    	_NOTE_TRIGGER = 0x1000000
    )
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type siginfo struct {
    	_signo   int32
    	_code    int32
    	_errno   int32
    	_reason  uintptr
    	_reasonx [16]byte
    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    		},
    		{
    			name: "nil pointer omitempty",
    			obj: struct {
    				V *struct{} `json:"v,omitempty"`
    			}{},
    		},
    		{
    			name: "nil pointer to slice as struct field",
    			obj: struct {
    				V *[]interface{} `json:"v"`
    			}{},
    		},
    		{
    			name: "nil pointer to slice as struct field with omitempty",
    			obj: struct {
    				V *[]interface{} `json:"v,omitempty"`
    			}{},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/lookup2.go

    func _() {
    	_ = S{Foo1: 0} // OK
    	_ = S{Foo2 /* ERROR "unknown field Foo2 in struct literal of type S, but does have FoO2" */ : 0}
    	_ = S{Foo3 /* ERROR "unknown field Foo3 in struct literal of type S, but does have foo3" */ : 0}
    	_ = S{Foo4 /* ERROR "unknown field Foo4 in struct literal of type S, but does have foO4" */ : 0}
    
    	_ = S{foo1 /* ERROR "unknown field foo1 in struct literal of type S, but does have Foo1" */ : 0}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/internal/cpu/cpu.go

    // The struct is padded to avoid false sharing.
    var ARM struct {
    	_            CacheLinePad
    	HasVFPv4     bool
    	HasIDIVA     bool
    	HasV7Atomics bool
    	_            CacheLinePad
    }
    
    // The booleans in ARM64 contain the correspondingly named cpu feature bit.
    // The struct is padded to avoid false sharing.
    var ARM64 struct {
    	_          CacheLinePad
    	HasAES     bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/runtime/defs_windows.go

    }
    
    type exceptionpointers struct {
    	record  *exceptionrecord
    	context *context
    }
    
    type exceptionrecord struct {
    	exceptioncode        uint32
    	exceptionflags       uint32
    	exceptionrecord      *exceptionrecord
    	exceptionaddress     uintptr
    	numberparameters     uint32
    	exceptioninformation [15]uintptr
    }
    
    type overlapped struct {
    	internal     uintptr
    	internalhigh uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/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: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/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: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K 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