Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 339 for Fname (0.12 sec)

  1. src/os/os_test.go

    // NFS servers (Issue 848).
    func TestChtimesDir(t *testing.T) {
    	t.Parallel()
    
    	name := newDir("TestChtimes", t)
    	defer RemoveAll(name)
    
    	testChtimes(t, name)
    }
    
    func testChtimes(t *testing.T, name string) {
    	st, err := Stat(name)
    	if err != nil {
    		t.Fatalf("Stat %s: %s", name, err)
    	}
    	preStat := st
    
    	// Move access and modification time back a second
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. src/cmd/covdata/dump.go

    func (d *dstate) VisitFunc(pkgIdx uint32, fnIdx uint32, fd *coverage.FuncDesc) {
    	var counters []uint32
    	key := pkfunc{pk: pkgIdx, fcn: fnIdx}
    	v, haveCounters := d.mm[key]
    
    	dbgtrace(5, "meta visit pk=%d fid=%d fname=%s file=%s found=%v len(val.ctrs)=%d", pkgIdx, fnIdx, fd.Funcname, fd.Srcfile, haveCounters, len(v.Counters))
    
    	suppressOutput := false
    	if haveCounters {
    		counters = v.Counters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	fName := fmt.Sprintf("%q%q%q%d", ni.Name, ni.OrigName, ni.File, ni.StartLine)
    
    	if f := fm[fName]; f != nil {
    		return f, false
    	}
    
    	f := &profile.Function{
    		ID:         uint64(len(fm) + 1),
    		Name:       ni.Name,
    		SystemName: ni.OrigName,
    		Filename:   ni.File,
    		StartLine:  int64(ni.StartLine),
    	}
    	fm[fName] = f
    	return f, true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    	}
    
    	for _, file := range zr.File {
    		reader, err := file.Open()
    		if err != nil {
    			rpt.SetStatus(file.Name, "", err)
    			continue
    		}
    		sz := file.FileInfo().Size()
    		slc := strings.Split(file.Name, slashSeparator)
    		if len(slc) != 2 { // expecting bucket/configfile in the zipfile
    			rpt.SetStatus(file.Name, "", fmt.Errorf("malformed zip - expecting format bucket/<config.json>"))
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback.go

    		if strings.HasPrefix(fname, "_") {
    			fname = path.Base(f.Name()[1:])
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    		fname = strings.TrimPrefix(fname, "cmd/cgo/internal/")
    
    		namei := ""
    		if i < len(name) {
    			namei = name[i]
    		}
    		if fname != namei {
    			t.Errorf("stk[%d] = %q, want %q", i, fname, namei)
    		}
    	}
    }
    
    func testPanicFromC(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/dwarf.go

    // type with the specified name.
    func (d *dwctxt) find(name string) loader.Sym {
    	return d.tmap[name]
    }
    
    func (d *dwctxt) mustFind(name string) loader.Sym {
    	r := d.find(name)
    	if r == 0 {
    		Exitf("dwarf find: cannot find %s", name)
    	}
    	return r
    }
    
    func (d *dwctxt) adddwarfref(sb *loader.SymbolBuilder, t loader.Sym, size int) {
    	switch size {
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_windows.go

    	}
    	return
    }
    
    func connect(s Handle, name unsafe.Pointer, namelen int32) (err error) {
    	r1, _, e1 := Syscall(procconnect.Addr(), 3, uintptr(s), uintptr(name), uintptr(namelen))
    	if r1 == socket_error {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func GetHostByName(name string) (h *Hostent, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(name)
    	if err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (1)
  8. src/runtime/pprof/pprof_test.go

    			// An entry with two frames with 'System' in its top frame
    			// exists to record a PC without a traceback. Those are okay.
    			if len(stk) == 2 {
    				name := stk[1].Line[0].Function.Name
    				if name == "runtime._System" || name == "runtime._ExternalCode" || name == "runtime._GC" {
    					return
    				}
    			}
    
    			// An entry with just one frame is OK too:
    			// it knew to stop at gogo.
    			if len(stk) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  9. src/cmd/link/link_test.go

    	t.Parallel()
    
    	tmpdir := t.TempDir()
    
    	write := func(name, content string) {
    		err := os.WriteFile(filepath.Join(tmpdir, name), []byte(content), 0666)
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	run := func(name string, args ...string) string {
    		cmd := testenv.Command(t, name, args...)
    		cmd.Dir = tmpdir
    		out, err := cmd.CombinedOutput()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  10. operator/pkg/name/name.go

    	s := string(n)
    	return ComponentName(strings.ToUpper(s[0:1]) + s[1:])
    }
    
    // UserFacingComponentName returns the name of the given component that should be displayed to the user in high
    // level CLIs (like progress log).
    func UserFacingComponentName(name ComponentName) string {
    	ret, ok := userFacingComponentNames[name]
    	if !ok {
    		return "Unknown"
    	}
    	return ret
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top