- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 185 for Prog (0.05 sec)
-
src/cmd/compile/internal/riscv64/ggen.go
"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) -
test/fixedbugs/issue21576.go
"path/filepath" "time" ) const prog = ` package main import _ "os/signal" func main() { c := make(chan int) c <- 1 } ` func main() { dir, err := ioutil.TempDir("", "21576") if err != nil { log.Fatal(err) } defer os.RemoveAll(dir) file := filepath.Join(dir, "main.go") if err := ioutil.WriteFile(file, []byte(prog), 0655); err != nil { log.Fatalf("Write error %v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/pack/pack_test.go
testenv.MustHaveGoBuild(t) testenv.MustInternalLink(t, false) dir := t.TempDir() hello := filepath.Join(dir, "hello.go") prog := ` package main func main() { println("hello world") } ` err := os.WriteFile(hello, []byte(prog), 0666) if err != nil { t.Fatal(err) } run := func(args ...string) string { return doRun(t, dir, args...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 16:27:35 UTC 2023 - 12.5K bytes - Viewed (0) -
src/time/genzabbrs.go
zs, } var buf bytes.Buffer err = template.Must(template.New("prog").Parse(prog)).Execute(&buf, v) if err != nil { log.Fatal(err) } data, err := format.Source(buf.Bytes()) if err != nil { log.Fatal(err) } err = os.WriteFile(*filename, data, 0644) if err != nil { log.Fatal(err) } } const prog = ` // Copyright 2013 The Go Authors. All rights reserved.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
src/cmd/internal/obj/loong64/obj.go
case ARET: if p.Link != nil { p.Link.Mark |= LABEL } } } var mov, add obj.As add = AADDV mov = AMOVV var q *obj.Prog var q1 *obj.Prog autosize := int32(0) var p1 *obj.Prog var p2 *obj.Prog for p := c.cursym.Func().Text; p != nil; p = p.Link { o := p.As switch o { case obj.ATEXT: autosize = int32(textstksiz)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:22:18 UTC 2023 - 19.7K bytes - Viewed (0) -
test/fixedbugs/issue46234.go
// Ensure that runtime traceback does not infinite loop for // the testcase below. package main import ( "bytes" "io/ioutil" "log" "os" "os/exec" "path/filepath" ) const prog = ` package main import "context" var gpi *int type nAO struct { eE bool } type NAO func(*nAO) func WEA() NAO { return func(o *nAO) { o.eE = true } } type R struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.7K bytes - Viewed (0) -
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) -
src/cmd/internal/obj/go.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 21:05:03 UTC 2017 - 342 bytes - Viewed (0) -
src/regexp/regexp.go
capNames := re.CapNames() re = re.Simplify() prog, err := syntax.Compile(re) if err != nil { return nil, err } matchcap := prog.NumCap if matchcap < 2 { matchcap = 2 } regexp := &Regexp{ expr: expr, prog: prog, onepass: compileOnePass(prog), numSubexp: maxCap, subexpNames: capNames, cond: prog.StartCond(), longest: longest,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:50:01 UTC 2024 - 38.5K bytes - Viewed (0) -
src/cmd/internal/obj/pass.go
package obj // Code and data passes. // brloop returns the ultimate destination of the series of unconditional jumps beginning at p. // In the case of an infinite loop, brloop returns nil. func brloop(p *Prog) *Prog { c := 0 for q := p; q != nil; q = q.To.Target() { if q.As != AJMP || q.To.Target() == nil { return q } c++ if c >= 5000 { // infinite loop return nil } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 01:26:58 UTC 2023 - 5K bytes - Viewed (0)