- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 121 for variadicOk (0.15 sec)
-
tensorflow/compiler/mlir/tfrt/ir/gpu_ops.td
}]; let arguments = (ins Variadic<TFTensorType>:$operands, StrAttr:$func_name, I64ArrayAttr:$resource_indices, I64ArrayAttr:$used_output_indices ); let results = (outs Variadic<TFTensorType>:$results ); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 3.3K bytes - Viewed (0) -
test/ddd2.go
// rundir // Copyright 2010 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. // Test that variadic functions work across package boundaries.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 252 bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td
}]; let arguments = (ins Variadic<TFTensorType>:$operands_and_static_shapes, DenseI32ArrayAttr:$constant_operand_indices, StrAttr:$metadata, StrAttr:$mlir_module, UI32Attr:$num_operands, DenseI32ArrayAttr:$operands_with_static_shape, StrAttr:$producer_name ); let results = (outs TFTensorType:$rendezvous_key_base, Variadic<MlrtFutureType>:$results );
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 04 21:25:31 UTC 2023 - 3.1K bytes - Viewed (0) -
test/inline_variadic.go
// errorcheck -0 -m // Copyright 2016 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. // Test inlining of variadic functions. // See issue #18116. package foo func head(xs ...string) string { // ERROR "can inline head" "leaking param: xs to result" return xs[0] } func f() string { // ERROR "can inline f"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:45 UTC 2021 - 513 bytes - Viewed (0) -
test/ddd2.dir/ddd3.go
// Copyright 2010 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. // Test that variadic functions work across package boundaries. package main import "./ddd2" func main() { if x := ddd.Sum(1, 2, 3); x != 6 { println("ddd.Sum 6", x) panic("fail") } if x := ddd.Sum(); x != 0 { println("ddd.Sum 0", x) panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 583 bytes - Viewed (0) -
test/fixedbugs/issue45913.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 03 15:03:57 UTC 2021 - 389 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
if !sig.Variadic() { // Skip checking non-variadic functions. return "", -1 } idx := sig.Params().Len() - 2 if idx < 0 { // Skip checking variadic functions without // fixed arguments. return "", -1 } s, ok := stringConstantArg(pass, call, idx) if !ok { // The last argument before variadic args isn't a string. return "", -1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
src/reflect/makefunc.go
// // The implementation fn can assume that the argument [Value] slice // has the number and type of arguments given by typ. // If typ describes a variadic function, the final Value is itself // a slice representing the variadic arguments, as in the // body of a variadic function. The result Value slice returned by fn // must have the number and type of results given by typ. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:20:05 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/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 - 31.5K bytes - Viewed (0) -
test/fixedbugs/issue30898.go
// errorcheck -0 -m // Copyright 2019 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. // Test escape analysis for functions with variadic arguments package foo func debugf(format string, args ...interface{}) { // ERROR "can inline debugf" "format does not escape" "args does not escape" // Dummy implementation for non-debug build.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:45 UTC 2021 - 676 bytes - Viewed (0)