Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for UUID (0.22 sec)

  1. cmd/data-scanner_test.go

    	item := scannerItem{
    		Path:       obj,
    		bucket:     bucket,
    		prefix:     "",
    		objectName: obj,
    		lifeCycle:  &lc,
    	}
    
    	modTime := time.Now()
    	uuids := make([]uuid.UUID, 5)
    	for i := range uuids {
    		uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)})
    	}
    	fivs := make([]FileInfo, 5)
    	for i := 0; i < 5; i++ {
    		fivs[i] = FileInfo{
    			Volume:      bucket,
    			Name:        obj,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs/debugging/reorder-disks/main.go

    		}
    		mami, err := getMajorMinor(diskName)
    		if err != nil {
    			log.Printf("skipping `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		devName := mountMap[mami]
    		uuid := uuidMap[devName]
    		fmt.Printf("UUID=%s\t%s\txfs\tdefaults,noatime\t0\t2\n", uuid, expectedDiskName)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. cmd/mrf.go

    				healBucket(u.bucket, scan)
    			} else {
    				if len(u.versions) > 0 {
    					vers := len(u.versions) / 16
    					if vers > 0 {
    						for i := 0; i < vers; i++ {
    							healObject(u.bucket, u.object, uuid.UUID(u.versions[16*i:]).String(), scan)
    						}
    					}
    				} else {
    					healObject(u.bucket, u.object, u.versionID, scan)
    				}
    			}
    
    			wait()
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_test.go

    package cmd
    
    import (
    	"bytes"
    	"encoding/gob"
    	"io"
    	"testing"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func BenchmarkDecodeVolInfoMsgp(b *testing.B) {
    	v := VolInfo{
    		Name:    "uuid",
    		Created: time.Now(),
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 9.4K bytes
    - Viewed (0)
  5. cmd/postpolicyform_test.go

    	}
    	// Validate all the test cases.
    	for i, tt := range testCases {
    		formValues := make(http.Header)
    		formValues.Set("Bucket", tt.Bucket)
    		formValues.Set("Key", tt.Key)
    		formValues.Set("Content-Type", tt.ContentType)
    		formValues.Set("X-Amz-Date", tt.XAmzDate)
    		formValues.Set("X-Amz-Meta-Uuid", tt.XAmzMetaUUID)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    		}
    	}
    	return ""
    }
    
    // generate ARN that is unique to this target type
    func generateARN(t *madmin.BucketTarget, deplID string) string {
    	uuid := deplID
    	if uuid == "" {
    		uuid = mustGetUUID()
    	}
    	arn := madmin.ARN{
    		Type:   t.Type,
    		ID:     uuid,
    		Region: t.Region,
    		Bucket: t.TargetBucket,
    	}
    	return arn.String()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. internal/event/target/nats.go

    package target
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    							EcIndex int
    							EcM     int
    							EcN     int
    						}
    					}
    					var ei erasureInfo
    					if err := json.Unmarshal(buf.Bytes(), &ei); err == nil && ei.V2Obj != nil {
    						verID := uuid.UUID(header.VersionID).String()
    						if verID == "00000000-0000-0000-0000-000000000000" {
    							// If the version ID is all zeros, use the signature as version ID.
    							verID = fmt.Sprintf("null/%08x", header.Signature)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  9. internal/grid/connection.go

    	LastPong int64
    
    	// State of the connection (atomic)
    	state State
    
    	// Non-atomic
    	Remote string
    	Local  string
    
    	// ID of this connection instance.
    	id uuid.UUID
    
    	// Remote uuid, if we have been connected.
    	remoteID    *uuid.UUID
    	reconnectMu sync.Mutex
    
    	// Context for the server.
    	ctx context.Context
    
    	// Active mux connections.
    	outgoing *xsync.MapOf[uint64, *muxClient]
    
    	// Incoming streams
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  10. cmd/format-erasure_test.go

    	if formatV3.Erasure.This != m.Erasure.Disk {
    		t.Fatalf("expected drive uuid: %s, got: %s", m.Erasure.Disk, formatV3.Erasure.This)
    	}
    	if len(formatV3.Erasure.Sets) != 1 {
    		t.Fatalf("expected single set after migrating from v1 to v3, but found %d", len(formatV3.Erasure.Sets))
    	}
    	if !reflect.DeepEqual(formatV3.Erasure.Sets[0], m.Erasure.JBOD) {
    		t.Fatalf("expected drive uuid: %v, got: %v", m.Erasure.JBOD, formatV3.Erasure.Sets[0])
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top