Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for doPatch (0.23 sec)

  1. pilot/pkg/networking/core/cluster.go

    }
    
    func (p clusterPatcher) patch(hosts []host.Name, c *cluster.Cluster) *discovery.Resource {
    	cluster := p.doPatch(hosts, c)
    	if cluster == nil {
    		return nil
    	}
    	return &discovery.Resource{Name: cluster.Name, Resource: protoconv.MessageToAny(cluster)}
    }
    
    func (p clusterPatcher) doPatch(hosts []host.Name, c *cluster.Cluster) *cluster.Cluster {
    	if !envoyfilter.ShouldKeepCluster(p.pctx, p.efw, c, hosts) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		return
    	}
    
    	p.append(prog, cond, true)
    }
    
    func (p *Parser) patch() {
    	for _, patch := range p.toPatch {
    		targetProg := p.labels[patch.label]
    		if targetProg == nil {
    			p.errorf("undefined label %s", patch.label)
    			return
    		}
    		p.branch(patch.addr, targetProg)
    	}
    	p.toPatch = p.toPatch[:0]
    }
    
    func (p *Parser) branch(addr *obj.Addr, target *obj.Prog) {
    	*addr = obj.Addr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/echotest/filters_test.go

    				run: func(t framework.TestContext, testTopology map[string]map[string]int) {
    					echotest.New(t, all).
    						WithDefaultFilters(1, 1).
    						FromMatch(match.And(match.NotNaked, match.NotHeadless)).
    						ToMatch(match.NotHeadless).
    						RunToN(3, func(ctx framework.TestContext, from echo.Instance, dsts echo.Services) {
    							srcKey := from.Config().ClusterLocalFQDN()
    							if testTopology[srcKey] == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/rsc.io/markdown/inline.go

    	// To enable this optimization, following cmark-gfm, we declare by fiat
    	// that more than maxBackticks backquotes is too many.
    	if n > len(b.last) || b.scanned && b.last[n-1] < i+n {
    		goto NoMatch
    	}
    
    	for end := i + n; end < len(s); {
    		if s[end] != '`' {
    			end++
    			continue
    		}
    		estart := end
    		for end < len(s) && s[end] == '`' {
    			end++
    		}
    		m := end - estart
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top