Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for sysfs (0.04 sec)

  1. src/internal/poll/fd_plan9.go

    // license that can be found in the LICENSE file.
    
    package poll
    
    import (
    	"errors"
    	"internal/stringslite"
    	"io"
    	"sync"
    	"syscall"
    	"time"
    )
    
    type FD struct {
    	// Lock sysfd and serialize access to Read and Write methods.
    	fdmu fdMutex
    
    	Destroy func()
    
    	// deadlines
    	rmu       sync.Mutex
    	wmu       sync.Mutex
    	raio      *asyncIO
    	waio      *asyncIO
    	rtimer    *time.Timer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/os/stat_windows.go

    // If there is an error, it will be of type [*PathError].
    func (file *File) Stat() (FileInfo, error) {
    	if file == nil {
    		return nil, ErrInvalid
    	}
    	return statHandle(file.name, file.pfd.Sysfd)
    }
    
    // stat implements both Stat and Lstat of a file.
    func stat(funcname, name string, followSurrogates bool) (FileInfo, error) {
    	if len(name) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/os/file_windows.go

    // methods to stop working.
    func (file *File) Fd() uintptr {
    	if file == nil {
    		return uintptr(syscall.InvalidHandle)
    	}
    	return uintptr(file.pfd.Sysfd)
    }
    
    // newFile returns a new File with the given file handle and name.
    // Unlike NewFile, it does not check that h is syscall.InvalidHandle.
    func newFile(h syscall.Handle, name string, kind string) *File {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/os/file_unix.go

    	// opened in blocking mode. The File will continue to work,
    	// but any blocking operation will tie up a thread.
    	if f.nonblock {
    		f.pfd.SetBlocking()
    	}
    
    	return uintptr(f.pfd.Sysfd)
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor. On Unix systems, if the file descriptor is in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    				fileNames = append(fileNames, filepath.Join(path, m.BuildID[:2], m.BuildID[2:]+".debug"))
    			}
    			if m.File != "" {
    				// Try both the basename and the full path, to support the same directory
    				// structure as the perf symfs option.
    				fileNames = append(fileNames, filepath.Join(path, baseName))
    				fileNames = append(fileNames, filepath.Join(path, noVolumeFile))
    				// Other locations: use the same search paths as GDB, according to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top