- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for decls (0.29 sec)
-
src/go/ast/filter.go
// Collect declarations from all package files. var decls []Decl if ndecls > 0 { decls = make([]Decl, ndecls) funcs := make(map[string]int) // map of func name -> decls index i := 0 // current index n := 0 // number of filtered entries for _, filename := range filenames { f := pkg.Files[filename] for _, d := range f.Decls { if mode&FilterFuncDuplicates != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/BUILD
name = "tfrt_fallback_sync_opdefs_inc_gen", tbl_outs = [ ( ["-gen-op-decls"], "tfrt_fallback_sync.h.inc", ), ( ["-gen-op-defs"], "tfrt_fallback_sync.cpp.inc", ), ( [ "-gen-dialect-decls", "-dialect=tfrt_fallback_sync", ],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 27 20:43:07 UTC 2024 - 7.4K bytes - Viewed (0) -
src/go/ast/example_test.go
cmap := ast.NewCommentMap(fset, f, f.Comments) // Remove the first variable declaration from the list of declarations. for i, decl := range f.Decls { if gen, ok := decl.(*ast.GenDecl); ok && gen.Tok == token.VAR { copy(f.Decls[i:], f.Decls[i+1:]) f.Decls = f.Decls[:len(f.Decls)-1] break } } // Use the comment map to filter comments that don't belong anymore
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:44:50 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/BUILD
"@llvm-project//mlir:SideEffectInterfacesTdFiles", ], ) gentbl_cc_library( name = "mlrt_ops_inc_gen", tbl_outs = [ ( ["-gen-op-decls"], "mlrt_ops.h.inc", ), ( ["-gen-op-defs"], "mlrt_ops.cpp.inc", ), ], tblgen = "@llvm-project//mlir:mlir-tblgen", td_file = "mlrt_ops.td",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 17:04:28 UTC 2024 - 4.6K bytes - Viewed (0) -
src/go/doc/example.go
funcDecl := &ast.FuncDecl{ Name: ast.NewIdent("main"), Type: f.Type, Body: body, } decls := make([]ast.Decl, 0, 2+len(depDecls)) decls = append(decls, importDecl) decls = append(decls, depDecls...) decls = append(decls, funcDecl) slices.SortFunc(decls, func(a, b ast.Decl) int { return cmp.Compare(a.Pos(), b.Pos()) }) slices.SortFunc(comments, func(a, b *ast.CommentGroup) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 21.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/format.go
type format struct{} func (*format) LibraryName() string { return "format" } func ZeroArgumentFunctionBinding(binding func() ref.Val) decls.OverloadOpt { return func(o *decls.OverloadDecl) (*decls.OverloadDecl, error) { wrapped, err := decls.FunctionBinding(func(values ...ref.Val) ref.Val { return binding() })(o) if err != nil { return nil, err } if len(wrapped.ArgTypes()) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 8.2K bytes - Viewed (0) -
src/go/printer/printer_test.go
if got != want { t.Errorf("got:\n%s\nwant:\n%s\n", got, want) } } var decls = []string{ `import "fmt"`, "const pi = 3.1415\nconst e = 2.71828\n\nvar x = pi", "func sum(x, y int) int\t{ return x + y }", } func TestDeclLists(t *testing.T) { for _, src := range decls { file, err := parser.ParseFile(fset, "", "package p;"+src, parser.ParseComments) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 20.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/format.go
limitations under the License. */ package cel import ( "fmt" "reflect" "github.com/google/cel-go/cel" "github.com/google/cel-go/checker/decls" "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" ) var ( FormatObject = decls.NewObjectType("kubernetes.NamedFormat") FormatType = cel.ObjectType("kubernetes.NamedFormat") ) // Format provdes a CEL representation of kubernetes format
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/BUILD
], ) gentbl_cc_library( name = "clustering_passes_inc_gen", compatible_with = get_compatible_with_portable(), tbl_outs = [ ( [ "-gen-pass-decls", "-name=TFXLABridgeClustering", ], "clustering_passes.h.inc", ), ], tblgen = "@llvm-project//mlir:mlir-tblgen", td_file = "clustering_passes.td",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 17:50:14 UTC 2024 - 17.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/BUILD
], ) gentbl_cc_library( name = "tensorflow_op_interfaces_inc_gen", compatible_with = get_compatible_with_portable(), tbl_outs = [ ( ["-gen-op-interface-decls"], "ir/tf_op_interfaces.h.inc", ), ( ["-gen-op-interface-defs"], "ir/tf_op_interfaces.cc.inc", ), ], tblgen = "@llvm-project//mlir:mlir-tblgen",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 47.7K bytes - Viewed (0)