- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Unary (0.13 sec)
-
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) -
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) -
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) -
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) -
guava-tests/test/com/google/common/collect/SetsTest.java
} } /** The 0-ary cartesian product is a single empty list. */ public void testCartesianProduct_zeroary() { assertThat(Sets.cartesianProduct()).containsExactly(list()); } /** A unary cartesian product is one list of size 1 for each element in the input set. */ public void testCartesianProduct_unary() { assertThat(Sets.cartesianProduct(set(1, 2))).containsExactly(list(1), list(2)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 49.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt
) } KaCompoundAccess.IncOrDecOperation.Precedence.POSTFIX -> { // For postfix case, the last argument is the operation call invoked on a synthetic local variable `<unary>`. This local // variable is initialized by calling the `get` function. val operationCall = lastArg as? FirFunctionCall ?: return null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 73K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM64Ops.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 58.8K bytes - Viewed (0)