Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 218 for Region (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/text/internal/language/compact.go

    package language
    
    // CompactCoreInfo is a compact integer with the three core tags encoded.
    type CompactCoreInfo uint32
    
    // GetCompactCore generates a uint32 value that is guaranteed to be unique for
    // different language, region, and script values.
    func GetCompactCore(t Tag) (cci CompactCoreInfo, ok bool) {
    	if t.LangID > langNoIndexOffset {
    		return 0, false
    	}
    	cci |= CompactCoreInfo(t.LangID) << (8 + 12)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 853 bytes
    - Viewed (0)
  5. tests/integration/pilot/locality_test.go

    }
    
    const localityFailover = `
    failover:
    - from: region
      to: nearregion`
    
    const failoverPriority = `
    failoverPriority:
    - "topology.kubernetes.io/region"
    - "topology.kubernetes.io/zone"
    - "topology.istio.io/subzone"`
    
    const localityDistribute = `
    distribute:
    - from: region
      to:
        nearregion: 80
        region: 20`
    
    func TestLocality(t *testing.T) {
    	// nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. pkg/model/proxy_test.go

    		{
    			name:     "with label",
    			label:    "region/zone/subzone-1",
    			expected: "region/zone/subzone-1",
    		},
    		{
    			name:     "label with k8s label separator",
    			label:    "region" + k8sSeparator + "zone" + k8sSeparator + "subzone-2",
    			expected: "region/zone/subzone-2",
    		},
    		{
    			name:     "label with both k8s label separators and slashes",
    			label:    "region/zone/subzone.2",
    			expected: "region/zone/subzone.2",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. cmd/api-headers.go

    	// Set the "Server" http header.
    	w.Header().Set(xhttp.ServerInfo, MinioStoreName)
    
    	// Set `x-amz-bucket-region` only if region is set on the server
    	// by default minio uses an empty region.
    	if region := globalSite.Region(); region != "" {
    		w.Header().Set(xhttp.AmzBucketRegion, region)
    	}
    	w.Header().Set(xhttp.AcceptRanges, "bytes")
    
    	// Remove sensitive information
    	crypto.RemoveSensitiveHeaders(w.Header())
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. tools/packaging/common/gcp_envoy_bootstrap.json

        {{ else }}
          "id": "projects/{{ .gcp_project_number }}/networks/default/nodes/{{ .nodeID}}",
        {{ end }}
        "cluster": "{{ .cluster }}",
        "locality": {
          {{ if .region }}
          "region": "{{ .region }}",
          {{ end }}
          {{ if .zone }}
          "zone": "{{ .zone }}",
          {{ end }}
          {{ if .sub_zone }}
          "sub_zone": "{{ .sub_zone }}",
          {{ end }}
        },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. cmd/bucket-notification-handlers.go

    	}
    
    	config, err := globalBucketMetadataSys.GetNotificationConfig(bucketName)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	region := globalSite.Region()
    	config.SetRegion(region)
    	if err = config.Validate(region, globalEventNotifier.targetList); err != nil {
    		arnErr, ok := err.(*event.ErrARNNotFound)
    		if ok {
    			for i, queue := range config.QueueList {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc

    };
    
    // Assign all ops in region with specified device from launch.
    LogicalResult AssignDevicesInRegion(const Dialect* tf_dialect,
                                        tf_device::LaunchOp launch,
                                        Region& region) {
      auto parallel_group_attr =
          launch->getAttrOfType<StringAttr>(TF::kParallelExecAnnotation);
      auto result = region.walk([&](Operation* op) -> WalkResult {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top