- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 69 for readCode (0.14 sec)
-
src/cmd/link/internal/ld/ld_test.go
} } // TestMemProfileCheck tests that cmd/link sets // runtime.disableMemoryProfiling if the runtime.MemProfile // symbol is unreachable after deadcode (and not dynlinking). // The runtime then uses that to set the default value of // runtime.MemProfileRate, which this test checks. func TestMemProfileCheck(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 05:45:53 UTC 2023 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc
// iff tpose(x) or tpose(y) has one use and have same permutation. // // Proof: // WLOG, let tpose(x) have 1 use. Then ewise is the only user, and removing // its use of tpose(x) will render tpose(x) deadcode. So in this case // we both remove 1 and add 1 transpose to the graph thus the number remains // unchanged. class CommuteBothInputsTransposedWithEwiseOps : public RewritePattern { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fuse.go
// the following optimization will do this. b.removeEdge(0) if s0 != b && len(s0.Preds) == 0 { s0.removeEdge(0) // Move any (dead) values in s0 to b, // where they will be eliminated by the next deadcode pass. for _, v := range s0.Values { v.Block = b } b.Values = append(b.Values, s0.Values...) // Clear s0. s0.Kind = BlockInvalid s0.Values = nil s0.Succs = nil s0.Preds = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 9K bytes - Viewed (0) -
src/net/http/serve_test.go
chunked bool expectation string // e.g. "100-continue" readBody bool // whether handler should read the body (if false, sends StatusUnauthorized) expectedResponse string // expected substring in first line of http response } func expectTest(contentLength int, expectation string, readBody bool, expectedResponse string) serverExpectTest { return serverExpectTest{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/cmd/link/internal/ld/go.go
nerrors++ return } // Mark exported symbols and also add them to // the lists used for roots in the deadcode pass. if f[0] == "cgo_export_static" { if ctxt.LinkMode == LinkExternal && !l.AttrCgoExportStatic(s) { // Static cgo exports appear // in the exported symbol table.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/internal/test2json/testdata/vet.json
{"Action":"pass","Test":"TestVet/1"} {"Action":"output","Test":"TestVet/7","Output":" --- PASS: TestVet/7 (0.19s)\n"} {"Action":"output","Test":"TestVet/7","Output":" vet_test.go:114: files: [\"testdata/deadcode.go\" \"testdata/shift.go\"]\n"} {"Action":"pass","Test":"TestVet/7"} {"Action":"pass","Test":"TestVet"} {"Action":"output","Test":"TestVetDirs","Output":"--- PASS: TestVetDirs (0.01s)\n"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 11.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/cse.go
package ssa import ( "cmd/compile/internal/types" "cmd/internal/src" "fmt" "sort" ) // cse does common-subexpression elimination on the Function. // Values are just relinked, nothing is deleted. A subsequent deadcode // pass is required to actually remove duplicate expressions. func cse(f *Func) { // Two values are equivalent if they satisfy the following definition: // equivalent(v, w): // v.op == w.op // v.type == w.type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 9.6K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
} func TestVet(t *testing.T) { t.Parallel() for _, pkg := range []string{ "appends", "asm", "assign", "atomic", "bool", "buildtag", "cgo", "composite", "copylock", "deadcode", "directive", "httpresponse", "lostcancel", "method", "nilfunc", "print", "shift", "slog", "structtag", "testingpkg", // "testtag" has its own test "unmarshal",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
for _, ln := range fn.Dcl { if ln.OpenDeferSlot() { // Open-coded defer slots have indices that were assigned // upfront during SSA construction, but the defer statement can // later get removed during deadcode elimination (#61895). To // keep their relative offsets correct, treat them all as used. continue } if needAlloc(ln) { ln.SetUsed(false) } } for _, l := range f.RegAlloc {
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/html.go
</style> <script type="text/javascript"> // Contains phase names which are expanded by default. Other columns are collapsed. let expandedDefault = [ "start", "deadcode", "opt", "lower", "late-deadcode", "regalloc", "genssa", ]; if (history.state === null) { history.pushState({expandedDefault}, "", location.href); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 15:11:40 UTC 2023 - 34.8K bytes - Viewed (0)