- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for IsField (0.2 sec)
-
src/go/types/object.go
} // Anonymous reports whether the variable is an embedded field. // Same as Embedded; only present for backward-compatibility. func (obj *Var) Anonymous() bool { return obj.embedded } // Embedded reports whether the variable is an embedded field. func (obj *Var) Embedded() bool { return obj.embedded } // IsField reports whether the variable is a struct field.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
} // Anonymous reports whether the variable is an embedded field. // Same as Embedded; only present for backward-compatibility. func (obj *Var) Anonymous() bool { return obj.embedded } // Embedded reports whether the variable is an embedded field. func (obj *Var) Embedded() bool { return obj.embedded } // IsField reports whether the variable is a struct field.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go
*types.Label, // Labels are function-local. *types.PkgName: // PkgNames are file-local. return "", fmt.Errorf("no path for %v", obj) case *types.Var: // Could be: // - a field (obj.IsField()) // - a func parameter or result // - a local var. // Sadly there is no way to distinguish // a param/result from a local // so we must proceed to the find. case *types.Func:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 23.1K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, method (*TypeName) Type() Type pkg go/types, method (*Var) Anonymous() bool pkg go/types, method (*Var) Exported() bool pkg go/types, method (*Var) Id() string pkg go/types, method (*Var) IsField() bool pkg go/types, method (*Var) Name() string pkg go/types, method (*Var) Parent() *Scope pkg go/types, method (*Var) Pkg() *Package pkg go/types, method (*Var) Pos() token.Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
} continue } // struct fields, type-associated and interface methods // have no parent scope wantParent := true switch obj := obj.(type) { case *Var: if obj.IsField() { wantParent = false } case *Func: if obj.Type().(*Signature).Recv() != nil { // method wantParent = false } } gotParent := obj.Parent() != nil switch {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
} continue } // struct fields, type-associated and interface methods // have no parent scope wantParent := true switch obj := obj.(type) { case *Var: if obj.IsField() { wantParent = false } case *Func: if obj.Signature().Recv() != nil { // method wantParent = false } } gotParent := obj.Parent() != nil switch {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/runtime/os_openbsd_syscall1.go
package runtime //go:noescape func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32 //go:noescape func thrwakeup(ident uintptr, n int32) int32 func osyield() //go:nosplit func osyield_no_g() { osyield()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 441 bytes - Viewed (0) -
src/runtime/export_windows_test.go
// license that can be found in the LICENSE file. // Export guts for testing. package runtime import "unsafe" const MaxArgs = maxArgs var ( OsYield = osyield TimeBeginPeriodRetValue = &timeBeginPeriodRetValue ) func NumberOfProcessors() int32 { var info systeminfo stdcall1(_GetSystemInfo, uintptr(unsafe.Pointer(&info)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 17:25:00 UTC 2024 - 759 bytes - Viewed (0) -
src/runtime/os_wasm.go
gp.sig = _SIGSEGV panicmem() } // func exitThread(wait *uint32) // FIXME: wasm doesn't have atomic yet func exitThread(wait *atomic.Uint32) type mOS struct{} func osyield() //go:nosplit func osyield_no_g() { osyield() } type sigset struct{} // Called to initialize a new m (including the bootstrap m). // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/sys_openbsd1.go
//go:nosplit //go:cgo_unsafe_args func thrwakeup(ident uintptr, n int32) int32 { return libcCall(unsafe.Pointer(abi.FuncPCABI0(thrwakeup_trampoline)), unsafe.Pointer(&ident)) } func thrwakeup_trampoline() //go:nosplit func osyield() { libcCall(unsafe.Pointer(abi.FuncPCABI0(sched_yield_trampoline)), unsafe.Pointer(nil)) } func sched_yield_trampoline() //go:nosplit func osyield_no_g() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 03:11:18 UTC 2021 - 1.2K bytes - Viewed (0)