Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 156 for lstat (0.06 sec)

  1. cmd/sftp-server-driver.go

    		)
    		return err
    	}
    
    	return NotImplemented{}
    }
    
    type listerAt []os.FileInfo
    
    // Modeled after strings.Reader's ReadAt() implementation
    func (f listerAt) ListAt(ls []os.FileInfo, offset int64) (int, error) {
    	var n int
    	if offset >= int64(len(f)) {
    		return 0, io.EOF
    	}
    	n = copy(ls, f[offset:])
    	if n < len(ls) {
    		return n, io.EOF
    	}
    	return n, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/lib/panels.libsonnet

        stat(title, targets, desc=''):
          stat.new(title)
          + stat.queryOptions.withTargets(targets)
          + stat.queryOptions.withInterval('5s')
          + options.legend.withDisplayMode('table')
          + options.legend.withCalcs([
            'last',
            'max',
          ])
          + stat.standardOptions.color.withFixedColor('blue')
          + stat.standardOptions.color.withMode('fixed')
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    					Value:          stat.Failed.LastMinute.Count,
    					VariableLabels: map[string]string{"endpoint": stat.Endpoint},
    				})
    				ml = append(ml, MetricV2{
    					Description:    getRepFailedBytesLastHourMD(clusterMetricNamespace),
    					Value:          float64(stat.Failed.LastHour.Bytes),
    					VariableLabels: map[string]string{"endpoint": stat.Endpoint},
    				})
    				ml = append(ml, MetricV2{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  7. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-oidc.sh

    ./mc cp ./lrgfile minio1/newbucket
    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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. cmd/xl-storage_unix_test.go

    	if err = disk.MakeVol(context.Background(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Stat to get permissions bits.
    	st, err := os.Stat(path.Join(tmpPath, testCase.volName))
    	if err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    
    	// Get umask of the bits stored.
    	currentUmask := 0o777 - uint32(st.Mode().Perm())
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. docs/site-replication/run-sse-kms-object-replication.sh

    echo "Stat minio1/test-bucket/custpartsize"
    ./mc stat --no-list minio1/test-bucket/custpartsize --insecure --json
    stat_out3=$(./mc stat --no-list minio1/test-bucket/custpartsize --insecure --json)
    src_obj3_algo=$(echo "${stat_out3}" | jq '.metadata."X-Amz-Server-Side-Encryption"')
    src_obj3_keyid=$(echo "${stat_out3}" | jq '.metadata."X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id"')
    echo "Stat minio1/test-bucket/mpartobj"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top