Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 90 for Unary (0.06 sec)

  1. test/fixedbugs/issue23587.go

    // errorcheck
    
    // Copyright 2018 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.
    
    package p
    
    func _(x int) {
    	_ = ~x    // unary ~ permitted but the type-checker will complain
    }
    
    func _(x int) {
    	_ = x ~ x // ERROR "unexpected ~ at end of statement"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 26 02:19:42 UTC 2022
    - 345 bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/readWriteAccess/FirIdeNormalAnalysisSourceModuleReadWriteAccessTestGenerated.java

        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/readReferenceInParenthesis.kt");
      }
    
      @Test
      @TestMetadata("unary.kt")
      public void testUnary() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/unary.kt");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. test/fixedbugs/bug082.go

    // run
    
    // Copyright 2009 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.
    
    package main
    
    func main() {
    	x := 0
    	x = ^x // unary ^ not yet implemented
    	if x != ^0 {
    		println(x, " ", ^0)
    		panic("fail")
    	}
    }
    
    /*
    uetli:~/Source/go/test/bugs gri$ 6g bug082.go
    bug082.go:7: fatal error: optoas: no entry COM-<int32>INT32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 413 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        return argumentOp->getOperand(0);
      }
    
      return {};
    }
    
    }  // namespace detail
    
    // This class adds property that the operation is idempotent.
    // This means a unary to unary operation "f" that satisfies f(f(x)) = f(x),
    // or a binary operation "g" that satisfies g(x, x) = x.
    template <typename ConcreteType>
    class IsIdempotent : public TraitBase<ConcreteType, IsIdempotent> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc

    }
    
    // TODO(b/158596585): Replace this with a cost model analysis.
    bool IsTrivialUnaryOperation(Operation* op) {
      return llvm::isa<TF::CastOp, TF::IdentityOp>(op);
    }
    
    // Adds outside compilation attributes to unary ops such as Identity/Cast ops
    // at the head of TPU computation that is used only by other outside compiled
    // ops. Identity ops and Cast ops is commonly added to the start of TPU
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser.go

    type In struct {
    	JPathExpr *JSONPath `parser:"@@"`
    	ListExpr  *ListExpr `parser:"| @@"`
    }
    
    // Grammar for Operand:
    //
    // operand → multOp ( ("-" | "+") multOp )*
    // multOp  → unary ( ("/" | "*" | "%") unary )*
    // unary   → "-" unary | primary
    // primary → Value | Variable | "(" expression ")"
    //
    
    // An Operand is a single term followed by an optional sequence of
    // terms separated by +/-
    type Operand struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/linalg_grad.cc

      return std::make_tuple(reduced_subs, reduced_dims,
                             Const(scope, reduced_axes_tensor));
    }
    
    // Returns the gradient wrt input for a unary einsum with reductions.
    //
    //  scope: Scope for grad operations.
    //  output_grad: The gradient wrt the output of a unary einsum operation.
    //  output_subs: The output subscript. (E.g. `ac` for equation `abc->ac`).
    //  input_subs: The input subscript. (E.g. `abc` for equation `abc->ac`).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/ytab.go

    const argListMax int = 6
    
    type argList [argListMax]uint8
    
    type ytab struct {
    	zcase   uint8
    	zoffset uint8
    
    	// Last arg is usually destination.
    	// For unary instructions unaryDst is used to determine
    	// if single argument is a source or destination.
    	args argList
    }
    
    // Returns true if yt is compatible with args.
    //
    // Elements from args and yt.args are used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 06 15:40:03 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/expr0.go

    // Copyright 2012 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.
    
    // unary expressions
    
    package expr0 
    
    type mybool bool
    
    var (
    	// bool
    	b0 = true
    	b1 bool = b0
    	b2 = !true
    	b3 = !b1
    	b4 bool = !true
    	b5 bool = !b4
    	b6 = +b0 /* ERROR "not defined" */
    	b7 = -b0 /* ERROR "not defined" */
    	b8 = ^b0 /* ERROR "not defined" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. src/regexp/syntax/simplify.go

    		}
    
    		// Some degenerate case like min > max or min < max < 0.
    		// Handle as impossible match.
    		return &Regexp{Op: OpNoMatch}
    	}
    
    	return re
    }
    
    // simplify1 implements Simplify for the unary OpStar,
    // OpPlus, and OpQuest operators. It returns the simple regexp
    // equivalent to
    //
    //	Regexp{Op: op, Flags: flags, Sub: {sub}}
    //
    // under the assumption that sub is already simple, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 4.2K bytes
    - Viewed (0)
Back to top