Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 252 for star (0.12 sec)

  1. cmd/erasure-metadata.go

    func writeUniqueFileInfo(ctx context.Context, disks []StorageAPI, origbucket, bucket, prefix string, files []FileInfo, quorum int) ([]StorageAPI, error) {
    	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
    			}
    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. internal/disk/stat_linux.go

    		Free:  uint64(s.Frsize) * s.Bavail,
    		Files: s.Files,
    		Ffree: s.Ffree,
    		//nolint:unconvert
    		FSType: getFSType(int64(s.Type)),
    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    	info.Major = unix.Major(devID)
    	info.Minor = unix.Minor(devID)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	rawDiskPaths []string
    }
    
    // UnstartedTestServer - Configures a temp FS/Erasure backend,
    // initializes the endpoints and configures the test server.
    // The server should be started using the Start() method.
    func UnstartedTestServer(t TestErrHandler, instanceType string) TestServer {
    	ctx, cancel := context.WithCancel(context.Background())
    	// create an instance of TestServer.
    	testServer := TestServer{cancel: cancel}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    		}
    	}
    	for i := 0; i < resyncParallelRoutines; i++ {
    		xioutil.SafeClose(workers[i])
    	}
    	wg.Wait()
    	resyncStatus = ResyncCompleted
    }
    
    // start replication resync for the remote target ARN specified
    func (s *replicationResyncer) start(ctx context.Context, objAPI ObjectLayer, opts resyncOpts) error {
    	if opts.bucket == "" {
    		return fmt.Errorf("bucket name is empty")
    	}
    	if opts.arn == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/object-api-datatypes.go

    type StorageInfo = madmin.StorageInfo
    
    // objectHistogramInterval is an interval that will be
    // used to report the histogram of objects data sizes
    type objectHistogramInterval struct {
    	name       string
    	start, end int64
    }
    
    const (
    	// dataUsageBucketLenV1 must be length of ObjectsHistogramIntervalsV1
    	dataUsageBucketLenV1 = 7
    	// dataUsageBucketLen must be length of ObjectsHistogramIntervals
    	dataUsageBucketLen  = 11
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    func TestIndexByteBig(t *testing.T) {
    	var n = 1024
    	if testing.Short() {
    		n = 128
    	}
    	b := make([]byte, n)
    	for i := 0; i < n; i++ {
    		// different start alignments
    		b1 := b[i:]
    		for j := 0; j < len(b1); j++ {
    			b1[j] = 'x'
    			pos := IndexByte(b1, 'x')
    			if pos != j {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    			b1[j] = 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    	}
    
    	err := globalIAMSys.LoadGroup(context.Background(), objAPI, group)
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    // StartProfilingHandler - Issues the start profiling command.
    func (s *peerRESTServer) StartProfilingHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/archive/tar/reader_test.go

    	}, {
    		// Matches the behavior of GNU, BSD, and STAR tar utilities.
    		file: "testdata/gnu-multi-hdrs.tar",
    		headers: []*Header{{
    			Name:     "GNU2/GNU2/long-path-name",
    			Linkname: "GNU4/GNU4/long-linkpath-name",
    			ModTime:  time.Unix(0, 0),
    			Typeflag: '2',
    			Format:   FormatGNU,
    		}},
    	}, {
    		// GNU tar file with atime and ctime fields set.
    		// Created with the GNU tar v1.27.1.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  9. internal/disk/stat_netbsd.go

    Praveen raj Mani <******@****.***> 1708976090 +0530
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. internal/disk/stat_openbsd.go

    Praveen raj Mani <******@****.***> 1708976090 +0530
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top