- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 596 for rewrite (0.1 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/gofmt/rewrite.go
) func initRewrite() { if *rewriteRule == "" { rewrite = nil // disable any previous rewrite return } f := strings.Split(*rewriteRule, "->") if len(f) != 2 { fmt.Fprintf(os.Stderr, "rewrite rule must be of the form 'pattern -> replacement'\n") os.Exit(2) } pattern := parseExpr(f[0], "pattern") replace := parseExpr(f[1], "replacement") rewrite = func(fset *token.FileSet, p *ast.File) *ast.File {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 8.1K 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) -
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go
Tim King <******@****.***> 1702929703 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 12.2K bytes - Viewed (0) -
src/cmd/internal/buildid/rewrite.go
i := bytes.Index(buf[start:tiny+n], idBytes) if i < 0 { break } matches = append(matches, offset+int64(start+i-tiny)) h.Write(buf[start : start+i]) h.Write(zeros) start += i + len(id) } if n < bufSize { // Did not fill buffer, must be at end of file. h.Write(buf[start : tiny+n]) break } // Process all but final tiny bytes of buf (bufSize = len(buf)-tiny).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/http-redirect-rewrite/httproute-rewrite.yaml
#$ Used in: #$ - site-src/api-types/httproute.md apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: http-filter-rewrite spec: hostnames: - rewrite.example rules: - filters: - type: URLRewrite urlRewrite: hostname: elsewhere.example backendRefs: - name: example-svc weight: 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 17:15:18 UTC 2023 - 389 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) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/http-rewrite.yaml
Alexander Zielenski <******@****.***> 1697824555 -0700
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 17:15:18 UTC 2023 - 381 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/http-redirect-rewrite/httproute-rewrite-path.yaml
#$ Used in: #$ - site-src/api-types/httproute.md apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: http-filter-rewrite spec: hostnames: - rewrite.example rules: - matches: - path: type: PathPrefix value: /cardamom filters: - type: URLRewrite urlRewrite: hostname: elsewhere.example path:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 17:15:18 UTC 2023 - 571 bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/testdata/healthcheck-rewrite.yaml
Jonh Wendell <******@****.***> 1700195286 -0500
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 17 04:28:06 UTC 2023 - 2.1K bytes - Viewed (0)