Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 380 for fstatfs (0.55 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go

    func Fstatfs(fd int, stat *Statfs_t) (err error) {
    	_, _, e1 := syscall_syscall(libc_fstatfs64_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_fstatfs64_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_fstatfs64 fstatfs64 "/usr/lib/libSystem.B.dylib"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 66.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func waitpid(pid int, wstatus *_C_int, options int) (wpid int, err error) {
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_WAITPID<<4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options))
    	runtime.ExitSyscall()
    	wpid = int(r0)
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication-stats.go

    	for _, s := range b.Stats {
    		if s.hasReplicationUsage() {
    			return true
    		}
    	}
    	return false
    }
    
    // ReplicationStats holds the global in-memory replication stats
    type ReplicationStats struct {
    	// map of site deployment ID to site replication status
    	// for site replication - maintain stats at global level
    	srStats *SRStats
    	// active worker stats
    	workers *ActiveWorkerStat
    	// queue stats cache
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	}
    	return (*funcref)(pid, wstatus, options, rusage)
    }
    
    func legacyWait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	// TODO(mundaym): z/OS doesn't have wait4. I don't think getrusage does what we want.
    	// At the moment rusage will not be touched.
    	var status _C_int
    	wpid, err = waitpid(pid, &status, options)
    	if wstatus != nil {
    		*wstatus = WaitStatus(status)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. pkg/volume/util/fs/fs.go

    	statfs := &unix.Statfs_t{}
    	err := unix.Statfs(path, statfs)
    	if err != nil {
    		return 0, 0, 0, 0, 0, 0, err
    	}
    
    	// Available is blocks available * fragment size
    	available := int64(statfs.Bavail) * int64(statfs.Bsize)
    
    	// Capacity is total block count * fragment size
    	capacity := int64(statfs.Blocks) * int64(statfs.Bsize)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 20 02:56:02 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. src/io/fs/stat.go

    package fs
    
    // A StatFS is a file system with a Stat method.
    type StatFS interface {
    	FS
    
    	// Stat returns a FileInfo describing the file.
    	// If there is an error, it should be of type *PathError.
    	Stat(name string) (FileInfo, error)
    }
    
    // Stat returns a [FileInfo] describing the named file from the file system.
    //
    // If fs implements [StatFS], Stat calls fs.Stat.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 803 bytes
    - Viewed (0)
  7. pkg/volume/metrics_du_unix_test.go

    limitations under the License.
    */
    
    package volume_test
    
    import (
    	"golang.org/x/sys/unix"
    )
    
    func getExpectedBlockSize(path string) int64 {
    	statfs := &unix.Statfs_t{}
    	err := unix.Statfs(path, statfs)
    	if err != nil {
    		return 0
    	}
    
    	return int64(statfs.Bsize)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:18:31 UTC 2023
    - 840 bytes
    - Viewed (0)
  8. docs/en/docs/reference/status.md

    # Status Codes
    
    You can import the `status` module from `fastapi`:
    
    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 871 bytes
    - Viewed (0)
  9. istioctl/pkg/writer/pilot/status.go

    	}
    
    	return w, fullStatus, nil
    }
    
    func xdsStatusPrintln(w io.Writer, status *xdsWriterStatus) error {
    	_, err := fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    		status.proxyID, status.clusterID,
    		status.clusterStatus, status.listenerStatus, status.endpointStatus, status.routeStatus,
    		status.extensionconfigStatus,
    		status.istiodID, status.istiodVersion)
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/runtime/mstats.go

    	stats.GCSys = memstats.gcMiscSys.load() + gcWorkBufInUse + gcProgPtrScalarBitsInUse
    	stats.OtherSys = memstats.other_sys.load()
    	stats.NextGC = heapGoal
    	stats.LastGC = memstats.last_gc_unix
    	stats.PauseTotalNs = memstats.pause_total_ns
    	stats.PauseNs = memstats.pause_ns
    	stats.PauseEnd = memstats.pause_end
    	stats.NumGC = memstats.numgc
    	stats.NumForcedGC = memstats.numforcedgc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top