Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 376 for Nath (0.72 sec)

  1. cmd/data-usage-cache.go

    		e, ok := d.Cache[path.Key()]
    		if !ok {
    			return
    		}
    		if len(e.Children) == 0 {
    			return
    		}
    		sz := d.sizeRecursive(path.Key())
    		leaves = append(leaves, struct {
    			objects uint64
    			path    dataUsageHash
    		}{objects: sz.Objects, path: path})
    		for ch := range e.Children {
    			add(dataUsageHash(ch))
    		}
    	}
    
    	// Add path recursively.
    	add(path)
    	sort.Slice(leaves, func(i, j int) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. cmd/admin-handlers.go

    			mapIfNotPresent(hostAnonymizer, schemePfx+endpoint.Host, newHostPort)
    		}
    
    		newHostPortPath := newHostPort
    		if len(endpoint.Path) > 0 {
    			// Host + port + path
    			currentHostPortPath := endpoint.Host + endpoint.Path
    			newHostPortPath = newHostPort + endpoint.Path
    			mapIfNotPresent(hostAnonymizer, currentHostPortPath, newHostPortPath)
    			mapIfNotPresent(hostAnonymizer, schemePfx+currentHostPortPath, newHostPortPath)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  3. cmd/metacache-set.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/object/lock"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. cmd/perf-tests.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/gob"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	xhttp "github.com/minio/minio/internal/http"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. cmd/os-reliable_test.go

    		t.Fatal(err)
    	}
    	if err = renameAll("", "foo", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll("foo", "", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll(pathJoin(path, "testvolume1"), pathJoin(path, "testvolume2"), ""); err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	Delete(ctx context.Context, volume string, path string, opts DeleteOptions) (err error)
    	VerifyFile(ctx context.Context, volume, path string, fi FileInfo) error
    	StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error)
    	ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error
    	CleanAbandonedData(ctx context.Context, volume string, path string) error
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    func hasBadPathComponent(path string) bool {
    	if len(path) > 4096 {
    		// path cannot be greater than Linux PATH_MAX
    		// this is to avoid a busy loop, that can happen
    		// if the caller sends path of following style
    		// a/a/a/a/a/a/a/a...
    		return true
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-utils.go

    package cmd
    
    import (
    	"errors"
    
    	"github.com/zeebo/xxh3"
    )
    
    func getFileInfoVersions(xlMetaBuf []byte, volume, path string, allParts bool) (FileInfoVersions, error) {
    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, allParts)
    	if err != nil {
    		return fivs, err
    	}
    	n := 0
    	for _, fi := range fivs.Versions {
    		// Filter our tier object delete marker
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. cmd/batch-replicate.go

    	Path     string                        `yaml:"path" json:"path"`
    	Creds    BatchJobReplicateCredentials  `yaml:"credentials" json:"credentials"`
    }
    
    // ValidPath returns true if path is valid
    func (t BatchJobReplicateTarget) ValidPath() bool {
    	return t.Path == "on" || t.Path == "off" || t.Path == "auto" || t.Path == ""
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  10. cmd/healthcheck-router.go

    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    	healthRouter.Methods(http.MethodHead).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterReadPath).HandlerFunc(httpTraceAll(ClusterReadCheckHandler))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 23 11:12:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top