Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for funcNames (0.28 sec)

  1. cluster/gce/gci/configure_helper_test.go

    	manifestFuncName    string
    	t                   *testing.T
    }
    
    func newManifestTestCase(t *testing.T, manifest, funcName string, auxManifests []string) *ManifestTestCase {
    	c := &ManifestTestCase{
    		t:                t,
    		manifest:         manifest,
    		auxManifests:     auxManifests,
    		manifestFuncName: funcName,
    	}
    
    	d, err := os.MkdirTemp("", "configure-helper-test")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  2. src/runtime/plugin.go

    		name := funcname(f)
    
    		// A common bug is f.entry has a relocation to a duplicate
    		// function symbol, meaning if we search for its PC we get
    		// a valid entry with a name that is useful for debugging.
    		name2 := "none"
    		entry2 := uintptr(0)
    		f2 := findfunc(entry)
    		if f2.valid() {
    			name2 = funcname(f2)
    			entry2 = f2.entry()
    		}
    		badtable = true
    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. internal/mcontext/ctxt.go

    // TraceCtxt holds related tracing data of a http request.
    type TraceCtxt struct {
    	RequestRecorder  *xhttp.RequestRecorder
    	ResponseRecorder *xhttp.ResponseRecorder
    
    	FuncName string
    	AmzReqID string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 06 17:27:26 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. src/internal/coverage/encodemeta/encode.go

    	hashFuncDesc(b.h, &f, b.tmp)
    	fd := funcDesc{}
    	b.tmp = b.tmp[:0]
    	b.tmp = uleb128.AppendUleb128(b.tmp, uint(len(f.Units)))
    	b.tmp = uleb128.AppendUleb128(b.tmp, uint(b.stab.Lookup(f.Funcname)))
    	b.tmp = uleb128.AppendUleb128(b.tmp, uint(b.stab.Lookup(f.Srcfile)))
    	for _, u := range f.Units {
    		b.tmp = uleb128.AppendUleb128(b.tmp, uint(u.StLine))
    		b.tmp = uleb128.AppendUleb128(b.tmp, uint(u.StCol))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/syscall/syscall_windows_test.go

    	if err != nil {
    		t.Fatalf("FindClose failed: %v", err)
    	}
    
    	if x.got != want {
    		t.Fatalf("memory corruption: want=%d got=%d", want, x.got)
    	}
    }
    
    func abort(funcname string, err error) {
    	panic(funcname + " failed: " + err.Error())
    }
    
    func ExampleLoadLibrary() {
    	h, err := syscall.LoadLibrary("kernel32.dll")
    	if err != nil {
    		abort("LoadLibrary", err)
    	}
    	defer syscall.FreeLibrary(h)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:33:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/covdata/dump.go

    			d.preambleEmitted = true
    		}
    		fmt.Printf("\nFunc: %s\n", fd.Funcname)
    		fmt.Printf("Srcfile: %s\n", fd.Srcfile)
    		fmt.Printf("Literal: %v\n", fd.Lit)
    	}
    	for i := 0; i < len(fd.Units); i++ {
    		u := fd.Units[i]
    		var count uint32
    		if counters != nil {
    			count = counters[i]
    		}
    		d.format.AddUnit(fd.Srcfile, fd.Funcname, fd.Lit, u, count)
    		if d.cmd == debugDumpMode && !suppressOutput {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/dwarfgen/dwinl.go

    // malformed range is found.
    func checkInlCall(funcName string, inlCalls dwarf.InlCalls, funcSize int64, idx, parentIdx int) {
    
    	// Callee
    	ic := inlCalls.Calls[idx]
    	callee := base.Ctxt.InlTree.InlinedFunction(ic.InlIndex).Name
    	calleeRanges := ic.Ranges
    
    	// Caller
    	caller := funcName
    	parentRanges := []dwarf.Range{dwarf.Range{Start: int64(0), End: funcSize}}
    	if parentIdx != -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. pkg/kubelet/container/testing/fake_runtime.go

    func (f *FakeRuntime) AssertCallCounts(funcName string, expectedCount int) bool {
    	f.Lock()
    	defer f.Unlock()
    	actualCount := 0
    	for _, c := range f.CalledFunctions {
    		if funcName == c {
    			actualCount += 1
    		}
    	}
    	if expectedCount != actualCount {
    		f.T.Errorf("AssertCallCounts: expected %s to be called %d times, but was actually called %d times.", funcName, expectedCount, actualCount)
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	if funcName == "" {
    		return 0
    	}
    
    	var funcname [128]byte
    	for i := 0; i < int(nameLen); i += 8 {
    		v, err := safeload(ppa1 + nameOffset + uintptr(i))
    		if err != 0 {
    			return 1
    		}
    		funcname[i] = byte(v >> 56)
    		funcname[i+1] = byte(v >> 48)
    		funcname[i+2] = byte(v >> 40)
    		funcname[i+3] = byte(v >> 32)
    		funcname[i+4] = byte(v >> 24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. cmd/metrics.go

    		registry,
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = "handler.MetricsLegacy"
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil {
    			if len(mfs) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top