Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,123 for Region (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tests/associations_test.go

    	}
    	if err := DB.Migrator().DropTable(&Organization{}, &Region{}); err != nil {
    		t.Fatalf("Failed to migrate, got error: %s", err)
    	}
    	if err := DB.AutoMigrate(&Organization{}, &Region{}); err != nil {
    		t.Fatalf("Failed to migrate, got error: %v", err)
    	}
    	region := &Region{Name: "Region1"}
    	if err := DB.Create(region).Error; err != nil {
    		t.Fatalf("fail to create region %v", err)
    	}
    	var orgs []Organization
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. src/runtime/pprof/proto_darwin.go

    // license that can be found in the LICENSE file.
    
    package pprof
    
    import (
    	"errors"
    )
    
    // readMapping adds a mapping entry for the text region of the running process.
    // It uses the mach_vm_region region system call to add mapping entries for the
    // text region of the running process. Note that currently no attempt is
    // made to obtain the buildID information.
    func (b *profileBuilder) readMapping() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/annotations-stress.go

    	ctx, t = trace.NewTask(ctx, "do")
    	defer t.End()
    
    	trace.Log(ctx, "log2", "do")
    
    	// Create a region and spawn more tasks and more workers.
    	trace.WithRegion(ctx, "fanout", func() {
    		for i := 0; i < k; i++ {
    			go func(i int) {
    				trace.WithRegion(ctx, fmt.Sprintf("region%d", i), func() {
    					trace.Logf(ctx, "log", "fanout region%d", i)
    					if i == 2 {
    						do(ctx, 0)
    						return
    					}
    				})
    			}(i)
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/tags.go

    	scr, err := ParseScript(s)
    	if err != nil {
    		panic(err)
    	}
    	return scr
    }
    
    // MustParseRegion is like ParseRegion, but panics if the given region cannot be
    // parsed. It simplifies safe initialization of Region values.
    func MustParseRegion(s string) Region {
    	r, err := ParseRegion(s)
    	if err != nil {
    		panic(err)
    	}
    	return r
    }
    
    // Und is the root language.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. cmd/event-notification.go

    			}
    			arns = append(arns, targetID.ToARN(region).String())
    		}
    	}
    
    	return arns
    }
    
    // Loads notification policies for all buckets into EventNotifier.
    func (evnot *EventNotifier) set(bucket BucketInfo, meta BucketMetadata) {
    	config := meta.notificationConfig
    	if config == nil {
    		return
    	}
    	region := globalSite.Region()
    	config.SetRegion(region)
    	if err := config.Validate(region, globalEventNotifier.targetList); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top