Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for rewrite (0.28 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    const (
    	leaveDeadValues  deadValueChoice = false
    	removeDeadValues                 = true
    )
    
    // deadcode indicates whether rewrite should try to remove any values that become dead.
    func applyRewrite(f *Func, rb blockRewriter, rv valueRewriter, deadcode deadValueChoice) {
    	// repeat rewrites until we find no more rewrites
    	pendingLines := f.cachedLineStarts // Holds statement boundaries that need to be moved to a new value/block
    	pendingLines.clear()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. pkg/config/validation/virtualservice.go

    	}
    
    	return
    }
    
    // validateAuthorityRewrite ensures we only attempt rewrite authority in a single place.
    func validateAuthorityRewrite(rewrite *networking.HTTPRewrite, headers *networking.Headers) error {
    	current := rewrite.GetAuthority()
    	for k, v := range headers.GetRequest().GetSet() {
    		if !isAuthorityHeader(k) {
    			continue
    		}
    		if current != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

    def IsNhwcLayoutOp: Constraint<Neg<IsNchwLayoutOp.predicate>>;
    
    // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
    // to avoid creating multiple pattern-rewrite rules for the same composite op.
    def LegalizeTorchUpsampleBlinear2dComposite: Pat<
        (MHLO_CompositeOp:$old_val
        (variadic $input),
        ConstantStrAttr<StrAttr, "odml.upsample_bilinear2d">, $attrs, $_, $_),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. Makefile

    	@echo "Verify healing with root drives"
    	@(env bash $(PWD)/buildscripts/verify-healing-with-root-disks.sh)
    
    verify-healing-with-rewrite: install-race ## verify healing to rewrite old xl.meta -> new xl.meta
    	@echo "Verify healing with rewrite"
    	@(env bash $(PWD)/buildscripts/rewrite-old-new.sh)
    
    verify-healing-inconsistent-versions: install-race ## verify resolving inconsistent versions
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_waypoint.go

    	// nolint: staticcheck
    	action.MaxGrpcTimeout = action.Timeout
    
    	out.Action = &route.Route_Route{Route: action}
    
    	if in.Rewrite != nil {
    		action.PrefixRewrite = in.Rewrite.GetUri()
    		if in.Rewrite.GetAuthority() != "" {
    			authority = in.Rewrite.GetAuthority()
    		}
    	}
    	if authority != "" {
    		action.HostRewriteSpecifier = &route.RouteAction_HostRewriteLiteral{
    			HostRewriteLiteral: authority,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

                              ArrayRef<int64_t> shape, int64_t val) {
      RankedTensorType type =
          tensorflow::GetTypeFromTFTensorShape(shape, rewriter->getIntegerType(64));
      DenseElementsAttr attr =
          DenseElementsAttr::get(type, rewriter->getI64IntegerAttr(val));
      return rewriter->create<arith::ConstantOp>(loc, type, attr);
    }
    
    Value CreateI32SplatTensor(Location loc, PatternRewriter *rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conversion.go

    				Rewrite: *filter.Path.ReplaceFullPath,
    			}
    		}
    	}
    	if filter.Hostname != nil {
    		rewrite.Authority = string(*filter.Hostname)
    	}
    	// Nothing done
    	if rewrite.Uri == "" && rewrite.UriRegexRewrite == nil && rewrite.Authority == "" {
    		return nil
    	}
    	return rewrite
    }
    
    func createRedirectFilter(filter *k8s.HTTPRequestRedirectFilter) *istio.HTTPRedirect {
    	if filter == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

     * When such a classloader attempts to define a class, the agent calls {@link #instrumentClass(String, ProtectionDomain, byte[])} method
     * giving the classloader a chance to rewrite the bytecode of the class.
     * <p>
     * Methods defined in this interface may be called concurrently in multiple threads.
     */
    public interface InstrumentingClassLoader {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

            changed = true;
          }
        }
        if (changed) {
          rewriter.finalizeOpModification(branch);
          return success();
        } else {
          rewriter.cancelOpModification(branch);
          return failure();
        }
      }
    
      LogicalResult matchAndRewrite(TF::IfOp ifop,
                                    PatternRewriter& rewriter) const override {
        bool success =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. pkg/config/validation/validation.go

    	return errs
    }
    
    func validateHTTPRewrite(rewrite *networking.HTTPRewrite) error {
    	if rewrite == nil {
    		return nil
    	}
    	if rewrite.Uri != "" && rewrite.UriRegexRewrite != nil {
    		return errors.New("rewrite may only contain one of URI or UriRegexRewrite")
    	}
    	if rewrite.Uri == "" && rewrite.UriRegexRewrite == nil && rewrite.Authority == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top