Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for prag (0.21 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    func (p *parser) takePragma() Pragma {
    	prag := p.pragma
    	p.pragma = nil
    	return prag
    }
    
    // clearPragma is called at the end of a statement or
    // other Go form that does NOT accept a pragma.
    // It sends the pragma back to the pragma handler
    // to be reported as unused.
    func (p *parser) clearPragma() {
    	if p.pragma != nil {
    		p.pragh(p.pos(), p.scanner.blank, "", p.pragma)
    		p.pragma = nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ppc64/ssa.go

    		p.To.Type = obj.TYPE_CONST
    		p.To.Offset = -1
    
    		pbahead := s.Prog(ppc64.ABEQ)
    		pbahead.To.Type = obj.TYPE_BRANCH
    
    		p = s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = r1
    		p.Reg = r0
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = r
    
    		pbover := s.Prog(obj.AJMP)
    		pbover.To.Type = obj.TYPE_BRANCH
    
    		p = s.Prog(ppc64.ANEG)
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    		off := n - nbits // n > nbits because n > maxBits and nbits <= 7
    		// Leading src fragment.
    		src = subtractb(src, (off+7)/8)
    		if frag := off & 7; frag != 0 {
    			bits |= uintptr(*src) >> (8 - frag) << nbits
    			src = add1(src)
    			nbits += frag
    			c -= frag
    		}
    		// Main loop: load one byte, write another.
    		// The bits are rotating through the bit buffer.
    		for i := c / 8; i > 0; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. src/reflect/type.go

    				prog = appendVarint(prog, elemWords-elemPtrs-1)
    			}
    		}
    		// Repeat length-1 times.
    		if elemWords < 0x80 {
    			prog = append(prog, byte(elemWords|0x80))
    		} else {
    			prog = append(prog, 0x80)
    			prog = appendVarint(prog, elemWords)
    		}
    		prog = appendVarint(prog, uintptr(length)-1)
    		prog = append(prog, 0)
    		*(*uint32)(unsafe.Pointer(&prog[0])) = uint32(len(prog) - 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/net/url/url_test.go

    	{"http:opaque?x=y#zzz", "https:/foo?a=b#frag", "https:/foo?a=b#frag"},
    	{"http:opaque?x=y#zzz", "https:foo:bar", "https:foo:bar"},
    	{"http:opaque?x=y#zzz", "https:bar/baz?a=b#frag", "https:bar/baz?a=b#frag"},
    	{"http:opaque?x=y#zzz", "https://user@host:1234?a=b#frag", "https://user@host:1234?a=b#frag"},
    	{"http:opaque?x=y#zzz", "?a=b#frag", "http:opaque?a=b#frag"},
    }
    
    func TestResolveReference(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/elf.go

    // but buggy ELF loaders like the one in some
    // versions of QEMU and UPX won't.
    func fixElfPhdr(e *ElfPhdr) {
    	frag := int(e.Vaddr & (e.Align - 1))
    
    	e.Off -= uint64(frag)
    	e.Vaddr -= uint64(frag)
    	e.Paddr -= uint64(frag)
    	e.Filesz += uint64(frag)
    	e.Memsz += uint64(frag)
    }
    
    func elf64phdr(out *OutBuf, e *ElfPhdr) {
    	if e.Type == elf.PT_LOAD {
    		fixElfPhdr(e)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/mips/asm0.go

    func (c *ctxt0) isUnsafePoint(p *obj.Prog) bool {
    	// If p explicitly uses REGTMP, it's unsafe to preempt, because the
    	// preemption sequence clobbers REGTMP.
    	return p.From.Reg == REGTMP || p.To.Reg == REGTMP || p.Reg == REGTMP
    }
    
    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    func (c *ctxt0) isRestartable(p *obj.Prog) bool {
    	if c.isUnsafePoint(p) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/loong64/asm.go

    func (c *ctxt0) isUnsafePoint(p *obj.Prog) bool {
    	// If p explicitly uses REGTMP, it's unsafe to preempt, because the
    	// preemption sequence clobbers REGTMP.
    	return p.From.Reg == REGTMP || p.To.Reg == REGTMP || p.Reg == REGTMP
    }
    
    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    func (c *ctxt0) isRestartable(p *obj.Prog) bool {
    	if c.isUnsafePoint(p) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    	hasGoroot := false
    	for _, v := range tg.env {
    		if strings.HasPrefix(v, "GOROOT=") {
    			hasGoroot = true
    			break
    		}
    	}
    	prog := tg.goTool()
    	if !hasGoroot {
    		tg.setenv("GOROOT", testGOROOT)
    	}
    
    	tg.t.Logf("running testgo %v", args)
    	cmd := testenv.Command(tg.t, prog, args...)
    	tg.stdout.Reset()
    	tg.stderr.Reset()
    	cmd.Dir = tg.execDir
    	cmd.Stdout = &tg.stdout
    	cmd.Stderr = &tg.stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/lib.go

    		}
    	}
    
    	uuidUpdated := false
    	if combineDwarf {
    		// Find "dsymutils" and "strip" tools using CC --print-prog-name.
    		var cc []string
    		cc = append(cc, ctxt.extld()...)
    		cc = append(cc, hostlinkArchArgs(ctxt.Arch)...)
    		cc = append(cc, "--print-prog-name", "dsymutil")
    		out, err := exec.Command(cc[0], cc[1:]...).CombinedOutput()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top