- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 90 for Unary (0.04 sec)
-
test/fixedbugs/issue13273.go
// Copyright 2015 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. // Check that we correctly construct (and report errors) // for unary expressions of the form <-x where we only // know after parsing x whether <-x is a receive operation // or a channel type. package n func f() { // test case from issue 13273 <-chan int((chan int)(nil))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 01 22:37:04 UTC 2022 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/GroovyInteroperabilityTest.kt
) } @Test fun `can adapt unary function using KotlinClosure1`() { fun closure(function: String.() -> String) = KotlinClosure1(function) assertEquals( "GROOVY", closure { uppercase(Locale.US) }.call("groovy") ) } @Test fun `can adapt unary null receiving function using KotlinClosure1`() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 10.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/mips.s
// LMOVW mreg ',' rreg // { // outcode(int($1), &$2, 0, &$4); // } MOVW M1, R1 MOVW M1, R1 // // integer operations // logical instructions // shift instructions // unary instructions // // LADDW rreg ',' sreg ',' rreg // { // outcode(int($1), &$2, int($4), &$6); // } ADD R1, R2, R3 // LADDW imm ',' sreg ',' rreg // {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 08 12:17:12 UTC 2023 - 6.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/cpp_generator_test.cc
string output_dir = "tensorflow/c/experimental/ops/gen/cpp/golden"; string source_dir = "tensorflow"; string api_dirs = ""; std::vector<string> ops = { "Neg", // Simple unary Op "MatMul", // 2 inputs & attrs with default values "IdentityN", // Variadic input+output "SparseSoftmaxCrossEntropyWithLogits", // 2 outputs "AccumulatorApplyGradient", // 0 outputs
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 18 17:02:28 UTC 2022 - 2.9K bytes - Viewed (0) -
test/peano.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that heavy recursion works. Simple torture test for // segmented stacks: do math in unary by recursion. package main import "runtime" type Number *Number // ------------------------------------- // Peano primitives func zero() *Number { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 30 19:39:18 UTC 2018 - 2.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/expr_test.go
var exprTests = []exprTest{ // Simple {"0", 0, true}, {"3", 3, true}, {"070", 8 * 7, true}, {"0x0f", 15, true}, {"0xFF", 255, true}, {"9223372036854775807", 9223372036854775807, true}, // max int64 // Unary {"-0", 0, true}, {"~0", -1, true}, {"~0*0", 0, true}, {"+3", 3, true}, {"-3", -3, true}, {"-9223372036854775808", -9223372036854775808, true}, // min int64 // Binary {"3+4", 3 + 4, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
if (op->getNumOperands() != 1) { return rewriter.notifyMatchFailure( op, "Function only supports unary einsum op"); } RankedTensorType lhs = mlir::dyn_cast_or_null<RankedTensorType>(op.getOperand(0).getType()); if (!lhs) { return failure(); } // unary einsum op is only supported to the case where the operation can be // replaced using reduce_sum and/or transpose
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt
thisObject: Any? = null ) : groovy.lang.Closure<V?>(owner, thisObject) { @Suppress("unused") // to be called dynamically by Groovy fun doCall(): V? = function() } /** * Adapts an unary Kotlin function to an unary Groovy [Closure]. * * @param T the type of the single argument to the closure. * @param V the return type. * @param function the function to be adapted. * @param owner optional owner of the Closure.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 9.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/universe.go
okfor[ir.OOR] = okforand[:] okfor[ir.OOROR] = okforbool[:] okfor[ir.OSUB] = okforarith[:] okfor[ir.OXOR] = okforand[:] okfor[ir.OLSH] = okforand[:] okfor[ir.ORSH] = okforand[:] // unary okfor[ir.OBITNOT] = okforand[:] okfor[ir.ONEG] = okforarith[:] okfor[ir.ONOT] = okforbool[:] okfor[ir.OPLUS] = okforarith[:] // special okfor[ir.OCAP] = okforcap[:] okfor[ir.OLEN] = okforlen[:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 4.7K bytes - Viewed (0) -
cluster/images/etcd-version-monitor/etcd-version-monitor.go
renameLabels(mf, map[string]string{ "grpc_method": "method", "grpc_service": "service", }) filterMetricsByLabels(mf, map[string]string{ "grpc_type": "unary", }) groupCounterMetricsByLabels(mf, map[string]bool{ "grpc_type": true, "grpc_code": true, }) return mf, nil }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 16 06:50:02 UTC 2023 - 11.5K bytes - Viewed (0)