Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 681 for vfunc (0.07 sec)

  1. src/cmd/compile/internal/ir/func.go

    	fn.SetTypecheck(1)
    
    	name.Func = fn
    
    	return fn
    }
    
    func (f *Func) isStmt() {}
    
    func (n *Func) copy() Node                                  { panic(n.no("copy")) }
    func (n *Func) doChildren(do func(Node) bool) bool          { return doNodes(n.Body, do) }
    func (n *Func) editChildren(edit func(Node) Node)           { editNodes(n.Body, edit) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/func.go

    // (Call typecheck.Func instead.)
    func tcFunc(n *ir.Func) {
    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcFunc", n)(nil)
    	}
    
    	if name := n.Nname; name.Typecheck() == 0 {
    		base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name)
    		name.SetTypecheck(1)
    	}
    }
    
    // tcCall typechecks an OCALL node.
    func tcCall(n *ir.CallExpr, top int) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/func.go

    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    func (f *Func) ConstInt64(t *types.Type, c int64) *Value {
    	return f.constVal(OpConst64, t, c, true)
    }
    func (f *Func) ConstFloat32(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true)
    }
    func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. src/runtime/symtab.go

    }
    
    func (f *Func) raw() *_func {
    	return (*_func)(unsafe.Pointer(f))
    }
    
    func (f *Func) funcInfo() funcInfo {
    	return f.raw().funcInfo()
    }
    
    func (f *_func) funcInfo() funcInfo {
    	// Find the module containing fn. fn is located in the pclntable.
    	// The unsafe.Pointer to uintptr conversions and arithmetic
    	// are safe because we are working with module addresses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/pcln.go

    //	   filename[0]
    //	   filename[1]
    //
    // Looking up a filename then becomes:
    //  0. Given a func, and filename index [K]
    //  1. Get Func.CUIndex:       M := func.cuOffset
    //  2. Find filename offset:   fileOffset := runtime.cutab[M+K]
    //  3. Get the filename:       getcstring(runtime.filetab[fileOffset])
    func (state *pclntab) generateFilenameTabs(ctxt *Link, compUnits []*sym.CompilationUnit, funcs []loader.Sym) []uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. pkg/controlplane/reconcilers/lease_test.go

    	t.Cleanup(func() { server.Terminate(t) })
    
    	newFunc := func() runtime.Object { return &corev1.Endpoints{} }
    	newListFunc := func() runtime.Object { return &corev1.EndpointsList{} }
    	sc.Codec = apitesting.TestStorageCodec(codecs, corev1.SchemeGroupVersion)
    
    	s, dFunc, err := factory.Create(*sc.ForResource(schema.GroupResource{Resource: "endpoints"}), newFunc, newListFunc, "")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  7. src/runtime/syscall_windows_test.go

    }
    
    func TestCallback(t *testing.T) {
    	var x = false
    	nestedCall(t, func() { x = true })
    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    func TestCallbackGC(t *testing.T) {
    	nestedCall(t, runtime.GC)
    }
    
    func TestCallbackPanicLocked(t *testing.T) {
    	runtime.LockOSThread()
    	defer runtime.UnlockOSThread()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  8. src/debug/gosym/pclntab.go

    // A functab struct is a PC and a func offset.
    type funcTab struct {
    	*LineTable
    	sz int // cached result of t.functabFieldSize
    }
    
    // Count returns the number of func entries in f.
    func (f funcTab) Count() int {
    	return int(f.nfunctab)
    }
    
    // pc returns the PC of the i'th func in f.
    func (f funcTab) pc(i int) uint64 {
    	u := f.uint(f.functab[2*i*f.sz:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top