Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hostobjs (0.13 sec)

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

    		externalobj = true
    	}
    
    	hostobj = append(hostobj, Hostobj{})
    	h := &hostobj[len(hostobj)-1]
    	h.ld = ld
    	h.pkg = pkg
    	h.pn = pn
    	h.file = file
    	h.off = f.Offset()
    	h.length = length
    	return h
    }
    
    func hostobjs(ctxt *Link) {
    	if ctxt.LinkMode != LinkInternal {
    		return
    	}
    	var h *Hostobj
    
    	for i := 0; i < len(hostobj); i++ {
    		h = &hostobj[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		// Assert that declarations were type checked nonetheless.
    		var gotObjs []string
    		for id, obj := range info.Defs {
    			if obj != nil {
    				objStr := strings.ReplaceAll(fmt.Sprintf("%s:%T", id.Name, obj), "types2", "types")
    				gotObjs = append(gotObjs, objStr)
    			}
    		}
    		wantObjs := "f:*types.Func"
    		if !strings.Contains(fmt.Sprint(gotObjs), wantObjs) {
    			t.Errorf("%q: got %s, want substring %q",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		// Assert that declarations were type checked nonetheless.
    		var gotObjs []string
    		for id, obj := range info.Defs {
    			if obj != nil {
    				objStr := strings.ReplaceAll(fmt.Sprintf("%s:%T", id.Value, obj), "types2", "types")
    				gotObjs = append(gotObjs, objStr)
    			}
    		}
    		wantObjs := "f:*types.Func"
    		if !strings.Contains(fmt.Sprint(gotObjs), wantObjs) {
    			t.Errorf("%q: got %s, want substring %q",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/xcoff.go

    		} else {
    			a4.Xsmtyp |= XTY_CM
    		}
    
    		a4.Xsmtyp |= uint8(xcoffAlign(ldr, x, t) << 3)
    
    		syms = append(syms, a4)
    
    	case UndefinedSym:
    		if ty := ldr.SymType(x); ty != sym.SDYNIMPORT && ty != sym.SHOSTOBJ && ty != sym.SUNDEFEXT {
    			return
    		}
    		s := &XcoffSymEnt64{
    			Nsclass: C_EXT,
    			Noffset: uint32(xfile.stringTable.add(name)),
    			Nnumaux: 1,
    		}
    		ldr.SetSymDynid(x, int32(xfile.symbolCount))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
Back to top