Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 109 for variadicOk (0.46 sec)

  1. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

                                      PatternRewriter& rewriter) const override; \
      }
    
    // TODO(antiagainst): Define this pattern in a table-driven manner once variadic
    // operands are properly supported in declarative rewrite rule specification.
    
    DECL_CONVERT_OP(Assert);
    DECL_CONVERT_OP(ConcatV2);
    DECL_CONVERT_OP(BatchMatMul);
    DECL_CONVERT_OP(BatchMatMulV2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

    // Overloaded PrintTo() for tuples of various arities.  We support
    // tuples of up-to 10 fields.  The following implementation works
    // regardless of whether tr1::tuple is implemented using the
    // non-standard variadic template feature or not.
    
    inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) {
      PrintTupleTo(t, os);
    }
    
    template <typename T1>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      auto operandSegmentSizes = getOperation()->getAttrOfType<DenseI32ArrayAttr>(
          operand_segment_size_attr);
    
      // `operandSegmentSizes` attribute indicates the sizes of the two
      // variadic operands of `BatchFunctionOp`: `in_tensors` and
      // `captured_tensors`. The numbers have to be updated as arguments are
      // erased.
      const int32_t num_in_original = operandSegmentSizes[0];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback.go

    		}
    	}()
    	C.callGoFoo()
    }
    
    //export goFoo
    func goFoo() {
    	x := 1
    	for i := 0; i < 10000; i++ {
    		// variadic call mallocs + writes to
    		variadic(x, x, x)
    		if x != 1 {
    			panic("bad x")
    		}
    	}
    }
    
    func variadic(x ...interface{}) {}
    
    func testBlocking(t *testing.T) {
    	c := make(chan int)
    	go func() {
    		for i := 0; i < 10; i++ {
    			c <- <-c
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    </p>
    
    <p>
    The final incoming parameter in a function signature may have
    a type prefixed with <code>...</code>.
    A function with such a parameter is called <i>variadic</i> and
    may be invoked with zero or more arguments for that parameter.
    </p>
    
    <pre>
    func()
    func(x int) int
    func(a, _ int, z float32) bool
    func(a, b int, z float32) (bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    C compilers are aware of this calling convention and adjust
    the call accordingly, but Go cannot. In Go, you must pass
    the pointer to the first element explicitly: C.f(&C.x[0]).
    
    Calling variadic C functions is not supported. It is possible to
    circumvent this by using a C function wrapper. For example:
    
    	package main
    
    	// #include <stdio.h>
    	// #include <stdlib.h>
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K 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)
  8. doc/go_spec.html

    </p>
    
    <p>
    The final incoming parameter in a function signature may have
    a type prefixed with <code>...</code>.
    A function with such a parameter is called <i>variadic</i> and
    may be invoked with zero or more arguments for that parameter.
    </p>
    
    <pre>
    func()
    func(x int) int
    func(a, _ int, z float32) bool
    func(a, b int, z float32) (bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

    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
    - 181.3K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

    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
    - 181.3K bytes
    - Viewed (0)
Back to top