Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 101 for REWRITES (0.1 sec)

  1. src/go/build/constraint/expr.go

    	// Push all NOTs to the expression leaves, so that //go:build !(x && y) can be treated as !x || !y.
    	// This rewrite is both efficient and commonly needed, so it's worth doing.
    	// Essentially all other possible rewrites are too expensive and too rarely needed.
    	x = pushNot(x, false)
    
    	// Split into AND of ORs of ANDs of literals (tag or NOT tag).
    	var split [][][]Expr
    	for _, or := range appendSplitAnd(nil, x) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/closure.go

    package walk
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    )
    
    // directClosureCall rewrites a direct call of a function literal into
    // a normal function call with closure variables passed as arguments.
    // This avoids allocation of a closure object.
    //
    // For illustration, the following call:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Fork, exec, wait, etc.
    
    package windows
    
    import (
    	errorspkg "errors"
    	"unsafe"
    )
    
    // EscapeArg rewrites command line argument s as prescribed
    // in http://msdn.microsoft.com/en-us/library/ms880421.
    // This function returns "" (2 double quotes) if s is empty.
    // Alternatively, these transformations are done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    type devirtualization struct {
    	pos    string
    	callee string
    }
    
    const profFileName = "devirt.pprof"
    const preProfFileName = "devirt.pprof.node_map"
    
    // testPGODevirtualize tests that specific PGO devirtualize rewrites are performed.
    func testPGODevirtualize(t *testing.T, dir string, want []devirtualization, pgoProfileName string) {
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	const pkg = "example.com/pgo/devirtualize"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/dec.rules

    (StructSelect [2] (StructMake4 _ _ x _)) => x
    (StructSelect [3] (StructMake4 _ _ _ x)) => x
    
    // Special case coming from immediate interface rewriting
    // Typical case: (StructSelect [0] (IData (IMake typ dat)) rewrites to (StructSelect [0] dat)
    // but because the interface is immediate, the type of "IData" is a one-element struct containing
    // a pointer that is not the pointer type of dat (can be a *uint8).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

      const auto str_attr = attr.dyn_cast_or_null<mlir::StringAttr>();
      return str_attr &&
             (str_attr.getValue().find("COMPOSITE") != llvm::StringRef::npos);
    }
    }  // namespace
    
    // Rewrites unpartitioned resource reads and writes to partitioned resource
    // reads and writes. The TPU computation from the frontend is generated in such
    // a way that resource operations operate on the unpartitioned resource handle
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      // types.
      virtual LogicalResult match(func::FuncOp entry_func_op,
                                  const Method& quantization_method) const = 0;
    
      // Rewrites the `entry_func_op`'s body.
      virtual void rewrite(func::FuncOp entry_func_op,
                           const Method& quantization_method,
                           PatternRewriter& rewriter) const = 0;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/rangefunc/rewrite.go

    // Copyright 2023 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 rangefunc rewrites range-over-func to code that doesn't use range-over-funcs.
    Rewriting the construct in the front end, before noder, means the functions generated during
    the rewrite are available in a noder-generated representation for inlining by the back end.
    
    # Theory of Operation
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  9. internal/lock/lock_windows.go

    	// \\?\c:\windows\foo.txt or \\?\UNC\server\share\foo.txt.
    	// The extended form disables evaluation of . and .. path
    	// elements and disables the interpretation of / as equivalent
    	// to \. The conversion here rewrites / to \ and elides
    	// . elements as well as trailing or duplicate separators. For
    	// simplicity it avoids the conversion entirely for relative
    	// paths or paths containing .. elements. For now,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/build/relnote/links.go

    				Inner:  addSymbolLinksInlines(in.Inner, defaultPackage),
    			})
    		// Don't look for links in anything else.
    		default:
    			res = append(res, in)
    		}
    	}
    	return res
    }
    
    // splitAtBrackets rewrites ins so that every '[' and ']' is the only character
    // of its Plain.
    // For example, the element
    //
    //	[Plain("the [Buffer] is")]
    //
    // is rewritten to
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top