Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 147 for Fstat (0.03 sec)

  1. cmd/os_windows.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    	"path/filepath"
    	"syscall"
    )
    
    func access(name string) error {
    	_, err := os.Lstat(name)
    	return err
    }
    
    func osMkdirAll(dirPath string, perm os.FileMode, _ string) error {
    	// baseDir is not honored in windows platform
    	return os.MkdirAll(dirPath, perm)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. api/go1.16.txt

    pkg io/fs, type FS interface { Open }
    pkg io/fs, type FS interface, Open(string) (File, error)
    pkg io/fs, type File interface { Close, Read, Stat }
    pkg io/fs, type File interface, Close() error
    pkg io/fs, type File interface, Read([]uint8) (int, error)
    pkg io/fs, type File interface, Stat() (FileInfo, error)
    pkg io/fs, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys }
    pkg io/fs, type FileInfo interface, IsDir() bool
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	// Force a PAX long name to be written
    	longName := strings.Repeat("ab", 100)
    	contents := strings.Repeat(" ", int(hdr.Size))
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 15 16:34:13 UTC 2025
    - 40.2K bytes
    - Viewed (0)
  4. cmd/os_unix.go

    	"syscall"
    	"unsafe"
    
    	"github.com/minio/minio/internal/bpool"
    	"golang.org/x/sys/unix"
    )
    
    func access(name string) error {
    	if err := unix.Access(name, unix.F_OK); err != nil {
    		return &os.PathError{Op: "lstat", Path: name, Err: err}
    	}
    	return nil
    }
    
    // openFileWithFD return 'fd' based file descriptor
    func openFileWithFD(name string, flag int, perm os.FileMode) (fd int, err error) {
    	switch flag & writeMode {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), func ForkExec(string, []string, *ProcAttr) (int, error)
    pkg syscall (netbsd-arm64-cgo), func Fpathconf(int, int) (int, error)
    pkg syscall (netbsd-arm64-cgo), func Fstat(int, *Stat_t) error
    pkg syscall (netbsd-arm64-cgo), func Fsync(int) error
    pkg syscall (netbsd-arm64-cgo), func Ftruncate(int, int64) error
    pkg syscall (netbsd-arm64-cgo), func Futimes(int, []Timeval) error
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  6. api/go1.14.txt

    pkg syscall (freebsd-arm64), func ForkExec(string, []string, *ProcAttr) (int, error)
    pkg syscall (freebsd-arm64), func Fpathconf(int, int) (int, error)
    pkg syscall (freebsd-arm64), func Fstat(int, *Stat_t) error
    pkg syscall (freebsd-arm64), func Fstatat(int, string, *Stat_t, int) error
    pkg syscall (freebsd-arm64), func Fstatfs(int, *Statfs_t) error
    pkg syscall (freebsd-arm64), func Fsync(int) error
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  7. docs/site-replication/run-ssec-object-replication.sh

    	echo "BUG: object test-bucket/custpartsize not replicated"
    	exit_1
    fi
    
    # Stat the SSEC objects from source site
    echo "Stat minio1/test-bucket/encrypted"
    ./mc stat --no-list minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json
    stat_out1=$(./mc stat --no-list minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. internal/disk/stat_test.go

    package disk
    
    import (
    	"os"
    	"reflect"
    	"testing"
    )
    
    func TestReadDriveStats(t *testing.T) {
    	testCases := []struct {
    		stat            string
    		expectedIOStats IOStats
    		expectErr       bool
    	}{
    		{
    			stat: "1432553   420084 66247626  2398227  7077314  8720147 157049224  7469810        0  7580552  9869354    46037        0 41695120     1315        0        0",
    			expectedIOStats: IOStats{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. cmd/site-replication-metrics.go

    	"github.com/minio/minio-go/v7"
    )
    
    //go:generate msgp -file $GOFILE
    
    // RStat has replication error stats
    type RStat struct {
    	Count int64 `json:"count"`
    	Bytes int64 `json:"bytes"`
    }
    
    // RTimedMetrics has replication error stats for various time windows
    type RTimedMetrics struct {
    	LastHour    ReplicationLastHour `json:"lastHour"`
    	SinceUptime RStat               `json:"sinceUptime"`
    	LastMinute  ReplicationLastMinute
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-ldap.sh

    ./mc mb minio1/bucket2
    
    sleep 5
    ./mc stat --no-list minio2/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    ./mc stat --no-list minio3/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    ./mc cp README.md minio2/newbucket/
    
    sleep 5
    ./mc stat --no-list minio1/newbucket/README.md
    if [ $? -ne 0 ]; then
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top