- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for workers (0.15 sec)
-
src/cmd/compile/internal/ssagen/pgen.go
// Compile builds an SSA backend function, // uses it to generate a plist, // and flushes that plist to machine code. // worker indicates which of the backend workers is doing the processing. func Compile(fn *ir.Func, worker int, profile *pgoir.Profile) { f := buildssa(fn, worker, inline.IsPgoHotFunc(fn, profile) || inline.HasPgoHotInline(fn)) // Note: check arg size to fix issue 25507.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug_lines_test.go
} return false } func unixOnly(t *testing.T) { if runtime.GOOS != "linux" && runtime.GOOS != "darwin" { // in particular, it could be windows. t.Skip("this test depends on creating a file with a wonky name, only works for sure on Linux and Darwin") } } // testDebugLinesDefault removes the first wanted statement on architectures that are not (yet) register ABI.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:24:52 UTC 2023 - 8.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
{"flagalloc", "regalloc"}, // loopRotate will confuse regalloc. {"regalloc", "loop rotate"}, // trim needs regalloc to be done first. {"regalloc", "trim"}, // memcombine works better if fuse happens first, to help merge stores. {"late fuse", "memcombine"}, // memcombine is a arch-independent pass. {"memcombine", "lower"}, } func init() { for _, c := range passOrder {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
src/bytes/buffer_test.go
nr, nbytes, err := buf.ReadRune() if nr != r || nbytes != size || err != nil { t.Fatalf("ReadRune(%U) got %U,%d not %U,%d (err=%s)", r, nr, nbytes, r, size, err) } } // Check that UnreadRune works buf.Reset() // check at EOF if err := buf.UnreadRune(); err == nil { t.Fatal("UnreadRune at EOF: got no error") } if _, _, err := buf.ReadRune(); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:31:36 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/cshared_test.go
cmd.Dir = filepath.Join(tmpdir, "src", "testcshared") env := append(cmd.Environ(), "GOPATH="+tmpdir, "GOBIN="+filepath.Join(tmpdir, "bin"), "GO111MODULE=off", // 'go install' only works in GOPATH mode ) cmd.Env = env t.Log(buildcmd) out, err := cmd.CombinedOutput() t.Logf("%s", out) if err != nil { t.Fatal(err) } var libgoh, ph string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 21K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
result = true } // Add the second result type, if any. if twoResults { if name.FuncType.Result == nil { // An explicit void result looks odd but it // seems to be how cgo has worked historically. sb.WriteString("_Ctype_void") } sb.WriteString(", error)") } } sb.WriteString("{ ") // Define _cgoN for each argument value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
off = objw.Uvarint(x, off, uint64(-s.deferBitsTemp.FrameOffset())) off = objw.Uvarint(x, off, uint64(-firstOffset)) } // buildssa builds an SSA function for fn. // worker indicates which of the backend workers is doing the processing. func buildssa(fn *ir.Func, worker int, isPgoHot bool) *ssa.Func { name := ir.FuncName(fn) abiSelf := abiForFunc(fn, ssaConfig.ABI0, ssaConfig.ABI1) printssa := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
utils/tests/models.go
package tests import ( "database/sql" "time" "gorm.io/gorm" ) // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic) // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table) // He speaks many languages (many to many) and has many friends (many to many - single-table) // His pet also has one Toy (has one - polymorphic)
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Dec 15 08:36:08 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fmahash_test.go
// license that can be found in the LICENSE file. package ssa_test import ( "internal/testenv" "path/filepath" "regexp" "runtime" "testing" ) // TestFmaHash checks that the hash-test machinery works properly for a single case. // It also runs ssa/check and gccheck to be sure that those are checked at least a // little in each run.bash. It does not check or run the generated code.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 21:57:53 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/stackalloc.go
fmt.Printf("stackalloc OpArg %s to %s\n", v, loc) } f.setHome(v, loc) continue } // You might think this below would be the right idea, but you would be wrong. // It almost works; as of 105a6e9518 - 2021-04-23, // GOSSAHASH=11011011001011111 == cmd/compile/internal/noder.(*noder).embedded // is compiled incorrectly. I believe the cause is one of those SSA-to-registers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 21:29:41 UTC 2024 - 12.6K bytes - Viewed (0)