Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,875 for ctxt (0.15 sec)

  1. src/cmd/compile/internal/types2/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.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/asm7.go

    			return 8
    		}
    	}
    	return int(o.size_)
    }
    
    func span7(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if ctxt.Retpoline {
    		ctxt.Diag("-spectre=ret not supported on arm64")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	p := cursym.Func().Text
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  3. src/go/build/build_test.go

    }
    
    func TestMatchFile(t *testing.T) {
    	for _, tt := range matchFileTests {
    		ctxt := tt.ctxt
    		ctxt.OpenFile = func(path string) (r io.ReadCloser, err error) {
    			if path != "x+"+tt.name {
    				t.Fatalf("OpenFile asked for %q, expected %q", path, "x+"+tt.name)
    			}
    			return &readNopCloser{strings.NewReader(tt.data)}, nil
    		}
    		ctxt.JoinPath = func(elem ...string) string {
    			return strings.Join(elem, "+")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  4. src/go/types/instantiate.go

    	// recorded in expanding.inst.ctxt.
    	var ctxts []*Context
    	if expanding != nil {
    		ctxts = append(ctxts, expanding.inst.ctxt)
    	}
    	if ctxt != nil {
    		ctxts = append(ctxts, ctxt)
    	}
    	assert(len(ctxts) > 0)
    
    	// Compute all hashes; hashes may differ across contexts due to different
    	// unique IDs for Named types within the hasher.
    	hashes := make([]string, len(ctxts))
    	for i, ctxt := range ctxts {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. src/reflect/asm_riscv64.s

    	NO_LOCAL_POINTERS
    	ADD	$LOCAL_REGARGS, SP, X25 // spillArgs using X25
    	CALL	runtime·spillArgs(SB)
    	MOV	CTXT, 32(SP) // save CTXT > args of moveMakeFuncArgPtrs < LOCAL_REGARGS
    	MOV	CTXT, 8(SP)
    	MOV	X25, 16(SP)
    	CALL	·moveMakeFuncArgPtrs(SB)
    	MOV	32(SP), CTXT // restore CTXT
    
    	MOV	CTXT, 8(SP)
    	MOV	$argframe+0(FP), T0
    	MOV	T0, 16(SP)
    	MOV	ZERO, LOCAL_RETVALID(SP)
    	ADD	$LOCAL_RETVALID, SP, T1
    	MOV	T1, 24(SP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 01:41:42 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/link.go

    	file       string
    	pkg        string
    	directives [][]string
    }
    
    func (ctxt *Link) Logf(format string, args ...interface{}) {
    	fmt.Fprintf(ctxt.Bso, format, args...)
    	ctxt.Bso.Flush()
    }
    
    func addImports(ctxt *Link, l *sym.Library, pn string) {
    	pkg := objabi.PathToPrefix(l.Pkg)
    	for _, imp := range l.Autolib {
    		lib := addlib(ctxt, pkg, pn, imp.Pkg, imp.Fingerprint)
    		if lib != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loong64/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	case objabi.Hlinux: /* loong64 elf */
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 13:49:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/runtime/cgo/gcc_context.c

    //go:build unix || windows
    
    #include "libcgo.h"
    
    // Releases the cgo traceback context.
    void _cgo_release_context(uintptr_t ctxt) {
    	void (*pfn)(struct context_arg*);
    
    	pfn = _cgo_get_context_function();
    	if (ctxt != 0 && pfn != nil) {
    		struct context_arg arg;
    
    		arg.Context = ctxt;
    		(*pfn)(&arg);
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 466 bytes
    - Viewed (0)
  9. src/cmd/internal/obj/mips/obj0.go

    				c.cursym.Func().FuncFlag |= abi.FuncFlagSPWrite
    				if ctxt.Debugvlog || !ctxt.IsAsm {
    					ctxt.Logf("auto-SPWRITE: %s %v\n", c.cursym.Name, p)
    					if !ctxt.IsAsm {
    						ctxt.Diag("invalid auto-SPWRITE in non-assembly")
    						ctxt.DiagFlush()
    						log.Fatalf("bad SPWRITE")
    					}
    				}
    			}
    		}
    	}
    
    	if c.ctxt.Arch.Family == sys.MIPS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/riscv64/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	case objabi.Hlinux, objabi.Hfreebsd, objabi.Hopenbsd:
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 17:46:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top