Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for linkpatch (0.23 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/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)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssa/export_test.go

    func init() {
    	// TODO(mdempsky): Push into types.InitUniverse or typecheck.InitUniverse.
    	types.PtrSize = 8
    	types.RegSize = 8
    	types.MaxWidth = 1 << 50
    
    	base.Ctxt = &obj.Link{Arch: &obj.LinkArch{Arch: &sys.Arch{Alignment: 1, CanMergeLoads: true}}}
    	typecheck.InitUniverse()
    	testTypes.SetTypPtrs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/asm/main.go

    	architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink)
    	if architecture == nil {
    		log.Fatalf("unrecognized architecture %s", GOARCH)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Debugasm = flags.PrintOut
    	ctxt.Debugvlog = flags.DebugV
    	ctxt.Flag_dynlink = *flags.Dynlink
    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/objfile_test.go

    package obj
    
    import (
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"testing"
    	"unsafe"
    
    	"cmd/internal/goobj"
    	"cmd/internal/sys"
    )
    
    var dummyArch = LinkArch{Arch: sys.ArchAMD64}
    
    func TestContentHash64(t *testing.T) {
    	s1 := &LSym{P: []byte("A")}
    	s2 := &LSym{P: []byte("A\x00\x00\x00")}
    	s1.Set(AttrContentAddressable, true)
    	s2.Set(AttrContentAddressable, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:30 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top