Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for IsField (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/os_netbsd.go

    //go:noescape
    func lwp_unpark(lwp int32, hint unsafe.Pointer) int32
    
    func lwp_self() int32
    
    func osyield()
    
    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    func kqueue() int32
    
    //go:noescape
    func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32
    
    func pipe2(flags int32) (r, w int32, errno int32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/runtime/os_plan9.go

    	return 0
    }
    
    func initsig(preinit bool) {
    	if !preinit {
    		notify(unsafe.Pointer(abi.FuncPCABI0(sigtramp)))
    	}
    }
    
    //go:nosplit
    func osyield() {
    	sleep(0)
    }
    
    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    //go:nosplit
    func usleep(µs uint32) {
    	ms := int32(µs / 1000)
    	if ms == 0 {
    		ms = 1
    	}
    	sleep(ms)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/runtime/os_freebsd.go

    func thr_self() thread
    func thr_kill(tid thread, sig int)
    
    //go:noescape
    func sys_umtx_op(addr *uint32, mode int32, val uint32, uaddr1 uintptr, ut *umtx_time) int32
    
    func osyield()
    
    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    func kqueue() int32
    
    //go:noescape
    func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32
    
    func pipe2(flags int32) (r, w int32, errno int32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/runtime/os2_aix.go

    }
    
    func osyield1()
    
    //go:nosplit
    func osyield_no_g() {
    	osyield1()
    }
    
    //go:nosplit
    func osyield() {
    	r, err := syscall0(&libc_sched_yield)
    	if int32(r) == -1 {
    		println("syscall osyield failed: ", hex(err))
    		throw("syscall osyield")
    	}
    }
    
    //go:nosplit
    func sysconf(name int32) uintptr {
    	r, _ := syscall1(&libc_sysconf, uintptr(name))
    	if int32(r) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  9. src/runtime/signal_unix.go

    	// have been delivered. Give other threads a chance to run and
    	// pick up the signal.
    	osyield()
    	osyield()
    	osyield()
    
    	// If that didn't work, try _SIG_DFL.
    	setsig(sig, _SIG_DFL)
    	raise(sig)
    
    	osyield()
    	osyield()
    	osyield()
    
    	// If we are still somehow running, just exit with the wrong status.
    	exit(2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/runtime/os_linux.go

    }
    
    func raise(sig uint32)
    func raiseproc(sig uint32)
    
    //go:noescape
    func sched_getaffinity(pid, len uintptr, buf *byte) int32
    func osyield()
    
    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    func pipe2(flags int32) (r, w int32, errno int32)
    
    //go:nosplit
    func fcntl(fd, cmd, arg int32) (ret int32, errno int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top