Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for Unary (0.12 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                // - Labels themselves: `@label` in return`@label` or `label@`while...
                is KtLabelReferenceExpression ->
                    false
    
                // - The operation symbol itself in binary and unary operations: `!!`, `+`...
                is KtOperationReferenceExpression ->
                    false
    
                // All other expressions are used if their parent expression uses them.
                else ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/mips64.s

    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVW	M1, R1 // 40010800
    	MOVV	M1, R1 // 40210800
    
    
    //
    // integer operations
    // logical instructions
    // shift instructions
    // unary instructions
    //
    //	LADDW rreg ',' sreg ',' rreg
    //	{
    //		outcode(int($1), &$2, int($4), &$6);
    //	}
    	ADD	R5, R9, R10	// 01255020
    	ADDU	R13, R14, R19	// 01cd9821
    	ADDV	R5, R9, R10	// 0125502c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/riscv/cpu.go

    	RM_RMM              // Round to Nearest, ties to Max Magnitude
    )
    
    // All unary instructions which write to their arguments (as opposed to reading
    // from them) go here. The assembly parser uses this information to populate
    // its AST in a semantically reasonable way.
    //
    // Any instructions not listed here are assumed to either be non-unary or to read
    // from its argument.
    var unaryDst = map[obj.As]bool{
    	ARDCYCLE:    true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

            return success();
          }
        }
        return op->emitOpError("Block has no predecessor");
      }
    
      if (v.getDefiningOp()->getNumOperands() == 1) {
        // If the value is originating from an unary op, assume it's something
        // simple like "cast" and keep tracing.
        return traceUpwardsToArgument(v.getDefiningOp()->getOperand(0), seen, out);
      } else {
        // Typically a tf.VarHandle op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/go/token/token.go

    	}
    	return s
    }
    
    // A set of constants for precedence-based expression parsing.
    // Non-operators have lowest precedence, followed by operators
    // starting with precedence 1 up to unary operators. The highest
    // precedence serves as "catch-all" precedence for selector,
    // indexing, and other operator and delimiter tokens.
    const (
    	LowestPrec  = 0 // non-operators
    	UnaryPrec   = 6
    	HighestPrec = 7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. src/go/constant/value_test.go

    func TestNumbers(t *testing.T) {
    	testNumbers(t, token.INT, intTests)
    	testNumbers(t, token.FLOAT, floatTests)
    	testNumbers(t, token.IMAG, imagTests)
    }
    
    var opTests = []string{
    	// unary operations
    	`+ 0 = 0`,
    	`+ ? = ?`,
    	`- 1 = -1`,
    	`- ? = ?`,
    	`^ 0 = -1`,
    	`^ ? = ?`,
    
    	`! true = false`,
    	`! false = true`,
    	`! ? = ?`,
    
    	// etc.
    
    	// binary operations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  7. test/fixedbugs/issue9604b.go

    					eqn := fmt.Sprintf("%s_%s %s %s_%s != %d", t.name, valname(x), op.name, t.name, valname(y), r)
    					fmt.Printf("\tif %s { println(\"bad: %s\") }\n", eqn, eqn)
    				}
    			}
    		}
    		// test unary ops
    		for _, op := range unops {
    			for _, x := range t.testvalues() {
    				r := t.trunc(op.eval(x))
    				eqn := fmt.Sprintf("%s %s_%s != %d", op.name, t.name, valname(x), r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		n.Op.goString(indent+2, "Op: "))
    }
    
    // Unary is a unary operation in an expression.
    type Unary struct {
    	Op         AST
    	Expr       AST
    	Suffix     bool // true for ++ -- when used as postfix
    	SizeofType bool // true for sizeof (type)
    }
    
    func (u *Unary) print(ps *printState) {
    	op, _ := u.Op.(*Operator)
    	expr := u.Expr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/nodes.go

    	// X.(type)
    	// Lhs := X.(type)
    	TypeSwitchGuard struct {
    		Lhs *Name // nil means no Lhs :=
    		X   Expr  // X.(type)
    		expr
    	}
    
    	Operation struct {
    		Op   Operator
    		X, Y Expr // Y == nil means unary expression
    		expr
    	}
    
    	// Fun(ArgList[0], ArgList[1], ...)
    	CallExpr struct {
    		Fun     Expr
    		ArgList []Expr // nil means no arguments
    		HasDots bool   // last argument is followed by ...
    		expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/expr.go

    func underIs(typ Type, f func(Type) bool) bool {
    	typ = Unalias(typ)
    	if tpar, _ := typ.(*TypeParam); tpar != nil {
    		return tpar.underIs(f)
    	}
    	return f(under(typ))
    }
    
    func (check *Checker) unary(x *operand, e *syntax.Operation) {
    	check.expr(nil, x, e.X)
    	if x.mode == invalid {
    		return
    	}
    
    	op := e.Op
    	switch op {
    	case syntax.And:
    		// spec: "As an exception to the addressability
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top