Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 146 for REWRITES (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

               "globally unique within a process, not just within a module.">
      ];
    }
    
    def ConvertLaunchFuncToTFCallPass : Pass<"tf-device-convert-launch-func-to-tf-call", "ModuleOp"> {
      let summary = "Rewrites tf_device::LaunchFuncOp to TF::PartitionedCallOp";
    
      let description = [{
        This pass converts tf_device::LaunchFuncOp into an equivalent
        TF::PartitionedCallOp so that it can be exported to TensorFlow GraphDef.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/shortcircuit.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    // shortcircuit finds situations where branch directions
    // are always correlated and rewrites the CFG to take
    // advantage of that fact.
    // This optimization is useful for compiling && and || expressions.
    func shortcircuit(f *Func) {
    	// Step 1: Replace a phi arg with a constant if that arg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 03 17:47:02 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/fix/fix.go

    	for i, imp := range f.Imports {
    		if imp == oldImport {
    			copy(f.Imports[i:], f.Imports[i+1:])
    			f.Imports = f.Imports[:len(f.Imports)-1]
    			break
    		}
    	}
    
    	return
    }
    
    // rewriteImport rewrites any import of path oldPath to path newPath.
    func rewriteImport(f *ast.File, oldPath, newPath string) (rewrote bool) {
    	for _, imp := range f.Imports {
    		if importPath(imp) == oldPath {
    			rewrote = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  4. src/runtime/select.go

    	}
    	casePC := func(casi int) uintptr {
    		if pcs == nil {
    			return 0
    		}
    		return pcs[casi]
    	}
    
    	var t0 int64
    	if blockprofilerate > 0 {
    		t0 = cputicks()
    	}
    
    	// The compiler rewrites selects that statically have
    	// only 0 or 1 cases plus default into simpler constructs.
    	// The only way we can end up with such small sel.ncase
    	// values here is for a larger select in which most channels
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/typecheck.go

    )
    
    // type checks the whole tree of an expression.
    // calculates expression types.
    // evaluates compile time constants.
    // marks variables that escape the local frame.
    // rewrites n.Op to be more specific in some cases.
    
    func typecheckslice(l []ir.Node, top int) {
    	for i := range l {
    		l[i] = typecheck(l[i], top)
    	}
    }
    
    var _typekind = []string{
    	types.TINT:        "int",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    	if r == '_' {
    		return "X" + s
    	}
    	return string(unicode.ToUpper(r)) + s[size:]
    }
    
    // godefsFields rewrites field names for use in Go or C definitions.
    // It strips leading common prefixes (like tv_ in tv_sec, tv_usec)
    // converts names to upper case, and rewrites _ into Pad_godefs_n,
    // so that all fields are exported.
    func godefsFields(fld []*ast.Field) {
    	prefix := fieldPrefix(fld)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The gen command generates Go code (in the parent directory) for all
    // the architecture-specific opcodes, blocks, and rewrites.
    package main
    
    import (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/format"
    	"log"
    	"math/bits"
    	"os"
    	"path"
    	"regexp"
    	"runtime"
    	"runtime/pprof"
    	"runtime/trace"
    	"sort"
    	"strings"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  8. 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)
  9. cni/pkg/iptables/iptables.go

    		"-j", ChainHostPostrouting,
    	)
    
    	// TODO BML I don't think we need UDP? TCP healthcheck redir should catch everything.
    
    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. 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)
Back to top