- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 213 for prog2 (0.06 sec)
-
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/covdata/tool_test.go
} } // Run instrumented program to generate some coverage data output files, // as follows: // // <tmp>/covdata0 -- prog1.go compiled -cover // <tmp>/covdata1 -- prog1.go compiled -cover // <tmp>/covdata2 -- prog1.go compiled -covermode=atomic // <tmp>/covdata3 -- prog1.go compiled -covermode=atomic // for m := 0; m < 2; m++ { for k := 0; k < 2; k++ { args := []string{} if k != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
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) -
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) -
src/cmd/go/internal/cache/prog.go
} args, err := quoted.Split(progAndArgs) if err != nil { base.Fatalf("GOCACHEPROG args: %v", err) } var prog string if len(args) > 0 { prog = args[0] args = args[1:] } ctx, ctxCancel := context.WithCancel(context.Background()) cmd := exec.CommandContext(ctx, prog, args...) out, err := cmd.StdoutPipe() if err != nil { base.Fatalf("StdoutPipe to GOCACHEPROG: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 19:23:25 UTC 2023 - 11.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
name string args []string prog string wantSecsRO []string wantSecsROIfPresent []string mustHaveBuildModePIE bool mustHaveCGO bool mustInternalLink bool wantDfBindNow bool wantDf1Now bool wantDf1Pie bool }{ {name: "default", prog: prog}, { name: "pie-linkmode-internal",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
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) -
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) -
src/cmd/internal/obj/plist.go
import ( "cmd/internal/objabi" "cmd/internal/src" "fmt" "internal/abi" "strings" ) type Plist struct { Firstpc *Prog Curfn Func } // ProgAlloc is a function that allocates Progs. // It is used to provide access to cached/bulk-allocated Progs to the assemblers. type ProgAlloc func() *Prog func Flushplist(ctxt *Link, plist *Plist, newprog ProgAlloc) { if ctxt.Pkgpath == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 11.5K bytes - Viewed (0) -
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)