Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getRegion (0.19 sec)

  1. pilot/pkg/networking/util/util.go

    func IsLocalityEmpty(locality *core.Locality) bool {
    	if locality == nil || (len(locality.GetRegion()) == 0) {
    		return true
    	}
    	return false
    }
    
    func LocalityMatch(proxyLocality *core.Locality, ruleLocality string) bool {
    	ruleRegion, ruleZone, ruleSubzone := label.SplitLocalityLabel(ruleLocality)
    	regionMatch := ruleRegion == "*" || proxyLocality.GetRegion() == ruleRegion
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. pilot/pkg/xds/ads.go

    		// can still help provide some client-side Envoy context when load balancing based on location.
    		proxy.Locality = &core.Locality{
    			Region:  proxy.XdsNode.Locality.GetRegion(),
    			Zone:    proxy.XdsNode.Locality.GetZone(),
    			SubZone: proxy.XdsNode.Locality.GetSubZone(),
    		}
    	}
    	// add topology labels to proxy labels
    	proxy.Labels = labelutil.AugmentLabels(
    		proxy.Labels,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        // Inline the regions from the old while into the new one, and apply
        // signature conversion to inlined region.
        for (auto it : llvm::zip(op.getRegions(), converted.getRegions())) {
          Region &old_region = *std::get<0>(it);
          Region &new_region = *std::get<1>(it);
    
          Block &entry = old_region.front();
          // Build signature conversion for the region.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. pkg/workloadapi/workload.pb.go

    }
    
    // Deprecated: Use Locality.ProtoReflect.Descriptor instead.
    func (*Locality) Descriptor() ([]byte, []int) {
    	return file_workloadapi_workload_proto_rawDescGZIP(), []int{4}
    }
    
    func (x *Locality) GetRegion() string {
    	if x != nil {
    		return x.Region
    	}
    	return ""
    }
    
    func (x *Locality) GetZone() string {
    	if x != nil {
    		return x.Zone
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        Variadic<AnyTensor>:$outputs,
        TFL_Control:$control
      );
    
      let regions = (region SizedRegion<1>:$body);
    
      let extraClassDeclaration = [{
        Block &GetBody() { return getOperation()->getRegion(0).front(); }
        YieldOp GetYield();
        bool WrapsSinglePerfectlyForwardedOp();
      }];
    
      let hasCanonicalizer = 0;
      let hasVerifier = 1;
      let hasFolder = 0;
      let hasCustomAssemblyFormat = 1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      LogicalResult matchAndRewrite(TF::SliceOp op,
                                    PatternRewriter &rewriter) const override {
        Location loc = op.getLoc();
        Value input = op.getInput();
        Value begin_indices = op.getBegin();
        Value sizes = op.getSize();
    
        auto input_ty = mlir::dyn_cast<RankedTensorType>(input.getType());
        auto begin_type = mlir::dyn_cast<RankedTensorType>(begin_indices.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          // each region and the use of TensorList returned using YieldOp.
          if (auto while_region = llvm::dyn_cast<WhileRegionOp>(use.getOwner())) {
            DCOMMENT("\tTL WhileRegion");
            for (auto branch : while_region.getRegions())
              add_to_worklist(branch->getArgument(use.getOperandNumber()));
            continue;
          }
          if (auto yield = llvm::dyn_cast<YieldOp>(use.getOwner())) {
            Operation* parent = yield->getParentOp();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    func newTestConfig(bucketLocation string, obj ObjectLayer) (err error) {
    	// Initialize server config.
    	if err = newSrvConfig(obj); err != nil {
    		return err
    	}
    
    	// Set a default region.
    	config.SetRegion(globalServerConfig, bucketLocation)
    
    	applyDynamicConfigForSubSys(context.Background(), obj, globalServerConfig, config.StorageClassSubSys)
    
    	// Save config.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top