Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for iface (0.05 sec)

  1. src/cmd/link/internal/ld/deadcode.go

    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("reached iface method: %v\n", m)
    				}
    				d.ifaceMethod[m] = true
    				continue
    			case objabi.R_USENAMEDMETHOD:
    				name := d.decodeGenericIfaceMethod(d.ldr, r.Sym())
    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("reached generic iface method: %s\n", name)
    				}
    				d.genericIfaceMethod[name] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/infer.go

    					//           (which will compare signatures exactly as we do below).
    					//           We leave it as is for now because missingMethod provides
    					//           a failure cause which allows for a better error message.
    					//           Eventually, unify should return an error with cause.
    					var cause string
    					constraint := tpar.iface()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. src/go/types/infer.go

    					//           (which will compare signatures exactly as we do below).
    					//           We leave it as is for now because missingMethod provides
    					//           a failure cause which allows for a better error message.
    					//           Eventually, unify should return an error with cause.
    					var cause string
    					constraint := tpar.iface()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. src/runtime/mfinal.go

    					ityp := (*interfacetype)(unsafe.Pointer(f.fint))
    					// set up with empty interface
    					(*eface)(r)._type = &f.ot.Type
    					(*eface)(r).data = f.arg
    					if len(ityp.Methods) != 0 {
    						// convert to interface with methods
    						// this conversion is guaranteed to succeed - we checked in SetFinalizer
    						(*iface)(r).tab = assertE2I(ityp, (*eface)(r)._type)
    					}
    				default:
    					throw("bad kind in runfinq")
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/text/template/exec.go

    // the template.
    func (s *state) printValue(n parse.Node, v reflect.Value) {
    	s.at(n)
    	iface, ok := printableValue(v)
    	if !ok {
    		s.errorf("can't print %s of type %s", n, v.Type())
    	}
    	_, err := fmt.Fprint(s.wr, iface)
    	if err != nil {
    		s.writeError(err)
    	}
    }
    
    // printableValue returns the, possibly indirected, interface value inside v that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    	key uintptr
    }
    
    type funcval struct {
    	fn uintptr
    	// variable-size, fn-specific data here
    }
    
    type iface struct {
    	tab  *itab
    	data unsafe.Pointer
    }
    
    type eface struct {
    	_type *_type
    	data  unsafe.Pointer
    }
    
    func efaceOf(ep *any) *eface {
    	return (*eface)(unsafe.Pointer(ep))
    }
    
    // The guintptr, muintptr, and puintptr are all used to bypass write barriers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  7. src/net/net_windows_test.go

    	}
    	slices.Sort(have)
    
    	ifaces := make(map[string]bool)
    	err = netshInterfaceIPShowInterface("ipv6", ifaces)
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = netshInterfaceIPShowInterface("ipv4", ifaces)
    	if err != nil {
    		t.Fatal(err)
    	}
    	want := make([]string, 0)
    	for name, isup := range ifaces {
    		want = append(want, toString(name, isup))
    	}
    	slices.Sort(want)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. src/runtime/syscall_windows.go

    // cdecl calling convention; otherwise, it will use stdcall. On amd64,
    // it always uses fastcall. On arm, it always uses the ARM convention.
    //
    //go:linkname compileCallback syscall.compileCallback
    func compileCallback(fn eface, cdecl bool) (code uintptr) {
    	if GOARCH != "386" {
    		// cdecl is only meaningful on 386.
    		cdecl = false
    	}
    
    	if fn._type == nil || (fn._type.Kind_&abi.KindMask) != abi.Func {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/runtime/netpoll.go

    // types which embed runtime/internal/sys.NotInHeap (which pollDesc is)
    // must be stored in interfaces indirectly. See issue 42076.
    func (pd *pollDesc) makeArg() (i any) {
    	x := (*eface)(unsafe.Pointer(&i))
    	x._type = pdType
    	x.data = unsafe.Pointer(&pd.self)
    	return
    }
    
    var (
    	pdEface any    = (*pollDesc)(nil)
    	pdType  *_type = efaceOf(&pdEface)._type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/css/base.css

    /* Lato (bold, regular) */
    @font-face {
        font-display: swap;
        font-family: Lato;
        font-weight: 500;
        font-style: normal;
        src: url("https://assets.gradle.com/lato/fonts/lato-semibold/lato-semibold.woff2") format("woff2"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top