- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 603 for rewrites (0.25 sec)
-
src/cmd/go/internal/modfetch/coderepo.go
// If these are relaxed, isOriginTag will need to be relaxed as well. if v == "" || v != semver.Canonical(v) { // Ignore non-canonical tags: Stat rewrites those to canonical // pseudo-versions. Note that we compare against semver.Canonical here // instead of module.CanonicalVersion: revToRev strips "+incompatible"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 38.4K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
// // reportCmd formats the output as "# desc" followed by the given output. The // output is expected to contain references to 'dir', usually the source // directory for the package that has failed to build. reportCmd rewrites // mentions of dir with a relative path to dir when the relative path is // shorter. This is usually more pleasant. For example, if fmt doesn't compile // and we are in src/html, the output is // // $ go build
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/vcs.go
extra := []string{} if subdir != "" && !strings.ContainsAny(subdir, "*?[],") { extra = []string{"--include", subdir} } // Note that vcsRepo.ReadZip below rewrites this command // to run in a different directory, to work around a fossil bug. return str.StringList("fossil", "zip", "-R", ".fossil", "--name", "prefix", extra, "--", rev, target) }, }, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 17.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
DenseIntElementsAttr val = DenseIntElementsAttr::get(const_type, 1); auto const_op = builder.create<TF::ConstOp>(loc, val); auto const_island = CreateIsland(const_op, {}, builder); return const_island; } // Rewrites the while op with extra chaining operands and results. Uses a // dummy constant of requested type as argument to all the new chaining // operands. TF::WhileOp RewriteWhileOp(TF::WhileOp while_op, int num_resource_inputs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/link.go
var out []Inline // allocated lazily when we first change list for i, x := range list { switch x := x.(type) { case *Plain: if rewrite := p.autoLinkPlain(x.Text); rewrite != nil { if out == nil { out = append(out, list[:i]...) } out = append(out, rewrite...) continue } case *Strong: x.Inner = p.autoLinkText(x.Inner) case *Del: x.Inner = p.autoLinkText(x.Inner)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 20.7K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm_test.go
// A few interesting test cases for long conditional branch fixups tests := []struct { jmpinsn string backpattern []string fwdpattern []string }{ // Test the interesting cases of conditional branch rewrites for too-far targets. Simple conditional // branches can be made to reach with one JMP insertion, compound conditionals require two. // // beq <-> bne conversion (insert one jump) {"BEQ", []string{``,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 22:14:57 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode.go
} d.markableMethods = append(d.markableMethods, methods...) } } } // mapinitcleanup walks all pkg init functions and looks for weak relocations // to mapinit symbols that are no longer reachable. It rewrites // the relocs to target a new no-op routine in the runtime. func (d *deadcodePass) mapinitcleanup() { for _, idx := range d.pkginits { relocs := d.ldr.Relocs(idx) var su *loader.SymbolBuilder
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0) -
src/net/textproto/reader.go
// with a dot are escaped with an additional dot to avoid // looking like the end of the sequence. // // The decoded form returned by the Reader's Read method // rewrites the "\r\n" line endings into the simpler "\n", // removes leading dot escapes if present, and stops with error [io.EOF] // after consuming (and discarding) the end-of-sequence line. func (r *Reader) DotReader() io.Reader {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 22.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
y := mk.Len if !ir.IsConst(y, constant.Int) && y.Type().Size() > types.Types[types.TUINT].Size() { return false } return true } // extendSlice rewrites append(l1, make([]T, l2)...) to // // init { // if l2 >= 0 { // Empty if block here for more meaningful node.SetLikely(true) // } else { // panicmakeslicelen() // } // s := l1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
test/prove.go
// So, instead, opt rewrites the division with a less-than-optimal replacement. // Prove, which can see that n is nonnegative, cannot see the division because // opt, an earlier pass, has already replaced it. // The fix for this issue allows prove to zero a right shift that was added as // part of the less-than-optimal reqwrite. That change by prove then allows
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 00:02:36 UTC 2024 - 21.2K bytes - Viewed (0)