Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 596 for rewrite (0.28 sec)

  1. releasenotes/notes/prom-rewrite.yaml

    Brian Avery <******@****.***> 1597180858 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 11 21:20:58 UTC 2020
    - 208 bytes
    - Viewed (0)
  2. src/cmd/gofmt/testdata/rewrite5.input

    // expressions without those nodes must also eliminate the associated
    // comments.
    
    package p
    
    func f(x int) int {
    	_ = x + x // this comment remains in the rewrite
    	_ = x /* this comment must not be in the rewrite */ + x
    	return x /* this comment must not be in the rewrite */ + x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 538 bytes
    - Viewed (0)
  3. src/cmd/internal/objabi/line.go

    		if i == len(rewrites) || rewrites[i] == ';' {
    			if new, ok := applyRewrite(file, rewrites[start:i]); ok {
    				return new, true
    			}
    			start = i + 1
    		}
    	}
    
    	return file, false
    }
    
    // applyRewrite applies the rewrite to the path,
    // returning the rewritten path and a boolean
    // indicating whether the rewrite applied at all.
    func applyRewrite(path, rewrite string) (string, bool) {
    	prefix, replace := rewrite, ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/gofmt/testdata/rewrite6.golden

    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	Fun(x)    // -r='fun(x)->Fun(x)' should rewrite this to Fun(x)
    	fun(x...) // -r='fun(x)->Fun(x)' should not rewrite this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 463 bytes
    - Viewed (0)
  5. src/cmd/gofmt/testdata/rewrite6.input

    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x)    // -r='fun(x)->Fun(x)' should rewrite this to Fun(x)
    	fun(x...) // -r='fun(x)->Fun(x)' should not rewrite this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 463 bytes
    - Viewed (0)
  6. src/cmd/gofmt/testdata/rewrite7.input

    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x)    // -r='fun(x...)->Fun(x)' should not rewrite this
    	fun(x...) // -r='fun(x...)->Fun(x)' should rewrite this to Fun(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 472 bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/gofmt/testdata/rewrite7.golden

    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x) // -r='fun(x...)->Fun(x)' should not rewrite this
    	Fun(x) // -r='fun(x...)->Fun(x)' should rewrite this to Fun(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 466 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/loopreschedchecks.go

    // a rewriteTarget is a value-argindex pair indicating
    // where a rewrite is applied.  Note that this is for values,
    // not for block controls, because block controls are not targets
    // for the rewrites performed in inserting rescheduling checks.
    type rewriteTarget struct {
    	v *Value
    	i int
    }
    
    type rewrite struct {
    	before, after *Value          // before is the expected value before rewrite, after is the new value installed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  10. 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)
Back to top