Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 429 for funcname (0.21 sec)

  1. src/os/stat_windows.go

    }
    
    // stat implements both Stat and Lstat of a file.
    func stat(funcname, name string, followSurrogates bool) (FileInfo, error) {
    	if len(name) == 0 {
    		return nil, &PathError{Op: funcname, Path: name, Err: syscall.Errno(syscall.ERROR_PATH_NOT_FOUND)}
    	}
    	namep, err := syscall.UTF16PtrFromString(fixLongPath(name))
    	if err != nil {
    		return nil, &PathError{Op: funcname, Path: name, Err: err}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/runtime/export_debug_test.go

    	if getg().m != h.mp {
    		println("trap on wrong M", getg().m, h.mp)
    		return false
    	}
    	f := findfunc(ctxt.sigpc())
    	if !(stringslite.HasPrefix(funcname(f), "runtime.debugCall") || stringslite.HasPrefix(funcname(f), "debugCall")) {
    		println("trap in unknown function", funcname(f))
    		return false
    	}
    	if !sigctxtAtTrapInstruction(ctxt) {
    		println("trap at non-INT3 instruction pc =", hex(ctxt.sigpc()))
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/internal/coverage/test/roundtrip_test.go

    	pp := "foo/bar/pkg"
    	pn := "pkg"
    	mp := "barmod"
    	b, err := encodemeta.NewCoverageMetaDataBuilder(pp, pn, mp)
    	if err != nil {
    		t.Fatalf("making builder: %v", err)
    	}
    	f1 := coverage.FuncDesc{
    		Funcname: "func",
    		Srcfile:  "foo.go",
    		Units: []coverage.CoverableUnit{
    			coverage.CoverableUnit{StLine: 1, StCol: 2, EnLine: 3, EnCol: 4, NxStmts: 5},
    			coverage.CoverableUnit{StLine: 6, StCol: 7, EnLine: 8, EnCol: 9, NxStmts: 10},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:42:05 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/cmd/covdata/metamerge.go

    			fmt.Printf("counter merge for %s fidx=%d\n", fd.Funcname, fnIdx)
    		}
    		// Merge.
    		err, overflow := mm.MergeCounters(gfp.Counters, counters)
    		if err != nil {
    			fatal("%v", err)
    		}
    		if overflow {
    			warn("uint32 overflow during counter merge")
    		}
    		mm.p.ctab[fnIdx] = gfp
    	} else {
    		if *verbflag >= 3 {
    			fmt.Printf("null merge for %s fidx %d\n", fd.Funcname, fnIdx)
    		}
    		gfp := v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. cmd/namespace-lock.go

    }
    
    func getSource(n int) string {
    	var funcName string
    	pc, filename, lineNum, ok := runtime.Caller(n)
    	if ok {
    		filename = pathutil.Base(filename)
    		funcName = strings.TrimPrefix(runtime.FuncForPC(pc).Name(),
    			"github.com/minio/minio/cmd.")
    	} else {
    		filename = "<unknown>"
    		lineNum = 0
    	}
    
    	return fmt.Sprintf("[%s:%d:%s()]", filename, lineNum, funcName)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 05 23:56:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top