Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 168 for substitutions (0.36 sec)

  1. src/go/types/instantiate.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements instantiation of generic types
    // through substitution of type parameters by type arguments.
    
    package types
    
    import (
    	"errors"
    	"fmt"
    	"go/token"
    	. "internal/types/errors"
    )
    
    // A genericType implements access to its type parameters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    		g.Expect(ok).NotTo(BeFalse())
    
    		g.Expect(routeAction.Route.RegexRewrite).To(Equal(&matcher.RegexMatchAndSubstitute{
    			Pattern: &matcher.RegexMatcher{
    				Regex: "/.*",
    			},
    			Substitution: "/replace-full",
    		}))
    	})
    
    	t.Run("for prefix path rewrite", func(t *testing.T) {
    		g := NewWithT(t)
    		cg := core.NewConfigGenTest(t, core.TestOptions{})
    
    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. src/cmd/compile/internal/types2/instantiate.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements instantiation of generic types
    // through substitution of type parameters by type arguments.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"errors"
    	"fmt"
    	. "internal/types/errors"
    )
    
    // A genericType implements access to its type parameters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_uniform_quantized.mlir

    //   {"key1": "value12", "key2": "value22"},
    // ]
    // func.func func_name_${key1}_fn (...) {
    //   ...${key2}...
    // }
    // ```
    // The above template with generate two functions by substituting `key1` and
    // `key2` with given values.
    
    module {
    
      for main_op in ["Conv2D", "DepthwiseConv2D", "MatMul"] {
        parameters[
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 29 01:13:58 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/README

    	compare files for differences, with environment expansion
    
    	By convention, file1 is the actual data and file2 is the
    	expected data.
    	The command succeeds if the file contents are identical
    	after substituting variables from the script environment.
    	File1 can be 'stdout' or 'stderr' to compare the script's
    	stdout or stderr buffer.
    
    cp src... dst
    	copy files to a target file or directory
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/go/types/typexpr.go

    	// orig.tparams may not be set up, so we need to do expansion later.
    	check.later(func() {
    		// This is an instance from the source, not from recursive substitution,
    		// and so it must be resolved during type-checking so that we can report
    		// errors.
    		check.recordInstance(ix.Orig, inst.TypeArgs().list(), inst)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    		//	---------- 0/0               0 2017-07-13 19:40 global1
    		//	---------- 0/0               0 2017-07-13 19:40 file2
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 1969-12-31 16:00
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 2014-05-13 09:53
    		//
    		// According to the PAX specification, this should have been the result:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                !typeProjection.isStarProjection &&
                        typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors)
            }
        }
    }
    
    /**
     * Use-site substitution override are tracked through [CallableDescriptor.getOriginal]. Note that overridden symbols are accessed through
     * [CallableDescriptor.getOverriddenDescriptors] instead, which is separate from [CallableDescriptor.getOriginal].
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/typexpr.go

    	// orig.tparams may not be set up, so we need to do expansion later.
    	check.later(func() {
    		// This is an instance from the source, not from recursive substitution,
    		// and so it must be resolved during type-checking so that we can report
    		// errors.
    		check.recordInstance(x, inst.TypeArgs().list(), inst)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route.go

    		if regexRewrite := in.Rewrite.GetUriRegexRewrite(); regexRewrite != nil {
    			action.RegexRewrite = &matcher.RegexMatchAndSubstitute{
    				Pattern: &matcher.RegexMatcher{
    					Regex: regexRewrite.Match,
    				},
    				Substitution: regexRewrite.Rewrite,
    			}
    		} else if uri := in.Rewrite.GetUri(); uri != "" {
    			if model.UseGatewaySemantics(vs) && uri == "/" {
    				// remove the prefix
    				action.RegexRewrite = &matcher.RegexMatchAndSubstitute{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top