Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 76 of 76 for _new (0.05 sec)

  1. cmd/metacache-entries.go

    	for i := range m {
    		entry := &m[i]
    		// Empty entry
    		if entry.name == "" {
    			continue
    		}
    
    		if entry.isDir() {
    			dirExists++
    			selected = entry
    			continue
    		}
    
    		// Get new entry metadata,
    		// shallow decode.
    		xl, err := entry.xlmeta()
    		if err != nil {
    			continue
    		}
    		objsValid++
    
    		// Add all valid to candidates.
    		r.candidates = append(r.candidates, xl.versions)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. cmd/object-api-putobject_test.go

    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    	uploadID := res.UploadID
    
    	// Upload part1.
    	fiveMBBytes := bytes.Repeat([]byte("a"), 5*humanize.MiByte)
    	md5Writer := md5.New()
    	md5Writer.Write(fiveMBBytes)
    	etag1 := hex.EncodeToString(md5Writer.Sum(nil))
    	sha256sum := ""
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-ldap.sh

    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # stop minio1
    kill -9 ${site1_pid}
    # Update tag on minio2/newbucket when minio1 is down
    ./mc tag set minio2/newbucket "key=val2"
    # create a new bucket on minio2. This should replicate to minio1 after it comes online.
    ./mc mb minio2/newbucket2
    # delete bucket2 on minio2. This should replicate to minio1 after it comes online.
    ./mc rb minio2/bucket2
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 10.1K bytes
    - Viewed (2)
  4. internal/logger/logger.go

    		pc, file, lineNumber, ok = runtime.Caller(traceLevel)
    	}
    	return trace
    }
    
    // HashString - return the highway hash of the passed string
    func HashString(input string) string {
    	hh, _ := highwayhash.New(magicHighwayHash256Key)
    	hh.Write([]byte(input))
    	return hex.EncodeToString(hh.Sum(nil))
    }
    
    // LogAlwaysIf prints a detailed error message during
    // the execution of the server.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    	// calling the function being tested.
    	errCode := checkMetaHeaders(signedHeadersMap, r)
    	if errCode != ErrNone {
    		t.Fatalf("Expected the APIErrorCode to be %d, but got %d", ErrNone, errCode)
    	}
    
    	// Add new metadata in inputHeader
    	inputHeader.Set("X-Amz-Meta-Clone", "fail")
    	// calling the function being tested.
    	errCode = checkMetaHeaders(signedHeadersMap, r)
    	if errCode != ErrUnsignedHeaders {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    	endpoint.SetIdx = i
    }
    
    // SetDiskIndex sets a specific disk number to this node
    func (endpoint *Endpoint) SetDiskIndex(i int) {
    	endpoint.DiskIdx = i
    }
    
    // NewEndpoint - returns new endpoint based on given arguments.
    func NewEndpoint(arg string) (ep Endpoint, e error) {
    	// isEmptyPath - check whether given path is not empty.
    	isEmptyPath := func(path string) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top