Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,407 for distances (0.19 sec)

  1. pkg/test/framework/components/echo/services.go

    package echo
    
    import (
    	"sort"
    	"strings"
    )
    
    // Services is a set of Instances that share the same FQDN. While an Instance contains
    // multiple deployments (a single service in a single cluster), Instances contains multiple
    // deployments that may contain multiple Services.
    type Services []Instances
    
    // GetByService finds the first Instances with the given Service name. It is possible to have multiple deployments
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 21 16:42:24 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/kube/builder.go

    )
    
    func Build(ctx resource.Context, configs []echo.Config) (echo.Instances, error) {
    	instances := make([]echo.Instance, len(configs))
    
    	g := multierror.Group{}
    	for i, cfg := range configs {
    		i, cfg := i, cfg
    		g.Go(func() (err error) {
    			instances[i], err = newInstance(ctx, cfg)
    			return
    		})
    	}
    
    	err := g.Wait().ErrorOrNil()
    	return instances, err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceregistry_test.go

    		makeService(t, kube, service)
    
    		// Start as unhealthy, should have no instances
    		makeIstioObject(t, store, setHealth(workloadEntry, false))
    		instances := []EndpointResponse{}
    		expectServiceEndpoints(t, fx, expectedSvc, 80, instances)
    
    		// Mark healthy, get instances
    		makeIstioObject(t, store, setHealth(workloadEntry, true))
    		instances = []EndpointResponse{{
    			Address: workloadEntry.Spec.(*networking.WorkloadEntry).Address,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularContiguousSet.java

            }
          };
        } else {
          return super.createAsList();
        }
      }
    
      @Override
      public int size() {
        long distance = domain.distance(first(), last());
        return (distance >= Integer.MAX_VALUE) ? Integer.MAX_VALUE : (int) distance + 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        if (object == null) {
          return false;
        }
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

            then:
            ServiceImpl.instances.empty
    
            when:
            def service = provider.get()
    
            then:
            service instanceof ServiceImpl
            ServiceImpl.instances == [service]
    
            when:
            def service2 = provider.get()
    
            then:
            service2.is(service)
            ServiceImpl.instances == [service]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel_test.go

    		"available": {
    			resources: []*resourceapi.NamedResourcesResources{
    				{
    					Instances: []resourceapi.NamedResourcesInstance{
    						{Name: "a"},
    						{Name: "b"},
    					},
    				},
    				{
    					Instances: []resourceapi.NamedResourcesInstance{
    						{Name: "x"},
    						{Name: "y"},
    					},
    				},
    			},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. tests/integration/security/util/reachability/context.go

    	SkippedForMulticluster bool
    }
    
    var (
    	A             echo.Instances
    	B             echo.Instances
    	C             echo.Instances
    	D             echo.Instances
    	E             echo.Instances
    	Multiversion  echo.Instances
    	VM            echo.Instances
    	External      echo.Instances
    	Naked         echo.Instances
    	Headless      echo.Instances
    	HeadlessNaked echo.Instances
    )
    
    const (
    	ASvc             = "a"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 23 21:20:43 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  8. tests/integration/pilot/cross_revision_test.go

    					Namespace: ns.namespace,
    					Ports:     ports.All(),
    					Subsets:   []echo.SubsetConfig{{}},
    				})
    			}
    			instances := builder.BuildOrFail(t)
    			// Add our existing revision to the instances list
    			instances = append(instances, apps.A...)
    			testAllEchoCalls(t, instances)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. pkg/apis/resource/structured/namedresources/validation/validation_test.go

    	"k8s.io/apimachinery/pkg/util/validation/field"
    	resourceapi "k8s.io/kubernetes/pkg/apis/resource"
    	"k8s.io/utils/ptr"
    )
    
    func testResources(instances []resourceapi.NamedResourcesInstance) *resourceapi.NamedResourcesResources {
    	resources := &resourceapi.NamedResourcesResources{
    		Instances: instances,
    	}
    	return resources
    }
    
    func TestValidateResources(t *testing.T) {
    	goodName := "foo"
    	badName := "!@#$%^"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pkg/controller/namespace/deletion/status_condition_utils_test.go

    				{Type: v1.NamespaceFinalizersRemaining, Status: v1.ConditionTrue, Reason: "SomeFinalizersRemain", Message: `Some content in the namespace has finalizers remaining: kubedb in 5 resource instances, service-catalog in 6 resource instances`},
    			},
    		},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 06 13:58:41 UTC 2019
    - 7.7K bytes
    - Viewed (0)
Back to top