- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for parseTypes (0.91 sec)
-
src/go/parser/parser.go
defer un(trace(p, "PointerType")) } star := p.expect(token.MUL) base := p.parseType() return &ast.StarExpr{Star: star, X: base} } func (p *parser) parseDotsType() *ast.Ellipsis { if p.trace { defer un(trace(p, "DotsType")) } pos := p.expect(token.ELLIPSIS) elt := p.parseType() return &ast.Ellipsis{Ellipsis: pos, Elt: elt} } type field struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc
>(); addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.cpp.inc" >(); } // Parse a type registered to this dialect. mlir::Type TensorflowMlrtDialect::parseType( mlir::DialectAsmParser &parser) const { llvm::StringRef keyword; if (parser.parseKeyword(&keyword)) return mlir::Type(); if (keyword == "tensor") return TFTensorType::get(getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc
addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cpp.inc" >(); } /// Parse a type registered to this dialect. Type FallbackDialect::parseType(DialectAsmParser &parser) const { StringRef keyword; if (parser.parseKeyword(&keyword)) return Type(); if (keyword == "tf_tensor") return TFTensorType::get(getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/batch-job-common-types.go
func (b BatchJobSnowball) Validate() error { if *b.Batch <= 0 { return BatchJobYamlErr{ line: b.line, col: b.col, msg: "batch number should be non positive zero", } } _, err := humanize.ParseBytes(*b.SmallerThan) if err != nil { return BatchJobYamlErr{ line: b.line, col: b.col, msg: err.Error(), } } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverter.java
this.moduleIdentifierFactory = moduleIdentifierFactory; } /** * Empty String for either group or module name is not allowed. */ @Override protected ComponentSelector parseType(String notation) { assert notation != null; String[] split = notation.split(":"); if (split.length < 2 || split.length > 3) { throw new UnsupportedNotationException(notation);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ComponentIdentifierParserFactory.java
StringNotationConverter() { super(String.class); } @Override protected ModuleComponentIdentifier parseType(String notation) { String[] parts = notation.split(":"); if (parts.length != 3) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.h
Operation *materializeConstant(OpBuilder &builder, Attribute value, Type type, Location loc) override; // Parse a type registered to this dialect. Type parseType(DialectAsmParser &parser) const override; // Prints a type registered to this dialect. void printType(Type ty, DialectAsmPrinter &os) const override; }; } // namespace TFR } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 01 14:00:36 UTC 2023 - 2.5K bytes - Viewed (0) -
src/go/printer/testdata/parser.go
defer un(trace(p, "PointerType")) } star := p.expect(token.MUL) base := p.parseType() return &ast.StarExpr{star, base} } func (p *parser) tryVarType(isParam bool) ast.Expr { if isParam && p.tok == token.ELLIPSIS { pos := p.pos p.next() typ := p.tryIdentOrType(isParam) // don't use parseType so we can provide better error message if typ == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h
public: static StringRef getDialectNamespace() { return "tf_executor"; } explicit TensorFlowExecutorDialect(MLIRContext *context); // Parses a type registered to this dialect. Type parseType(DialectAsmParser &parser) const override; // Prints a type registered to this dialect. void printType(Type type, DialectAsmPrinter &os) const override; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 07:17:01 UTC 2023 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc
addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.cpp.inc" >(); } // Parse a type registered to this dialect. mlir::Type MlrtDialect::parseType(mlir::DialectAsmParser &parser) const { llvm::StringRef keyword; if (parser.parseKeyword(&keyword)) return mlir::Type(); if (keyword == "future") return FutureType::get(getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.2K bytes - Viewed (0)