Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 85 for Unary (0.08 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

                                                 #v1, \
                                                 pred, \
                                                 v1), on_failure)
    
    // Unary predicate assertion macros.
    #define EXPECT_PRED_FORMAT1(pred_format, v1) \
      GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
    #define EXPECT_PRED1(pred, v1) \
      GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/go/parser/parser.go

    		arrow := p.pos
    		p.next()
    
    		// If the next token is token.CHAN we still don't know if it
    		// is a channel type or a receive operation - we only know
    		// once we have found the end of the unary expression. There
    		// are two cases:
    		//
    		//   <- type  => (<-type) must be channel type
    		//   <- expr  => <-(expr) is a receive from an expression
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top