Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,782 for vfunc (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

    // CHECK-LABEL: func @check_sharding_attrs_exists_for_empty_cluster_func
    func.func @check_sharding_attrs_exists_for_empty_cluster_func() {
      "tf_device.cluster_func"() {func = @empty_func, step_marker_location = "", num_cores_per_replica = 1 : i64} : () -> ()
      // CHECK: input_sharding_configuration = []
      // CHECK: output_sharding_configuration = []
      func.return
    }
    
    // CHECK-LABEL: func @empty_func() {
    func.func @empty_func() {
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  2. src/runtime/plugin.go

    		var val any
    		valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val))
    		(*valp)[0] = unsafe.Pointer(t)
    
    		name := symName.Name()
    		if t.Kind_&abi.KindMask == abi.Func {
    			name = "." + name
    		}
    		syms[name] = val
    	}
    	return md.pluginpath, syms, md.inittasks, ""
    }
    
    func pluginftabverify(md *moduledata) {
    	badtable := false
    	for i := 0; i < len(md.ftab); i++ {
    		entry := md.textAddr(md.ftab[i].entryoff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/cmd/gofmt/internal.go

    	"go/printer"
    	"go/token"
    	"strings"
    )
    
    // parse parses src, which was read from the named file,
    // as a Go source file, declaration, or statement list.
    func parse(fset *token.FileSet, filename string, src []byte, fragmentOk bool) (
    	file *ast.File,
    	sourceAdj func(src []byte, indent int) []byte,
    	indentAdj int,
    	err error,
    ) {
    	// Try as whole source file.
    	file, err = parser.ParseFile(fset, filename, src, parserMode)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. src/go/format/internal.go

    	"go/printer"
    	"go/token"
    	"strings"
    )
    
    // parse parses src, which was read from the named file,
    // as a Go source file, declaration, or statement list.
    func parse(fset *token.FileSet, filename string, src []byte, fragmentOk bool) (
    	file *ast.File,
    	sourceAdj func(src []byte, indent int) []byte,
    	indentAdj int,
    	err error,
    ) {
    	// Try as whole source file.
    	file, err = parser.ParseFile(fset, filename, src, parserMode)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

              TF::kClusterOutlinedFunctionNameAttr)) {
        op->removeAttr(TF::kClusterOutlinedFunctionNameAttr);
        func_name = outlined_func_name.str();
      } else {
        func_name = "_func";
      }
    
      func::FuncOp outlined_func =
          func::FuncOp::create(op.getLoc(), func_name, func_type);
    
      // This function is not externally visible and marking it private would allow
      // symbol-dce pass to remove it when it is not referenced anymore.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/nowb.go

    	// the caller to a list of callees.
    	extraCalls map[*ir.Func][]nowritebarrierrecCall
    
    	// curfn is the current function during AST walks.
    	curfn *ir.Func
    }
    
    type nowritebarrierrecCall struct {
    	target *ir.Func // caller or callee
    	lineno src.XPos // line of call
    }
    
    // newNowritebarrierrecChecker creates a nowritebarrierrecChecker. It
    // must be called before walk.
    func newNowritebarrierrecChecker() *nowritebarrierrecChecker {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. internal/s3select/sql/aggregation.go

    	}
    
    	return err
    }
    
    func (e *AliasedExpression) aggregateRow(r Record, tableAlias string) error {
    	return e.Expression.aggregateRow(r, tableAlias)
    }
    
    func (e *Expression) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.And {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    var InstrumentGlobalsMap = make(map[string]ir.Node)
    var InstrumentGlobalsSlice = make([]ir.Node, 0, 0)
    
    func canInstrumentGlobal(g ir.Node) bool {
    	if g.Op() != ir.ONAME {
    		return false
    	}
    	n := g.(*ir.Name)
    	if n.Class == ir.PFUNC {
    		return false
    	}
    	if n.Sym().Pkg != types.LocalPkg {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/cover/cover_test.go

    // itself via "go test -cover".
    func TestCoverWithToolExec(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	toolexecArg := "-toolexec=" + testcover(t)
    
    	t.Run("CoverHTML", func(t *testing.T) {
    		testCoverHTML(t, toolexecArg)
    	})
    	t.Run("HtmlUnformatted", func(t *testing.T) {
    		testHtmlUnformatted(t, toolexecArg)
    	})
    	t.Run("FuncWithDuplicateLines", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    	}
    }
    
    // usage: defer p.trace(msg)()
    func (p *parser) trace(msg string) func() {
    	p.print(msg + " (")
    	const tab = ". "
    	p.indent = append(p.indent, tab...)
    	return func() {
    		p.indent = p.indent[:len(p.indent)-len(tab)]
    		if x := recover(); x != nil {
    			panic(x) // skip print_trace
    		}
    		p.print(")")
    	}
    }
    
    func (p *parser) print(msg string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top