Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for FX (0.02 sec)

  1. test/ken/sliceslice.go

    	// width 4 (float64)
    	lb = 0
    	hb = 10
    	fy = fx[lb:hb]
    	tstf()
    	fy = fx[lb:10]
    	tstf()
    	fy = fx[lb:]
    	tstf()
    	fy = fx[:hb]
    	tstf()
    	fy = fx[0:hb]
    	tstf()
    	fy = fx[0:10]
    	tstf()
    	fy = fx[0:]
    	tstf()
    	fy = fx[:10]
    	tstf()
    	fy = fx[:]
    	tstf()
    
    	lb = 2
    	hb = 10
    	fy = fx[lb:hb]
    	tstf()
    	fy = fx[lb:10]
    	tstf()
    	fy = fx[lb:]
    	tstf()
    	fy = fx[2:hb]
    	tstf()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.7K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/util/xdsfake/updater.go

    // LDS/RDS.
    func (fx *Updater) SvcUpdate(c model.ShardKey, hostname string, ns string, ev model.Event) {
    	select {
    	case fx.Events <- Event{Type: "service", ID: hostname, Namespace: ns}:
    	default:
    	}
    	if fx.Delegate != nil {
    		fx.Delegate.SvcUpdate(c, hostname, ns, ev)
    	}
    }
    
    func (fx *Updater) RemoveShard(shardKey model.ShardKey) {
    	select {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. test/ken/slicearray.go

    	lb = 0
    	hb = 10
    	fy = fx[lb:hb]
    	tstf()
    	fy = fx[lb:10]
    	tstf()
    	fy = fx[lb:]
    	tstf()
    	fy = fx[:hb]
    	tstf()
    	fy = fx[0:hb]
    	tstf()
    	fy = fx[0:10]
    	tstf()
    	fy = fx[0:]
    	tstf()
    	fy = fx[:10]
    	tstf()
    	fy = fx[:]
    	tstf()
    
    	lb = 2
    	hb = 10
    	fy = fx[lb:hb]
    	tstf()
    	fy = fx[lb:10]
    	tstf()
    	fy = fx[lb:]
    	tstf()
    	fy = fx[2:hb]
    	tstf()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Dec 05 12:50:44 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceregistry_test.go

    		_, kube, fx := setupTest(t)
    		makeService(t, kube, headlessServiceHTTP)
    		fx.WaitOrFail(t, "service")
    		makePod(t, kube, pod)
    		createEndpoints(t, kube, service.Name, namespace, []v1.EndpointPort{{Name: "http", Port: 80}}, []string{pod.Status.PodIP})
    		fx.WaitOrFail(t, "eds")
    		// Endpoint update is triggered since its a brand new service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	addPods(t, c, fx, pod)
    	createEndpoints(t, c, "rating", "nsa", []string{"tcp-port"}, []string{"128.0.0.1"}, []*v1.ObjectReference{
    		{
    			Kind:      "Pod",
    			Namespace: "nsa",
    			Name:      "cpod1",
    		},
    	}, nil)
    	fx.WaitOrFail(t, "eds")
    	fx.Clear()
    
    	// Verify podCache
    	got := c.pods.getPodsByIP("128.0.0.1")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		createExternalNameService(controller, "svc2", "nsA",
    			[]int32{8081}, "test-app-2.test.svc."+defaultFakeDomainSuffix, t, fx),
    		createExternalNameService(controller, "svc3", "nsA",
    			[]int32{8082}, "test-app-3.test.pod."+defaultFakeDomainSuffix, t, fx),
    		createExternalNameService(controller, "svc4", "nsA",
    			[]int32{8083}, "g.co", t, fx),
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/fake.go

    		clienttest.MakeCRD(t, c.client, crd)
    	}
    	opts.Client.RunAndWait(c.stop)
    	var fx *xdsfake.Updater
    	if x, ok := xdsUpdater.(*xdsfake.Updater); ok {
    		fx = x
    	}
    
    	if !opts.SkipRun {
    		go c.Run(c.stop)
    		kubelib.WaitForCacheSync("test", c.stop, c.HasSynced)
    	}
    
    	return &FakeController{Controller: c, Endpoints: endpoints}, fx
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. test/fixedbugs/issue6703b.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check for cycles in a function call.
    
    package funccall
    
    func fx() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 335 bytes
    - Viewed (0)
  9. test/fixedbugs/issue6703a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check for cycles in a function value.
    
    package funcvalue
    
    func fx() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 335 bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/endpointslice_test.go

    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestEndpointSliceFromMCSShouldBeIgnored(t *testing.T) {
    	const (
    		ns      = "nsa"
    		svcName = "svc1"
    		appName = "prod-app"
    	)
    
    	controller, fx := NewFakeControllerWithOptions(t, FakeControllerOptions{})
    
    	node := generateNode("node1", map[string]string{
    		NodeZoneLabel:              "zone1",
    		NodeRegionLabel:            "region1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top