Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for linkpatch (0.16 sec)

  1. src/cmd/internal/obj/plist.go

    			}
    		}
    	}
    
    	// Turn functions into machine code images.
    	for _, s := range text {
    		mkfwd(s)
    		if ctxt.Arch.ErrorCheck != nil {
    			ctxt.Arch.ErrorCheck(ctxt, s)
    		}
    		linkpatch(ctxt, s, newprog)
    		ctxt.Arch.Preprocess(ctxt, s, newprog)
    		ctxt.Arch.Assemble(ctxt, s, newprog)
    		if ctxt.Errors > 0 {
    			continue
    		}
    		linkpcln(ctxt, s)
    		ctxt.populateDWARF(plist.Curfn, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. pkg/volume/util/volumepathhandler/volume_path_handler.go

    		return fmt.Errorf("failed to unmount linkPath %s: %v", linkPath, err)
    	}
    
    	// Remove file
    	if err := os.Remove(linkPath); err != nil && !os.IsNotExist(err) {
    		return fmt.Errorf("failed to remove file %s: %v", linkPath, err)
    	}
    
    	return nil
    }
    
    func unmapSymlinkDevice(v VolumePathHandler, mapPath string, linkName string) error {
    	// Check symbolic link exists
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arch.go

    	instructions["BR"] = ppc64.ABR
    	instructions["BL"] = ppc64.ABL
    
    	return &Arch{
    		LinkArch:       linkArch,
    		Instructions:   instructions,
    		Register:       register,
    		RegisterPrefix: registerPrefix,
    		RegisterNumber: ppc64RegisterNumber,
    		IsJump:         jumpPPC64,
    	}
    }
    
    func archMips(linkArch *obj.LinkArch) *Arch {
    	register := make(map[string]int16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 06:51:28 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/compare.go

    		// So we can cover longer strings with the same amount of code.
    		canCombineLoads := ssagen.Arch.LinkArch.CanMergeLoads
    		combine64bit := false
    		if canCombineLoads {
    			// Keep this low enough to generate less code than a function call.
    			maxRewriteLen = 2 * ssagen.Arch.LinkArch.RegSize
    			combine64bit = ssagen.Arch.LinkArch.RegSize >= 8
    		}
    
    		var and ir.Op
    		switch cmp {
    		case ir.OEQ:
    			and = ir.OANDAND
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  5. pkg/volume/util/subpath/subpath_windows.go

    func isLinkPath(path string) (bool, error) {
    	cmd := exec.Command("powershell", "/c", "$ErrorActionPreference = 'Stop'; (Get-Item -Force -LiteralPath $env:linkpath).LinkType")
    	cmd.Env = append(os.Environ(), fmt.Sprintf("linkpath=%s", path))
    	klog.V(8).Infof("Executing command: %q", cmd.String())
    	output, err := cmd.CombinedOutput()
    	if err != nil {
    		return false, err
    	}
    	if strings.TrimSpace(string(output)) != "" {
    		return true, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/abiutils_test.go

    // - floating point: X0 - X14
    var configAMD64 = abi.NewABIConfig(9, 15, 0, 1)
    
    func TestMain(m *testing.M) {
    	ssagen.Arch.LinkArch = &x86.Linkamd64
    	ssagen.Arch.REGSP = x86.REGSP
    	ssagen.Arch.MAXWIDTH = 1 << 50
    	types.MaxWidth = ssagen.Arch.MAXWIDTH
    	base.Ctxt = obj.Linknew(ssagen.Arch.LinkArch)
    	base.Ctxt.DiagFunc = base.Errorf
    	base.Ctxt.DiagFlush = base.FlushErrors
    	base.Ctxt.Bso = bufio.NewWriter(os.Stdout)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    		file: "testdata/pax-multi-hdrs.tar",
    		headers: []*Header{{
    			Name:     "bar",
    			Linkname: "PAX4/PAX4/long-linkpath-name",
    			ModTime:  time.Unix(0, 0),
    			Typeflag: '2',
    			PAXRecords: map[string]string{
    				"linkpath": "PAX4/PAX4/long-linkpath-name",
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		// Both BSD and GNU tar truncate long names at first NUL even
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/obj0.go

    		return true
    	}
    	return false
    }
    
    var Linkmips64 = obj.LinkArch{
    	Arch:           sys.ArchMIPS64,
    	Init:           buildop,
    	Preprocess:     preprocess,
    	Assemble:       span0,
    	Progedit:       progedit,
    	DWARFRegisters: MIPSDWARFRegisters,
    }
    
    var Linkmips64le = obj.LinkArch{
    	Arch:           sys.ArchMIPS64LE,
    	Init:           buildop,
    	Preprocess:     preprocess,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    		unspill.As = ra.Unspill
    		unspill.From = ra.Addr
    		unspill.To.Type = TYPE_REG
    		unspill.To.Reg = ra.Reg
    		last = unspill
    	}
    	return last
    }
    
    // LinkArch is the definition of a single architecture.
    type LinkArch struct {
    	*sys.Arch
    	Init           func(*Link)
    	ErrorCheck     func(*Link, *LSym)
    	Preprocess     func(*Link, *LSym, ProgAlloc)
    	Assemble       func(*Link, *LSym, ProgAlloc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/convert.go

    		n = cheapExpr(n, init)
    		n = soleComponent(init, n)
    		// byteindex widens n so that the multiplication doesn't overflow.
    		index := ir.NewBinaryExpr(base.Pos, ir.OLSH, byteindex(n), ir.NewInt(base.Pos, 3))
    		if ssagen.Arch.LinkArch.ByteOrder == binary.BigEndian {
    			index = ir.NewBinaryExpr(base.Pos, ir.OADD, index, ir.NewInt(base.Pos, 7))
    		}
    		// The actual type is [256]uint64, but we use [256*8]uint8 so we can address
    		// individual bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top