Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 143 for Ustat (0.12 sec)

  1. src/archive/tar/tar_test.go

    	testenv.MustHaveSymlink(t)
    
    	tmpdir := t.TempDir()
    
    	link := filepath.Join(tmpdir, "link")
    	target := tmpdir
    	if err := os.Symlink(target, link); err != nil {
    		t.Fatal(err)
    	}
    	fi, err := os.Lstat(link)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	h, err := FileInfoHeader(fi, target)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if g, e := h.Name, fi.Name(); g != e {
    		t.Errorf("Name = %q; want %q", g, e)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics_gen.go

    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *QStat) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. helm/minio/templates/_helper_create_bucket.txt

    		STATUS=$?
    	done
    	set -e # reset `e` as active
    	return 0
    }
    
    # checkBucketExists ($bucket)
    # Check if the bucket exists, by using the exit code of `mc ls`
    checkBucketExists() {
    	BUCKET=$1
    	CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1)
    	return $?
    }
    
    # createBucket ($bucket, $policy, $purge)
    # Ensure bucket exists, purging if asked to
    createBucket() {
    	BUCKET=$1
    	POLICY=$2
    	PURGE=$3
    	VERSIONING=$4
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jan 12 18:18:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    	if err != nil {
    		return nil, err
    	}
    
    	obj, err := clnt.GetObject(context.Background(), bucket, object, minio.GetObjectOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	_, err = obj.Stat()
    	if err != nil {
    		return nil, err
    	}
    
    	return obj, nil
    }
    
    // TransferError will catch network errors during transfer.
    // When TransferError() is called Close() will also
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. internal/config/lambda/target/webhook.go

    	}
    	xhttp.DrainBody(resp.Body)
    	// No network failure i.e response from the target means its up
    	return true, nil
    }
    
    // Stat - returns lambda webhook target statistics such as
    // current calls in progress, successfully completed functions
    // failed functions.
    func (target *WebhookTarget) Stat() event.TargetStat {
    	return event.TargetStat{
    		ID:             target.id,
    		ActiveRequests: atomic.LoadInt64(&target.activeRequests),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. internal/disk/disk.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. cmd/data-usage_test.go

    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    	getSize := func(item scannerItem) (sizeS sizeSummary, err error) {
    		if item.Typ&os.ModeDir == 0 {
    			var s os.FileInfo
    			s, err = os.Stat(item.Path)
    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    			sizeS.versions++
    			return sizeS, nil
    		}
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

        grep --quiet -zoP 'is consistent with the following platform tag:\n"manylinux_2_17_(aarch|x86_)64"\.' audit.txt
    }
    
    @test "Wheel conforms to upstream size limitations" {
        WHEEL_MEGABYTES=$(stat --format %s "$TF_WHEEL" | awk '{print int($1/(1024*1024))}')
        # Googlers: search for "test_tf_whl_size"
        case "$TF_WHEEL" in
            # CPU:
            *cpu*manylinux*) LARGEST_OK_SIZE=220 ;;
            # GPU:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. internal/lock/lock_nix.go

    		return nil, err
    	}
    
    	if err = syscall.Flock(int(f.Fd()), lockType); err != nil {
    		f.Close()
    		if err == syscall.EWOULDBLOCK {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. cmd/speedtest.go

    		FileSize:  opts.FileSize,
    	}
    
    	localPaths := globalEndpoints.LocalDisksPaths()
    	var ignoredPaths []string
    	paths := func() (tmpPaths []string) {
    		for _, lp := range localPaths {
    			if _, err := Lstat(pathJoin(lp, minioMetaBucket, formatConfigFile)); err == nil {
    				tmpPaths = append(tmpPaths, pathJoin(lp, minioMetaTmpBucket))
    			} else {
    				// Use dperf on only formatted drives.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top