Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for funcNames (0.18 sec)

  1. tensorflow/c/c_api_function_test.cc

      // Verify that function and its grad are in host graph's GraphDef
      GraphDef gdef;
      GetGraphDef(host_graph_, &gdef);
      std::vector<string> func_names = GetFuncNames(gdef);
      ASSERT_EQ(2, func_names.size());
      ASSERT_EQ(func_name_, func_names[0]);
      ASSERT_EQ("MyGrad", func_names[1]);
      std::vector<std::pair<string, string>> grads = GetGradDefs(gdef);
      ASSERT_EQ(1, grads.size());
      ASSERT_EQ(func_name_, grads[0].first);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/func.go

    func (f *Func) SetWBPos(pos src.XPos) {
    	if base.Debug.WB != 0 {
    		base.WarnfAt(pos, "write barrier")
    	}
    	if !f.WBPos.IsKnown() {
    		f.WBPos = pos
    	}
    }
    
    // FuncName returns the name (without the package) of the function f.
    func FuncName(f *Func) string {
    	if f == nil || f.Nname == nil {
    		return "<nil>"
    	}
    	return f.Sym().Name
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/internal/coverage/decodemeta/decode.go

    	// Preamble containing number of units, file, and function.
    	numUnits := uint32(d.r.ReadULEB128())
    	fnameidx := uint32(d.r.ReadULEB128())
    	fileidx := uint32(d.r.ReadULEB128())
    
    	f.Srcfile = d.strtab.Get(fileidx)
    	f.Funcname = d.strtab.Get(fnameidx)
    
    	// Now the units
    	f.Units = f.Units[:0]
    	if cap(f.Units) < int(numUnits) {
    		f.Units = make([]coverage.CoverableUnit, 0, numUnits)
    	}
    	for k := uint32(0); k < numUnits; k++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    		a := []byte(test.a)
    		b := []byte(test.b)
    		actual := f(a, b)
    		if actual != test.i {
    			t.Errorf("%s(%q,%q) = %v; want %v", funcName, a, b, actual, test.i)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. internal/grid/trace.go

    		} else {
    			status = http.StatusBadRequest
    		}
    	}
    
    	prefix := t.Prefix
    	if p := handlerPrefixes[h]; p != "" {
    		prefix = p
    	}
    	trace := madmin.TraceInfo{
    		TraceType: t.TraceType,
    		FuncName:  prefix + "." + h.String(),
    		NodeName:  remote,
    		Time:      start,
    		Duration:  end.Sub(start),
    		Path:      t.Subroute,
    		Error:     errString,
    		Bytes:     int64(len(req) + len(resp)),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    		// Remember the first function name encountered per source line
    		// and assume that that line belongs to that function.
    		if _, ok := file.funcName[f.Line]; !ok {
    			file.funcName[f.Line] = f.Func
    		}
    	}
    }
    
    // synthAsm is the special disassembler value used for instructions without an object file.
    const synthAsm = ""
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  7. src/runtime/print.go

    			}
    		}
    		gwrite(markbuf[:])
    		val := *(*uintptr)(unsafe.Pointer(p + i))
    		print(hex(val))
    		print(" ")
    
    		// Can we symbolize val?
    		fn := findfunc(val)
    		if fn.valid() {
    			print("<", funcname(fn), "+", hex(val-fn.entry()), "> ")
    		}
    	}
    	minhexdigits = 0
    	println()
    	printunlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. src/runtime/pprof/proto.go

    	for _, frame := range b.deck.frames {
    		// Write out each line in frame expansion.
    		funcName := runtime_FrameSymbolName(&frame)
    		funcID := uint64(b.funcs[funcName])
    		if funcID == 0 {
    			funcID = uint64(len(b.funcs)) + 1
    			b.funcs[funcName] = int(funcID)
    			newFuncs = append(newFuncs, newFunc{
    				id:        funcID,
    				name:      funcName,
    				file:      frame.File,
    				startLine: int64(runtime_FrameStartLine(&frame)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/staticinit/sched.go

    		}
    		return false
    	}
    
    	for r.Op() == ir.OCONVNOP && !types.Identical(r.Type(), typ) {
    		r = r.(*ir.ConvExpr).X
    	}
    
    	switch r.Op() {
    	case ir.OMETHEXPR:
    		r = r.(*ir.SelectorExpr).FuncName()
    		fallthrough
    	case ir.ONAME:
    		r := r.(*ir.Name)
    		if s.staticcopy(l, loff, r, typ) {
    			return true
    		}
    		// We may have skipped past one or more OCONVNOPs, so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/inline/inlheur/scoring.go

    	if len(fn.Body) == 0 {
    		return
    	}
    	enableDebugTraceIfEnv()
    
    	nameFinder := newNameFinder(fn)
    
    	if debugTrace&debugTraceScoring != 0 {
    		fmt.Fprintf(os.Stderr, "=-= ScoreCalls(%v)\n", ir.FuncName(fn))
    	}
    
    	// If this is an inlinable function, use the precomputed
    	// call site table for it. If the function wasn't an inline
    	// candidate, collect a callsite table for it now.
    	var cstab CallSiteTab
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top