- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Variadic (0.14 sec)
-
src/cmd/api/main_test.go
} } buf.WriteByte(']') } func (w *Walker) writeParams(buf *bytes.Buffer, t *types.Tuple, variadic bool) { buf.WriteByte('(') for i, n := 0, t.Len(); i < n; i++ { if i > 0 { buf.WriteString(", ") } typ := t.At(i).Type() if variadic && i+1 == n { buf.WriteString("...") typ = typ.(*types.Slice).Elem() } w.writeType(buf, typ) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
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: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
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: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0) -
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: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0) -
RELEASE.md
(incl. anti-aliasing). * Renamed `tf.image` functions to remove duplicate "image" where it is redundant. * Variadic reduce is supported on CPU Variadic reduce is supported on CPU * Remove unused `StringViewVariantWrapper`. * Delete unused `Fingerprint64Map` op registration * Add broadcasting support to `tf.matmul`.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Oct 22 14:33:53 UTC 2024 - 735.3K bytes - Viewed (0)