Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 90 for Unary (0.05 sec)

  1. src/cmd/compile/internal/ir/fmt.go

    		}
    		fmt.Fprintf(s, "make(%v)", n.Type())
    
    	case OMAKESLICECOPY:
    		n := n.(*MakeExpr)
    		fmt.Fprintf(s, "makeslicecopy(%v, %v, %v)", n.Type(), n.Len, n.Cap)
    
    	case OPLUS, ONEG, OBITNOT, ONOT, ORECV:
    		// Unary
    		n := n.(*UnaryExpr)
    		fmt.Fprintf(s, "%v", n.Op())
    		if n.X != nil && n.X.Op() == n.Op() {
    			fmt.Fprint(s, " ")
    		}
    		exprFmt(n.X, s, nprec+1)
    
    	case OADDR:
    		n := n.(*AddrExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    	case *ast.TypeAssertExpr:
    		return "type assertion"
    	case *ast.TypeSpec:
    		return "type specification"
    	case *ast.TypeSwitchStmt:
    		return "type switch"
    	case *ast.UnaryExpr:
    		return fmt.Sprintf("unary %s operation", n.Op)
    	case *ast.ValueSpec:
    		return "value specification"
    
    	}
    	panic(fmt.Sprintf("unexpected node type: %T", n))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/go/constant/value.go

    }
    
    // is63bit reports whether x can be represented using 63 bits.
    func is63bit(x int64) bool {
    	const s = 63
    	return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    }
    
    // UnaryOp returns the result of the unary expression op y.
    // The operation must be defined for the operand.
    // If prec > 0 it specifies the ^ (xor) result size in bits.
    // If y is [Unknown], the result is [Unknown].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K 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