Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,219 for Region (0.18 sec)

  1. pkg/test/loadbalancersim/locality/match.go

    package locality
    
    type Match func(Instance) bool
    
    func MatchZone(l Instance) Match {
    	return func(o Instance) bool {
    		return l.Zone == o.Zone &&
    			l.Region == o.Region
    	}
    }
    
    func MatchRegion(l Instance) Match {
    	return func(o Instance) bool {
    		return l.Region == o.Region
    	}
    }
    
    func MatchOtherZoneInSameRegion(l Instance) Match {
    	return And(MatchRegion(l), Not(MatchZone(l)))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    					},
    				},
    				Locality: &core.Locality{
    					Region: "myregion",
    				},
    			},
    			expected: labels.Instance{
    				"k1":                       "v1",
    				NodeRegionLabelGA:          "myregion",
    				label.TopologyNetwork.Name: "mynetwork",
    			},
    		},
    		{
    			name: "region and zone",
    			ctl:  testController{},
    			proxy: &model.Proxy{
    				Labels: labels.Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/passes/canonicalize.cc

                                 Operation *inline_point, Region *region) const;
    };
    
    LogicalResult SimplifySCFIfOp::InlineRegion(Location loc,
                                                PatternRewriter &rewriter,
                                                Operation *inline_point,
                                                Region *region) const {
      InlinerInterface interface(loc.getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go

    }
    
    func TestPreferredAffinity(t *testing.T) {
    	labelRgChina := map[string]string{
    		"region": "China",
    	}
    	labelRgIndia := map[string]string{
    		"region": "India",
    	}
    	labelAzAz1 := map[string]string{
    		"az": "az1",
    	}
    	labelAzAz2 := map[string]string{
    		"az": "az2",
    	}
    	labelRgChinaAzAz1 := map[string]string{
    		"region": "China",
    		"az":     "az1",
    	}
    	podLabelSecurityS1 := map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 44.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/util_test.go

    			"Chooses beta label",
    			&v1.Node{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{NodeRegionLabel: "beta-region", NodeRegionLabelGA: "ga-region"}}},
    			"beta-region",
    		},
    		{
    			"Fallback no beta label defined",
    			&v1.Node{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{NodeRegionLabelGA: "ga-region"}}},
    			"ga-region",
    		},
    		{
    			"Only beta label specified",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 20:45:12 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. internal/config/config.go

    			return
    		}
    
    		region = regionKV.Get(RegionName)
    	}
    	if region != "" {
    		if !validRegionRegex.MatchString(region) {
    			err = Errorf(
    				"region '%s' is invalid, expected simple characters such as [us-east-1, myregion...]",
    				region)
    			return
    		}
    		s.region = region
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4.go

    	}
    
    	cred, _, errCode = checkKeyValid(r, signV4Values.Credential.accessKey)
    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	// Verify if region is valid.
    	region = signV4Values.Credential.scope.region
    
    	// Extract date, if not present throw error.
    	var dateStr string
    	if dateStr = req.Header.Get("x-amz-date"); dateStr == "" {
    		if dateStr = r.Header.Get("Date"); dateStr == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. internal/config/lambda/event/targetid_test.go

    	tid := TargetID{"1", "webhook"}
    	testCases := []struct {
    		tid         TargetID
    		region      string
    		expectedARN ARN
    	}{
    		{tid, "", ARN{TargetID: tid, region: ""}},
    		{tid, "us-east-1", ARN{TargetID: tid, region: "us-east-1"}},
    	}
    
    	for i, testCase := range testCases {
    		arn := testCase.tid.ToARN(testCase.region)
    
    		if arn != testCase.expectedARN {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sink_constant.cc

          // defined above and sink these constants in the region body.
          // The sunk_constant map keeps a mapping from a ConstOp defined above to
          // a sunk clone of it. This allows for reusing a sunk constant with
          // multiple uses in the region.
          llvm::DenseMap<Value, TF::ConstOp> sunk_constant;
          Region &body = cluster.getBody();
          visitUsedValuesDefinedAbove(body, [&](OpOperand *use) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. pkg/test/loadbalancersim/locality/locality.go

    import (
    	"fmt"
    	"strings"
    )
    
    type Instance struct {
    	Zone   string
    	Region string
    }
    
    func (l Instance) String() string {
    	return fmt.Sprintf("%s/%s", l.Region, l.Zone)
    }
    
    func Parse(s string) Instance {
    	parts := strings.Split(s, "/")
    	if len(parts) != 2 {
    		panic("invalid locality string: " + s)
    	}
    	return Instance{
    		Region: parts[0],
    		Zone:   parts[1],
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 979 bytes
    - Viewed (0)
Back to top