Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 291 for Region (0.19 sec)

  1. src/internal/trace/oldtrace_test.go

    				if testName == "user_task_region_1_21_good" {
    					testedUserRegions = true
    					validRegions := map[string]struct{}{
    						"post-existing region": struct{}{},
    						"region0":              struct{}{},
    						"region1":              struct{}{},
    					}
    					// Check that we correctly convert user regions. These
    					// strings were generated by
    					// runtime/trace.TestUserTaskRegion, which is the basis for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. pkg/bootstrap/platform/aws.go

    		md[AWSAvailabilityZone] = a.availabilityZone
    	}
    	if len(a.region) > 0 {
    		md[AWSRegion] = a.region
    	}
    	if len(a.instanceID) > 0 {
    		md[AWSInstanceID] = a.instanceID
    	}
    	return md
    }
    
    func (a *awsEnv) Locality() *core.Locality {
    	return &core.Locality{
    		Zone:   a.availabilityZone,
    		Region: a.region,
    	}
    }
    
    func (a *awsEnv) Labels() map[string]string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. internal/arn/arn.go

    		Partition:    arnPartitionMinio,
    		Service:      arnServiceIAM,
    		Region:       serverRegion,
    		ResourceType: arnResourceTypeRole,
    		ResourceID:   resourceID,
    	}, nil
    }
    
    // String - returns string representation of the ARN.
    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    			arn.Service,
    			arn.Region,
    			"", // account-id is always empty in this implementation
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3RegionalResourceTest.groovy

    import com.amazonaws.regions.RegionUtils
    import com.amazonaws.regions.Regions
    import com.amazonaws.services.s3.model.Region
    import com.google.common.base.Optional
    import spock.lang.Specification
    
    import static com.amazonaws.regions.Region.getRegion
    
    class S3RegionalResourceTest extends Specification {
    
        def "should determine the aws region from virtual hosted urls"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/util/label/label.go

    	LabelTopologyRegion  = "topology.kubernetes.io/region"
    )
    
    // AugmentLabels adds additional labels to the those provided.
    func AugmentLabels(in labels.Instance, clusterID cluster.ID, locality, k8sNode string, networkID network.ID) labels.Instance {
    	// Copy the original labels to a new map.
    	out := make(labels.Instance, len(in)+6)
    	for k, v := range in {
    		out[k] = v
    	}
    
    	region, zone, subzone := SplitLocalityLabel(locality)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 03:56:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/move_tpu_compile_to_front.cc

      return 0;
    }
    
    void MoveTpuCompileToFrontPass::runOnOperation() {
      MarkCompilationOps(getOperation());
      getOperation().walk([](Operation* op) {
        for (Region& region : op->getRegions()) {
          for (Block& block : region.getBlocks()) {
            if (block.empty()) continue;
            auto ops = SortBlockTopologically(block, OutsideCompilationOrdering);
            // Replace the block with the reordered block.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 17 00:26:18 UTC 2023
    - 3.2K 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. 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)
  10. 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)
Back to top