Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,875 for ctxt (0.05 sec)

  1. src/cmd/internal/obj/x86/seh.go

    	"encoding/base64"
    	"fmt"
    	"math"
    )
    
    type sehbuf struct {
    	ctxt *obj.Link
    	data []byte
    	off  int
    }
    
    func newsehbuf(ctxt *obj.Link, nodes uint8) sehbuf {
    	// - 8 bytes for the header
    	// - 2 bytes for each node
    	// - 2 bytes in case nodes is not even
    	size := 8 + nodes*2
    	if nodes%2 != 0 {
    		size += 2
    	}
    	return sehbuf{ctxt, make([]byte, size), 0}
    }
    
    func (b *sehbuf) write8(v uint8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/obj.go

    	wantFloatReg(ctxt, ins, "rs2", ins.rs2)
    	wantFloatReg(ctxt, ins, "rs3", ins.rs3)
    }
    
    func validateRFFI(ctxt *obj.Link, ins *instruction) {
    	wantIntReg(ctxt, ins, "rd", ins.rd)
    	wantFloatReg(ctxt, ins, "rs1", ins.rs1)
    	wantFloatReg(ctxt, ins, "rs2", ins.rs2)
    	wantNoneReg(ctxt, ins, "rs3", ins.rs3)
    }
    
    func validateRFI(ctxt *obj.Link, ins *instruction) {
    	wantIntReg(ctxt, ins, "rd", ins.rd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. cmd/common-main.go

    		}
    		ctxt.MemLimit = mlimit
    	} else {
    		ctxt.MemLimit = memAvailable
    	}
    
    	if memAvailable < ctxt.MemLimit {
    		ctxt.MemLimit = memAvailable
    	}
    
    	ctxt.FTP = ctx.StringSlice("ftp")
    	ctxt.SFTP = ctx.StringSlice("sftp")
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/context_test.go

    	if got := ctxt.lookup("", unaryP, []Type{Typ[Int]}); got != nil {
    		t.Error("bad")
    	}
    
    	// nullaryQ is identical to nullaryP, so we *should* get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", nullaryQ, []Type{Typ[Int]}); got != inst {
    		t.Error("bad")
    	}
    
    	// ...but verify we don't get inst with different type arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 17 04:32:02 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. src/runtime/sys_loong64.go

    //go:build loong64
    
    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    	buf.lr = buf.pc
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 20 15:12:31 UTC 2022
    - 489 bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/sym.go

    	AtExit(func() {
    		if nerrors > 0 {
    			ctxt.Out.ErrorClose()
    			mayberemoveoutfile()
    		}
    	})
    
    	return ctxt
    }
    
    // computeTLSOffset records the thread-local storage offset.
    // Not used for Android where the TLS offset is determined at runtime.
    func (ctxt *Link) computeTLSOffset() {
    	switch ctxt.HeadType {
    	default:
    		log.Fatalf("unknown thread-local storage offset for %v", ctxt.HeadType)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:28:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/build.go

    		allTags[name] = true
    	}
    
    	// special tags
    	if ctxt.CgoEnabled && name == "cgo" {
    		return true
    	}
    	if name == ctxt.GOOS || name == ctxt.GOARCH || name == ctxt.Compiler {
    		return true
    	}
    	if ctxt.GOOS == "android" && name == "linux" {
    		return true
    	}
    	if ctxt.GOOS == "illumos" && name == "solaris" {
    		return true
    	}
    	if ctxt.GOOS == "ios" && name == "darwin" {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/cfg/cfg.go

    		if ctxt.CgoEnabled {
    			if os.Getenv("CC") == "" {
    				cc := DefaultCC(ctxt.GOOS, ctxt.GOARCH)
    				if _, err := LookPath(cc); err != nil {
    					defaultCgoEnabled = false
    				}
    			}
    		}
    	}
    	ctxt.CgoEnabled = defaultCgoEnabled
    	if v := Getenv("CGO_ENABLED"); v == "0" || v == "1" {
    		ctxt.CgoEnabled = v[0] == '1'
    	}
    	CGOChanged = ctxt.CgoEnabled != defaultCgoEnabled
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/go/types/typestring.go

    	return &typeWriter{buf, make(map[Type]bool), qf, nil, nil, true, false, false}
    }
    
    func newTypeHasher(buf *bytes.Buffer, ctxt *Context) *typeWriter {
    	assert(ctxt != nil)
    	return &typeWriter{buf, make(map[Type]bool), nil, ctxt, nil, false, false, false}
    }
    
    func (w *typeWriter) byte(b byte) {
    	if w.ctxt != nil {
    		if b == ' ' {
    			b = '#'
    		}
    		w.buf.WriteByte(b)
    		return
    	}
    	w.buf.WriteByte(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/runtime/sys_riscv64.go

    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    	buf.lr = buf.pc
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jan 19 14:04:09 UTC 2020
    - 469 bytes
    - Viewed (0)
Back to top