- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for op2str2 (0.15 sec)
-
src/go/types/expr.go
switch e := e.(type) { case *ast.BinaryExpr: if int(e.Op) < len(op2str2) { return op2str2[e.Op] } case *ast.UnaryExpr: if int(e.Op) < len(op2str1) { return op2str1[e.Op] } } return "" } var op2str1 = [...]string{ token.XOR: "bitwise complement", } // This is only used for operations that may cause overflow. var op2str2 = [...]string{ token.ADD: "addition",
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/compile/internal/types2/expr.go
op := int(e.Op) if e.Y == nil { if op < len(op2str1) { return op2str1[op] } } else { if op < len(op2str2) { return op2str2[op] } } } return "" } var op2str1 = [...]string{ syntax.Xor: "bitwise complement", } // This is only used for operations that may cause overflow. var op2str2 = [...]string{ syntax.Add: "addition",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
loc.loc.col_offset) else: return 'loc(unknown)' def _emit_with_loc(self, op_str, node=None): """Emit the mlir operation with the location associated with the node. Args: op_str: The mlir operation string to be emitted. node: The node of the AST tree, the mlir operation translated from. """ loc = '' if node:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0)