Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for variadicOk (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

        TF_StrTensor:$names,
        Variadic<TF_StrTensor>:$sparse_keys,
        Variadic<TF_StrTensor>:$dense_keys,
        Variadic<TensorOf<[TF_Float32, TF_Int64, TF_Str]>>:$dense_defaults,
    
        TF_ShapeAttrArray:$dense_shapes
      );
    
      let results = (outs
        Variadic<TF_Int64Tensor>:$sparse_indices,                           // len(sparse_types)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  2. src/reflect/type.go

    //
    // The variadic argument controls whether the function is variadic. FuncOf
    // panics if the in[len(in)-1] does not represent a slice and variadic is
    // true.
    func FuncOf(in, out []Type, variadic bool) Type {
    	if variadic && (len(in) == 0 || in[len(in)-1].Kind() != Slice) {
    		panic("reflect.FuncOf: last arg of variadic func must be slice")
    	}
    
    	// Make a func type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // MSVC-based platforms.  We map the GTEST_SNPRINTF_ macro to the appropriate
    // function in order to achieve that.  We use macro definition here because
    // snprintf is a variadic function.
    #if _MSC_VER >= 1400 && !GTEST_OS_WINDOWS_MOBILE
    // MSVC 2005 and above support variadic macros.
    # define GTEST_SNPRINTF_(buffer, size, format, ...) \
         _snprintf_s(buffer, size, size, format, __VA_ARGS__)
    #elif defined(_MSC_VER)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  4. src/text/template/exec_test.go

    	{"bug14c", `{{$x := (1.0)}}{{$y := ("hello")}}{{$x.anything}}{{$y.true}}`, "", tVal, false},
    	// Didn't call validateType on function results. Issue 10800.
    	{"bug15", "{{valueString returnInt}}", "", tVal, false},
    	// Variadic function corner cases. Issue 10946.
    	{"bug16a", "{{true|printf}}", "", tVal, false},
    	{"bug16b", "{{1|printf}}", "", tVal, false},
    	{"bug16c", "{{1.1|printf}}", "", tVal, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // MSVC-based platforms.  We map the GTEST_SNPRINTF_ macro to the appropriate
    // function in order to achieve that.  We use macro definition here because
    // snprintf is a variadic function.
    #if _MSC_VER >= 1400 && !GTEST_OS_WINDOWS_MOBILE
    // MSVC 2005 and above support variadic macros.
    # define GTEST_SNPRINTF_(buffer, size, format, ...) \
         _snprintf_s(buffer, size, size, format, __VA_ARGS__)
    #elif defined(_MSC_VER)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  6. src/html/template/exec_test.go

    	{"bug14c", `{{$x := (1.0)}}{{$y := ("hello")}}{{$x.anything}}{{$y.true}}`, "", tVal, false},
    	// Didn't call validateType on function results. Issue 10800.
    	{"bug15", "{{valueString returnInt}}", "", tVal, false},
    	// Variadic function corner cases. Issue 10946.
    	{"bug16a", "{{true|printf}}", "", tVal, false},
    	{"bug16b", "{{1|printf}}", "", tVal, false},
    	{"bug16c", "{{1.1|printf}}", "", tVal, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/type.go

    func (t *Type) NumRecvs() int   { return len(t.Recvs()) }
    func (t *Type) NumParams() int  { return len(t.Params()) }
    func (t *Type) NumResults() int { return len(t.Results()) }
    
    // IsVariadic reports whether function type t is variadic.
    func (t *Type) IsVariadic() bool {
    	n := t.NumParams()
    	return n > 0 && t.Param(n-1).IsDDD()
    }
    
    // Recv returns the receiver of function type t, if any.
    func (t *Type) Recv() *Field {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top