Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for linkpatch (0.7 sec)

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

    		if a.Reg != 0 || a.Index != 0 || a.Scale != 0 || a.Name != 0 || a.Class != 0 || a.Sym != nil {
    			break
    		}
    		return
    	}
    
    	ctxt.Diag("invalid encoding for argument %v", p)
    }
    
    func linkpatch(ctxt *Link, sym *LSym, newprog ProgAlloc) {
    	for p := sym.Func().Text; p != nil; p = p.Link {
    		checkaddr(ctxt, p, &p.From)
    		for _, v := range p.RestArgs {
    			checkaddr(ctxt, p, &v.Addr)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pkg/volume/util/subpath/subpath_windows_test.go

    				os.MkdirAll(parent, 0755)
    			}
    
    			// make last element as symlink
    			linkPath := test.subPath
    			if _, err := os.Stat(linkPath); err != nil && os.IsNotExist(err) {
    				if err := makeLink(linkPath, test.symlinkTarget); err != nil {
    					t.Fatalf("unexpected error: %v", fmt.Errorf("mklink link(%q) target(%q) error: %q", linkPath, test.symlinkTarget, err))
    				}
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  5. src/os/example_test.go

    	dst, err := os.Readlink(linkPath)
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Printf("%s links to %s\n", filepath.Base(linkPath), dst)
    
    	var dstAbs string
    	if filepath.IsAbs(dst) {
    		dstAbs = dst
    	} else {
    		// Symlink targets are relative to the directory containing the link.
    		dstAbs = filepath.Join(filepath.Dir(linkPath), dst)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/GradleConfigurabilityIntegrationSpec.groovy

            def javaLink = file("javaLink")
            javaLink.createLink(javaHome)
            file("tmp").createDir().deleteDir()
    
            String linkPath = TextUtil.escapeString(javaLink.absolutePath)
            file("gradle.properties") << "org.gradle.java.home=$linkPath"
    
            when:
            buildSucceeds "println 'java home =' + providers.systemProperty('java.home').get()"
    
            then:
            javaLink != javaHome
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/mips64/galign.go

    package mips64
    
    import (
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/ssagen"
    	"cmd/internal/obj/mips"
    	"internal/buildcfg"
    )
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &mips.Linkmips64
    	if buildcfg.GOARCH == "mips64le" {
    		arch.LinkArch = &mips.Linkmips64le
    	}
    	arch.REGSP = mips.REGSP
    	arch.MAXWIDTH = 1 << 50
    	arch.SoftFloat = buildcfg.GOMIPS64 == "softfloat"
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 718 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/arch.go

    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    )
    
    var Arch ArchInfo
    
    // interface to back end
    
    type ArchInfo struct {
    	LinkArch *obj.LinkArch
    
    	REGSP     int
    	MAXWIDTH  int64
    	SoftFloat bool
    
    	PadFrame func(int64) int64
    
    	// ZeroRange zeroes a range of memory on stack. It is only inserted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/loong64/galign.go

    // license that can be found in the LICENSE file.
    
    package loong64
    
    import (
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/ssagen"
    	"cmd/internal/obj/loong64"
    )
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &loong64.Linkloong64
    	arch.REGSP = loong64.REGSP
    	arch.MAXWIDTH = 1 << 50
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = func(s *ssagen.State, b *ssa.Block) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:16 UTC 2023
    - 649 bytes
    - Viewed (0)
Back to top