Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for files (0.37 sec)

  1. cmd/erasure-metadata.go

    	g := errgroup.WithNErrs(len(disks))
    
    	// Start writing `xl.meta` to all disks in parallel.
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			// Pick one FileInfo for a disk at index.
    			fi := files[index]
    			fi.Erasure.Index = index + 1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  2. cmd/admin-heal-ops.go

    	h.traverseAndHealDoneCh <- h.healItems(objAPI, bucketsOnly)
    	xioutil.SafeClose(h.traverseAndHealDoneCh)
    }
    
    // healMinioSysMeta - heals all files under a given meta prefix, returns a function
    // which in-turn heals the respective meta directory path and any files in int.
    func (h *healSequence) healMinioSysMeta(objAPI ObjectLayer, metaPrefix string) func() error {
    	return func() error {
    		// NOTE: Healing on meta is run regardless
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  3. operator/cmd/mesh/manifest_shared_test.go

    			no := o.DeepCopy()
    			out = append(out, object.NewK8sObject(no, nil, nil))
    		}
    	}
    	return out
    }
    
    // readFile reads a file and returns the contents.
    func readFile(path string) (string, error) {
    	b, err := os.ReadFile(path)
    	return string(b), err
    }
    
    // writeFile writes a file and returns an error if operation is unsuccessful.
    func writeFile(path string, data []byte) error {
    	return os.WriteFile(path, data, 0o644)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  4. src/archive/tar/writer.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"path"
    	"sort"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    	w    io.Writer
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    	dnsDelimiter = "."
    	// On compressed files bigger than this;
    	compReadAheadSize = 100 << 20
    	// Read this many buffers ahead.
    	compReadAheadBuffers = 5
    	// Size of each buffer.
    	compReadAheadBufSize = 1 << 20
    	// Pad Encrypted+Compressed files to a multiple of this.
    	compPadEncrypted = 256
    	// Disable compressed file indices below this size
    	compMinIndexSize = 8 << 20
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. cmd/common-main.go

    	}
    	defer root.Close()
    
    	files, err := root.Readdir(-1)
    	if err != nil {
    		return nil, nil, false, err
    	}
    	for _, file := range files {
    		// Ignore all
    		// - regular files
    		// - "CAs" directory
    		// - any directory which starts with ".."
    		if file.Mode().IsRegular() || file.Name() == "CAs" || strings.HasPrefix(file.Name(), "..") {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. cmd/storage-rest-client.go

    	}()
    	mr := msgp.NewReader(pr)
    	defer readMsgpReaderPoolPut(mr)
    	for {
    		var file ReadMultipleResp
    		if err := file.DecodeMsg(mr); err != nil {
    			if errors.Is(err, io.EOF) {
    				err = nil
    			}
    			pr.CloseWithError(err)
    			return toStorageErr(err)
    		}
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case resp <- file:
    		}
    	}
    }
    
    // CleanAbandonedData will read metadata of the object on disk
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload.go

    		Use:   "configure",
    		Short: "Generates all the required configuration files for a workload instance running on a VM or non-Kubernetes environment",
    		Long: `Generates all the required configuration files for workload instance on a VM or non-Kubernetes environment from a WorkloadGroup artifact.
    This includes a MeshConfig resource, the cluster.env file, and necessary certificates and security tokens.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, disk := range xl.getDisks() {
    		files, _ := disk.ListDir(ctx, "", bucket, object, -1)
    		for _, file := range files {
    			if file != "xl.meta" {
    				disk.Delete(ctx, bucket, pathJoin(object, file), DeleteOptions{
    					Recursive: true,
    					Immediate: false,
    				})
    			}
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return nil, err
    	}
    	defer done(&err)
    
    	return p.storage.StatInfoFile(ctx, volume, path, glob)
    }
    
    // ReadMultiple will read multiple files and send each files as response.
    // Files are read and returned in the given order.
    // The resp channel is closed before the call returns.
    // Only a canceled context will return an error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top