Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,482 for qtext (0.07 sec)

  1. src/cmd/internal/objfile/goobj.go

    		if b&0x80 == 0 {
    			break
    		}
    	}
    	*p = s
    	return v
    }
    
    // We treat the whole object file as the text section.
    func (f *goobjFile) text() (textStart uint64, text []byte, err error) {
    	text = make([]byte, f.goobj.Size)
    	_, err = f.f.ReadAt(text, int64(f.goobj.Offset))
    	return
    }
    
    func (f *goobjFile) goarch() string {
    	return f.goobj.Arch
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loadpe/ldpe.go

    		case pe.IMAGE_SCN_CNT_INITIALIZED_DATA | pe.IMAGE_SCN_MEM_READ | pe.IMAGE_SCN_MEM_WRITE: //.data
    			bld.SetType(sym.SNOPTRDATA)
    
    		case pe.IMAGE_SCN_CNT_CODE | pe.IMAGE_SCN_MEM_EXECUTE | pe.IMAGE_SCN_MEM_READ: //.text
    			bld.SetType(sym.STEXT)
    
    		default:
    			return nil, fmt.Errorf("unexpected flags %#06x for PE section %s", sect.Characteristics, sect.Name)
    		}
    
    		if bld.Type() != sym.SNOPTRBSS {
    			data, err := sect.Data()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/obj7.go

    	/*
    	 * find leaf subroutines
    	 */
    	for p := c.cursym.Func().Text; p != nil; p = p.Link {
    		switch p.As {
    		case obj.ATEXT:
    			p.Mark |= LEAF
    
    		case ABL,
    			obj.ADUFFZERO,
    			obj.ADUFFCOPY:
    			c.cursym.Func().Text.Mark &^= LEAF
    		}
    	}
    
    	var q *obj.Prog
    	var q1 *obj.Prog
    	var retjmp *obj.LSym
    	for p := c.cursym.Func().Text; p != nil; p = p.Link {
    		o := p.As
    		switch o {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/riscv64/asm.go

    		// Find the text symbol for the AUIPC instruction targeted
    		// by this relocation.
    		relocs := ldr.Relocs(s)
    		offset := int64(relocs.At(ri).Off())
    		hi20Sym := findHI20Symbol(ctxt, ldr, ldr.SymValue(s)+offset)
    		if hi20Sym == 0 {
    			ld.Errorf(nil, "failed to find text symbol for HI20 relocation at %d (%x)", sectoff, ldr.SymValue(s)+offset)
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/html/template/transition.go

    	stateCSSBlockCmt:    tBlockCmt,
    	stateCSSLineCmt:     tLineCmt,
    	stateError:          tError,
    }
    
    var commentStart = []byte("<!--")
    var commentEnd = []byte("-->")
    
    // tText is the context transition function for the text state.
    func tText(c context, s []byte) (context, int) {
    	k := 0
    	for {
    		i := k + bytes.IndexByte(s[k:], '<')
    		if i < k || i+1 == len(s) {
    			return c, len(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/mips/obj0.go

    			}
    
    			if autosize == 0 && c.cursym.Func().Text.Mark&LEAF == 0 {
    				if c.cursym.Func().Text.From.Sym.NoSplit() {
    					if ctxt.Debugvlog {
    						ctxt.Logf("save suppressed in: %s\n", c.cursym.Name)
    					}
    
    					c.cursym.Func().Text.Mark |= LEAF
    				}
    			}
    
    			p.To.Offset = int64(autosize) - ctxt.Arch.FixedFrameSize
    
    			if c.cursym.Func().Text.Mark&LEAF != 0 {
    				c.cursym.Set(obj.AttrLeaf, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    		delete(hexByLine, p.Line())
    		if text == nil {
    			t.Errorf("%s: instruction outside TEXT", p)
    		}
    		size := int64(len(text.P)) - p.Pc
    		if p.Link != nil {
    			size = p.Link.Pc - p.Pc
    		} else if p.Isize != 0 {
    			size = int64(p.Isize)
    		}
    		var code []byte
    		if p.Pc < int64(len(text.P)) {
    			code = text.P[p.Pc:]
    			if size < int64(len(code)) {
    				code = code[:size]
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/obj9.go

    	// TODO(minux): add morestack short-cuts with small fixed frame-size.
    	if cursym.Func().Text == nil || cursym.Func().Text.Link == nil {
    		return
    	}
    
    	c := ctxt9{ctxt: ctxt, cursym: cursym, newprog: newprog}
    
    	p := c.cursym.Func().Text
    	textstksiz := p.To.Offset
    	if textstksiz == -8 {
    		// Compatibility hack.
    		p.From.Sym.Set(obj.AttrNoFrame, true)
    		textstksiz = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  9. src/cmd/nm/nm_test.go

    		}
    		f := strings.Split(line, "=")
    		if len(f) != 2 {
    			t.Fatalf("unexpected output line: %q", line)
    		}
    		names["main."+f[0]] = f[1]
    	}
    
    	runtimeSyms := map[string]string{
    		"runtime.text":      "T",
    		"runtime.etext":     "T",
    		"runtime.rodata":    "R",
    		"runtime.erodata":   "R",
    		"runtime.epclntab":  "R",
    		"runtime.noptrdata": "D",
    	}
    
    	if runtime.GOOS == "aix" && iscgo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/debug/gosym/symtab.go

    				} else {
    					if depth == 0 {
    						t.Files[s.Name] = obj
    					}
    					depth++
    				}
    			}
    
    		case 'T', 't', 'L', 'l': // text symbol
    			if n := len(t.Funcs); n > 0 {
    				t.Funcs[n-1].End = sym.Value
    			}
    			if sym.Name == "runtime.etext" || sym.Name == "etext" {
    				continue
    			}
    
    			// Count parameter and local (auto) syms
    			var np, na int
    			var end int
    		countloop:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top