- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 344 for rewrite (0.6 sec)
-
src/cmd/compile/internal/rangefunc/rewrite.go
// 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 The basic idea is to rewrite for x := range f { ... } into
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 41.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
const ( leaveDeadValues deadValueChoice = false removeDeadValues = true ) // deadcode indicates whether rewrite should try to remove any values that become dead. func applyRewrite(f *Func, rb blockRewriter, rv valueRewriter, deadcode deadValueChoice) { // repeat rewrites until we find no more rewrites pendingLines := f.cachedLineStarts // Holds statement boundaries that need to be moved to a new value/block pendingLines.clear()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
buildscripts/rewrite-old-new.sh
echo "FAILED" purge "$WORK_DIR" exit 1 fi "${WORK_DIR}/mc" mb minio/healing-rewrite-bucket --quiet --with-lock "${WORK_DIR}/mc" cp \ buildscripts/verify-build.sh \ minio/healing-rewrite-bucket/ \ --disable-multipart --quiet "${WORK_DIR}/mc" cp \ buildscripts/verify-build.sh \ minio/healing-rewrite-bucket/ \ --disable-multipart --quiet "${WORK_DIR}/mc" cp \ buildscripts/verify-build.sh \
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 3.4K bytes - Viewed (0) -
tests/integration/pilot/tcp_probe_test.go
name string rewrite bool success bool openPort bool }{ {name: "norewrite-success", rewrite: false, success: true, openPort: false}, {name: "rewrite-success", rewrite: true, success: true, openPort: true}, } { t.NewSubTest(testCase.name).Run(func(t framework.TestContext) { runTCPProbeDeployment(t, ns, testCase.name, testCase.rewrite, testCase.success, testCase.openPort) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 2.6K bytes - Viewed (0) -
tests/integration/security/mtls_healthcheck_test.go
name string rewrite bool }{ {name: "rewrite-success", rewrite: true}, } { t.NewSubTest(testCase.name).Run(func(t framework.TestContext) { runHealthCheckDeployment(t, ns, testCase.name, testCase.rewrite) }) } }) } func runHealthCheckDeployment(ctx framework.TestContext, ns namespace.Instance, //nolint:interfacer name string, rewrite bool, ) { ctx.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/integration/pilot/grpc_probe_test.go
for _, testCase := range []struct { name string rewrite bool ready bool openPort bool }{ {name: "rewrite-ready", rewrite: true, ready: true, openPort: true}, } { t.NewSubTest(testCase.name).Run(func(t framework.TestContext) { runGRPCProbeDeployment(t, ns, testCase.name, testCase.rewrite, testCase.ready, testCase.openPort) }) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/config/validation/virtualservice.go
} return } // validateAuthorityRewrite ensures we only attempt rewrite authority in a single place. func validateAuthorityRewrite(rewrite *networking.HTTPRewrite, headers *networking.Headers) error { current := rewrite.GetAuthority() for k, v := range headers.GetRequest().GetSet() { if !isAuthorityHeader(k) { continue } if current != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy.go
) // A ProxyRequest contains a request to be rewritten by a [ReverseProxy]. type ProxyRequest struct { // In is the request received by the proxy. // The Rewrite function must not modify In. In *http.Request // Out is the request which will be sent by the proxy. // The Rewrite function may modify or replace this request. // Hop-by-hop headers are removed from this request // before Rewrite is called. Out *http.Request }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 23:37:42 UTC 2024 - 24.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc
if (orig_op->Device() != kVariantDeviceNull) return absl::OkStatus(); if (orig_op->is_function()) return absl::OkStatus(); // TODO(fengliuai): We need a better condition to skip the rewrite. Currently, // The rewrite is enabled for all the tf ops and it is a no-op if the tf op // isn't a composite op. The following ops are explicitly skipped here because // their "no-op" expansion is known to cause problems in some cases.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Feb 25 16:22:36 UTC 2024 - 3.8K bytes - Viewed (0) -
src/go/types/generate_test.go
switch n := n.(type) { case *ast.ImportSpec: // rewrite import path "cmd/compile/internal/syntax" to "go/token" if n.Path.Kind != token.STRING { panic("invalid import path") } m.rename(&n.Path.Value) return false case *ast.SelectorExpr: // rewrite syntax.Pos to token.Pos m.renameSel(n) case *ast.CallExpr: // rewrite x.IsKnown() to x.IsValid()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0)