Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for racewrite (0.52 sec)

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

    // a” = (Select0 a')
    // b  = (CMPconst [0] a”)
    // c  = (OR a z)
    //
    // which makes it impossible to rewrite the second user. Instead the result
    // of this conversion is:
    // a' = (ADDCC x y)
    // a  = (Select0 a')
    // b  = (CMPconst [0] a)
    // c  = (OR a z)
    //
    // Which makes it trivial to rewrite b using a lowering rule.
    func convertPPC64OpToOpCC(op *Value) *Value {
    	ccOpMap := map[Op]Op{
    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. pilot/pkg/networking/core/route/route_test.go

    		Http: []*networking.HTTPRoute{
    			{
    				Match: []*networking.HTTPMatchRequest{
    					{
    						Name: "full-path-rewrite",
    					},
    				},
    				Rewrite: &networking.HTTPRewrite{
    					UriRegexRewrite: &networking.RegexRewrite{
    						Match:   "/.*",
    						Rewrite: "/replace-full",
    					},
    				},
    				Route: []*networking.HTTPRouteDestination{
    					{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/networking/core/route/route.go

    	if in.Rewrite != nil {
    		action.ClusterSpecifier = &route.RouteAction_Cluster{
    			Cluster: in.Name,
    		}
    
    		if regexRewrite := in.Rewrite.GetUriRegexRewrite(); regexRewrite != nil {
    			action.RegexRewrite = &matcher.RegexMatchAndSubstitute{
    				Pattern: &matcher.RegexMatcher{
    					Regex: regexRewrite.Match,
    				},
    				Substitution: regexRewrite.Rewrite,
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ppc64/asm.go

    	su.MakeWritable()
    	op := target.Arch.ByteOrder.Uint32(su.Data()[offset:])
    	if op&mask != check {
    		ldr.Errorf(su.Sym(), "Rewrite offset 0x%x to 0x%08X failed check (0x%08X&0x%08X != 0x%08X)", offset, newinsn, op, mask, check)
    	}
    	su.SetUint32(target.Arch, offset, newinsn)
    }
    
    // Rewrite the instruction at offset into a hardware nop instruction. Also, verify the
    // existing instruction under mask matches the check value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

     protected:
      // This flag will control the behavior of error emitting during rewrite:
      // 1) If it's true, then patterns will only emit errors during debug or
      // tracing mode. 2) If it's false, then patterns will emit standard errors
      // when there is a rewrite failure.
      bool allow_tensorlist_pass_through_;
    
      // This flag will control the behavior of setting the batch size one when the
    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. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

          LLVM_DEBUG(llvm::dbgs() << "Failed to match filter_constant_op.\n");
          return failure();
        }
    
        return success();
      }
    
      void rewrite(stablehlo::ConvolutionOp op,
                   PatternRewriter& rewriter) const final {
        // Rewrite `call @uniform_quantize` -> `stablehlo.uniform_quantize`.
        auto input_i8_to_f32_convert_op =
            cast<stablehlo::ConvertOp>(op.getOperand(0).getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

    }
    
    TEST(XlaCompilationTest, ChainOfOps) {
      Scope root = Scope::NewRootScope().ExitOnError();
    
      Node* write_0 = MakeWrite(root, "W0");
      Node* neutral_0 = MakeNeutral(root, "N0");
      Node* read_0 = MakeRead(root, "R0");
      Node* write_1 = MakeWrite(root, "W1");
      Node* neutral_1 = MakeNeutral(root, "N1");
      Node* read_1 = MakeRead(root, "R1");
    
      root.graph()->AddControlEdge(write_0, neutral_0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/prove.go

    			// TODO: if both start and end are constants we should rewrite such that the comparison
    			// is against zero and nxt is ++ or -- operation
    			// That means:
    			//	for i := 2; i < 11; i += 2 {
    			// should be rewritten to:
    			//	for i := 5; 0 < i; i-- {
    			continue
    		}
    
    		if end.Block == ind.Block {
    			// we can't rewrite loops where the condition depends on the loop body
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  10. src/net/http/httputil/reverseproxy_test.go

    		return &ReverseProxy{
    			Rewrite: func(r *ProxyRequest) {
    				r.SetURL(u)
    			},
    		}
    	})
    }
    
    func TestReverseProxyQueryParameterSmugglingRewritePreservesRawQuery(t *testing.T) {
    	testReverseProxyQueryParameterSmuggling(t, testWantsRawQuery, func(u *url.URL) *ReverseProxy {
    		return &ReverseProxy{
    			Rewrite: func(r *ProxyRequest) {
    				r.SetURL(u)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top