Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for Unary (0.1 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            file("build/reports/pmd/test.xml").assertContents(containsClass("org.gradle.Class1Test"))
            output.contains "\tUsing multiple unary operators may be a bug"
            output.contains "\tEnsure you override both equals() and hashCode()"
        }
    
        void "can configure number of threads on good code"() {
            goodCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/go/ast/ast.go

    	}
    
    	// A StarExpr node represents an expression of the form "*" Expression.
    	// Semantically it could be a unary "*" expression, or a pointer type.
    	//
    	StarExpr struct {
    		Star token.Pos // position of "*"
    		X    Expr      // operand
    	}
    
    	// A UnaryExpr node represents a unary expression.
    	// Unary "*" expressions are represented via StarExpr nodes.
    	//
    	UnaryExpr struct {
    		OpPos token.Pos   // position of Op
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. src/go/types/expr.go

    	typ = Unalias(typ)
    	if tpar, _ := typ.(*TypeParam); tpar != nil {
    		return tpar.underIs(f)
    	}
    	return f(under(typ))
    }
    
    // The unary expression e may be nil. It's passed in for better error messages only.
    func (check *Checker) unary(x *operand, e *ast.UnaryExpr) {
    	check.expr(nil, x, e.X)
    	if x.mode == invalid {
    		return
    	}
    
    	op := e.Op
    	switch op {
    	case token.AND:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  4. src/compress/bzip2/bzip2.go

    	// tree indexes telling us which tree to use for each 50 symbol block.
    	numSelectors := br.ReadBits(15)
    	treeIndexes := make([]uint8, numSelectors)
    
    	// The tree indexes are move-to-front transformed and stored as unary
    	// numbers.
    	mtfTreeDecoder := newMTFDecoderWithRange(numHuffmanTrees)
    	for i := range treeIndexes {
    		c := 0
    		for {
    			inc := br.ReadBits(1)
    			if inc == 0 {
    				break
    			}
    			c++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	} else if isLower(c) {
    		a, _ = st.operatorName(false)
    		if _, ok := a.(*Cast); ok {
    			isCast = true
    		}
    		if op, ok := a.(*Operator); ok && op.Name == `operator"" ` {
    			n := st.sourceName()
    			a = &Unary{Op: op, Expr: n, Suffix: false, SizeofType: false}
    		}
    	} else if c == 'D' && len(st.str) > 1 && st.str[1] == 'C' {
    		var bindings []AST
    		st.advance(2)
    		for {
    			binding := st.sourceName()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

        (MHLO_ReverseOp $values, (ConvertAxisAttr $values, $axis))>;
    
    //===----------------------------------------------------------------------===//
    // Unary op patterns.
    //===----------------------------------------------------------------------===//
    
    foreach Mapping = [
                       [TF_AbsOp, MHLO_AbsOp],
                       [TF_CeilOp, MHLO_CeilOp],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

      (TF_ConstOp:$res DenseElementsAttr:$value),
      (Arith_ConstantOp $value),
      [(AnyStaticShapeTensor $res)], [], (addBenefit 10)>;
    
    //===----------------------------------------------------------------------===//
    // Unary ops patterns.
    //===----------------------------------------------------------------------===//
    def IsDataFormatNHWC : ConstantAttr<TF_ConvnetDataFormatAttr, "\"NHWC\"">;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    	switch x := x.(type) {
    	case *Name:
    		return x, nil
    	case *Operation:
    		if x.Y == nil {
    			break // unary expr
    		}
    		switch x.Op {
    		case Mul:
    			if name, _ := x.X.(*Name); name != nil && (force || isTypeElem(x.Y)) {
    				// x = name *x.Y
    				op := *x
    				op.X, op.Y = op.Y, nil // change op into unary *op.Y
    				return name, &op
    			}
    		case Or:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      });
      if (!args_same_op) return failure();
    
      // Collect unary operations operands.
      auto unary_operands = llvm::map_range(op.getValues(), [](Value arg) -> Value {
        return arg.getDefiningOp()->getOperand(0);
      });
      SmallVector<Value, 8> unary_ops_args(unary_operands);
    
      // Concatenate unary ops operands.
      auto concat_unary_operands = CreateTfOp<ConcatV2Op>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

              (TF_ModOp $l, $r),
              [(IsLegalNumpyRankedBroadcast $l, $r, $broadcast_dimensions)]>;
    
    //===----------------------------------------------------------------------===//
    // Unary op patterns.
    //===----------------------------------------------------------------------===//
    
    def : Pat<(MHLO_ConvertOp MHLO_Tensor:$operand),
              (TF_CastOp $operand, ConstBoolAttrFalse)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top