- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 126 for available (0.19 sec)
-
src/bufio/bufio.go
} b.n -= n b.err = err return err } b.n = 0 return nil } // Available returns how many bytes are unused in the buffer. func (b *Writer) Available() int { return len(b.buf) - b.n } // AvailableBuffer returns an empty buffer with b.Available() capacity. // This buffer is intended to be appended to and // passed to an immediately succeeding [Writer.Write] call.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 12 14:39:08 GMT 2023 - 21.8K bytes - Viewed (0) -
operator/cmd/mesh/profile-list.go
} func profileListCmd(plArgs *profileListArgs) *cobra.Command { return &cobra.Command{ Use: "list", Short: "Lists available Istio configuration profiles", Long: "The list subcommand lists the available Istio configuration profiles.", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) error { return profileList(cmd, plArgs) }, } }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.9K bytes - Viewed (0) -
cmd/handler-api.go
return 0 } return limit } func availableMemory() (available uint64) { available = 2048 * blockSizeV2 * 2 // Default to 4 GiB when we can't find the limits. if runtime.GOOS == "linux" { // Useful in container mode limit := cgroupMemLimit() if limit > 0 { // A valid value is found, return its 75% available = (limit * 3) / 4 return }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 08 09:22:27 GMT 2024 - 10K bytes - Viewed (0) -
internal/disk/stat_windows.go
// GetDiskFreeSpaceEx - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx // Retrieves information about the amount of space that is available on a disk volume, // which is the total amount of space, the total amount of free space, and the total // amount of free space available to the user that is associated with the calling thread. GetDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW")
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.1K bytes - Viewed (0) -
internal/disk/disk.go
package disk // Info stat fs struct is container which holds following values // Total - total size of the volume / disk // Free - free size of the volume / disk // Files - total inodes available // Ffree - free inodes available // FSType - file system type // Major - major dev id // Minor - minor dev id // Devname - device name type Info struct { Total uint64 Free uint64 Used uint64
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.7K bytes - Viewed (0) -
cmd/bitrot.go
return hh default: logger.CriticalIf(GlobalContext, errors.New("Unsupported bitrot algorithm")) return nil } } // Available reports whether the given algorithm is available. func (a BitrotAlgorithm) Available() bool { _, ok := bitrotAlgorithms[a] return ok } // String returns the string identifier for a given bitrot algorithm. // If the algorithm is not supported String panics.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 7.6K bytes - Viewed (0) -
cmd/metrics-v3-system-drive.go
driveTotalBytesMD = NewGaugeMD(driveTotalBytes, "Total storage available on a drive in bytes", allDriveLabels...) driveUsedInodesMD = NewGaugeMD(driveUsedInodes, "Total used inodes on a drive", allDriveLabels...) driveFreeInodesMD = NewGaugeMD(driveFreeInodes, "Total free inodes on a drive", allDriveLabels...) driveTotalInodesMD = NewGaugeMD(driveTotalInodes, "Total inodes available on a drive", allDriveLabels...)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 25 22:01:31 GMT 2024 - 7.8K bytes - Viewed (0) -
internal/dsync/drwmutex.go
lockRetryMinInterval: lockRetryMinInterval, } } // Lock holds a write lock on dm. // // If the lock is already in use, the calling go routine // blocks until the mutex is available. func (dm *DRWMutex) Lock(id, source string) { isReadLock := false dm.lockBlocking(context.Background(), nil, id, source, isReadLock, Options{ Timeout: drwMutexInfinite, }) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 19.7K bytes - Viewed (0) -
cmd/veeam-sos-api.go
// multiple buckets can be used together. The placement logic for additional backup files is based on available space. Other values // will augment the Veeam user interface and statistics, including free space warnings. type capacityInfo struct { XMLName xml.Name `xml:"CapacityInfo" json:"-"` Capacity int64 `xml:"Capacity"` Available int64 `xml:"Available"` Used int64 `xml:"Used"` } const (
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jan 30 18:43:58 GMT 2024 - 8.2K bytes - Viewed (2) -
internal/disk/stat_freebsd.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "errors" "fmt" "syscall" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.7K bytes - Viewed (0)