Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 111 for variadicOk (0.27 sec)

  1. src/go/types/call.go

    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    	sigParams := sig.params // adjusted for variadic functions (may be nil for empty parameter lists!)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. src/cmd/vet/testdata/print/print.go

    type someStruct struct{}
    
    // Log is non-variadic user-define Println-like function.
    // Calls to this func must be skipped when checking
    // for Println-like arguments.
    func (ss *someStruct) Log(f func(), s string) {}
    
    // Error is variadic user-define Println-like function.
    // Calls to this func mustn't be checked for Println-like arguments,
    // since variadic arguments type isn't interface{}.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let summary = "XLA Launch Op. For use by the XLA JIT only.";
    
      let arguments = (ins
        Variadic<TF_Tensor>:$constants,
        Variadic<TF_Tensor>:$args,
        Variadic<TF_ResourceTensor>:$resources,
    
        SymbolRefAttr:$function
      );
    
      let results = (outs
        Variadic<TF_Tensor>:$results
      );
    
      TF_DerivedOperandSizeAttr Nresources = TF_DerivedOperandSizeAttr<2>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.td

      );
    }
    
    def TF_CalibrationStatisticsSaverOp : TF_Op<"CalibrationStatisticsSaver", []> {
      let summary = "Aggregates and saves calibration statistics.";
    
      let arguments = (ins
        Variadic<TensorOf<[TF_Float32, TF_Int64]>>:$inputs,
    
        StrAttr:$output_file_path,
        StrArrayAttr:$ids,
        I32ArrayAttr:$calibration_methods
      );
    
      TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<0>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/typestring.go

    }
    
    func (w *typeWriter) tuple(tup *Tuple, variadic bool) {
    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    				w.string(v.name)
    				w.byte(' ')
    			}
    			typ := v.typ
    			if variadic && i == len(tup.vars)-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/go/types/typestring.go

    }
    
    func (w *typeWriter) tuple(tup *Tuple, variadic bool) {
    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    				w.string(v.name)
    				w.byte(' ')
    			}
    			typ := v.typ
    			if variadic && i == len(tup.vars)-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/builtins.go

    					if check.recordTypes() {
    						sig := makeSig(S, S, y.typ)
    						sig.variadic = true
    						check.recordBuiltinType(call.Fun, sig)
    					}
    					x.mode = value
    					x.typ = S
    					break
    				}
    			}
    		}
    
    		// check general case by creating custom signature
    		sig := makeSig(S, S, NewSlice(T)) // []T required for variadic signature
    		sig.variadic = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    struct AssertTypeEq;
    
    template <typename T>
    struct AssertTypeEq<T, T> {
      typedef bool type;
    };
    
    // A unique type used as the default value for the arguments of class
    // template Types.  This allows us to simulate variadic templates
    // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
    // support directly.
    struct None {};
    
    // The following family of struct and struct templates are used to
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/tests/duplicate_shape_determining_constants.mlir

      %axis = "tf.Const"() {device = "", value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // tf.ConcatV2 accepts a variadic operand. The last operand should be compile
      // time constant.
      %0 = "tf.ConcatV2"(%arg0, %arg0, %arg0, %arg0, %axis) : (tensor<16x1xf32>, tensor<16x1xf32>, tensor<16x1xf32>, tensor<16x1xf32>, tensor<i32>) -> tensor<16x4xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 07:44:46 UTC 2022
    - 11K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    struct AssertTypeEq;
    
    template <typename T>
    struct AssertTypeEq<T, T> {
      typedef bool type;
    };
    
    // A unique type used as the default value for the arguments of class
    // template Types.  This allows us to simulate variadic templates
    // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
    // support directly.
    struct None {};
    
    // The following family of struct and struct templates are used to
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top