Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for progx (0.04 sec)

  1. src/regexp/syntax/prog.go

    package syntax
    
    import (
    	"strconv"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Compiled program.
    // May not belong in this package, but convenient for now.
    
    // A Prog is a compiled regular expression program.
    type Prog struct {
    	Inst   []Inst
    	Start  int // index of start instruction
    	NumCap int // number of InstCapture insts in re
    }
    
    // An InstOp is an instruction opcode.
    type InstOp uint8
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/cmd/covdata/testdata/prog2.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"os"
    	"prog/dep"
    )
    
    //go:noinline
    func fifth() {
    	println("hubba")
    }
    
    //go:noinline
    func sixth() {
    	println("wha?")
    }
    
    func main() {
    	println(dep.Dep1())
    	if len(os.Args) > 1 {
    		fifth()
    	} else {
    		sixth()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:47:16 UTC 2022
    - 396 bytes
    - Viewed (0)
  3. src/cmd/covdata/testdata/prog1.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"os"
    	"prog/dep"
    )
    
    //go:noinline
    func first() {
    	println("whee")
    }
    
    //go:noinline
    func second() {
    	println("oy")
    }
    
    //go:noinline
    func third(x int) int {
    	if x != 0 {
    		return 42
    	}
    	println("blarg")
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:47:16 UTC 2022
    - 616 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/arch.go

    	ZeroRange func(*objw.Progs, *obj.Prog, int64, int64, *uint32) *obj.Prog
    
    	Ginsnop func(*objw.Progs) *obj.Prog
    
    	// SSAMarkMoves marks any MOVXconst ops that need to avoid clobbering flags.
    	SSAMarkMoves func(*State, *ssa.Block)
    
    	// SSAGenValue emits Prog(s) for the Value.
    	SSAGenValue func(*State, *ssa.Value)
    
    	// SSAGenBlock emits end-of-block Progs. SSAGenValue should be called
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/x86/ggen.go

    package x86
    
    import (
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/x86"
    )
    
    func zerorange(pp *objw.Progs, p *obj.Prog, off, cnt int64, ax *uint32) *obj.Prog {
    	if cnt == 0 {
    		return p
    	}
    	if *ax == 0 {
    		p = pp.Append(p, x86.AMOVL, obj.TYPE_CONST, 0, 0, obj.TYPE_REG, x86.REG_AX, 0)
    		*ax = 1
    	}
    
    	if cnt <= int64(4*types.RegSize) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:38:47 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/s390x/ggen.go

    // multiple instructions (i.e. loop unrolling).
    // Must be between 256 and 4096.
    const clearLoopCutoff = 1024
    
    // zerorange clears the stack in the given range.
    func zerorange(pp *objw.Progs, p *obj.Prog, off, cnt int64, _ *uint32) *obj.Prog {
    	if cnt == 0 {
    		return p
    	}
    
    	// Adjust the frame to account for LR.
    	off += base.Ctxt.Arch.FixedFrameSize
    	reg := int16(s390x.REGSP)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/internal/objfile/elf.go

    			break
    		}
    	}
    	if addr == 0 || eaddr < addr {
    		return nil
    	}
    	size := eaddr - addr
    	data := make([]byte, size)
    	for _, prog := range f.elf.Progs {
    		if prog.Vaddr <= addr && addr+size-1 <= prog.Vaddr+prog.Filesz-1 {
    			if _, err := prog.ReadAt(data, int64(addr-prog.Vaddr)); err != nil {
    				return nil
    			}
    			return data
    		}
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 20:44:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/riscv64/ggen.go

    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/riscv"
    )
    
    func zeroRange(pp *objw.Progs, p *obj.Prog, off, cnt int64, _ *uint32) *obj.Prog {
    	if cnt == 0 {
    		return p
    	}
    
    	// Adjust the frame to account for LR.
    	off += base.Ctxt.Arch.FixedFrameSize
    
    	if cnt < int64(4*types.PtrSize) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. test/interface/private.dir/prog.go

    Rémy Oudompheng <******@****.***> 1349901327 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 10 20:35:27 UTC 2012
    - 608 bytes
    - Viewed (0)
  10. test/fixedbugs/bug324.dir/prog.go

    Rémy Oudompheng <******@****.***> 1349627825 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 07 16:37:05 UTC 2012
    - 1.2K bytes
    - Viewed (0)
Back to top