Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 435 for Spring (0.17 sec)

  1. cmd/xl-storage-meta-inline.go

    func (x xlMetaInlineData) find(key string) []byte {
    	if len(x) == 0 || !x.versionOK() {
    		return nil
    	}
    	sz, buf, err := msgp.ReadMapHeaderBytes(x.afterVersion())
    	if err != nil || sz == 0 {
    		return nil
    	}
    	for i := uint32(0); i < sz; i++ {
    		var found []byte
    		found, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil || sz == 0 {
    			return nil
    		}
    		if string(found) == key {
    			val, _, _ := msgp.ReadBytesZC(buf)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics_gen.go

    	// map header, size 4
    	// string "LastHour"
    	o = append(o, 0x84, 0xa8, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x75, 0x72)
    	o, err = z.LastHour.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "LastHour")
    		return
    	}
    	// string "SinceUptime"
    	o = append(o, 0xab, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65)
    	// map header, size 2
    	// string "Count"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  3. cmd/metacache-set_gen.go

    	// map header, size 19
    	// string "ID"
    	o = append(o, 0xde, 0x0, 0x13, 0xa2, 0x49, 0x44)
    	o = msgp.AppendString(o, z.ID)
    	// string "Bucket"
    	o = append(o, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74)
    	o = msgp.AppendString(o, z.Bucket)
    	// string "BaseDir"
    	o = append(o, 0xa7, 0x42, 0x61, 0x73, 0x65, 0x44, 0x69, 0x72)
    	o = msgp.AppendString(o, z.BaseDir)
    	// string "Prefix"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:23:12 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. cmd/bitrot-whole.go

    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. internal/event/rules.go

    	return pattern
    }
    
    // Rules - event rules
    type Rules map[string]TargetIDSet
    
    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    	rules[pattern] = NewTargetIDSet(targetID).Union(rules[pattern])
    }
    
    // MatchSimple - returns true one of the matching object name in rules.
    func (rules Rules) MatchSimple(objectName string) bool {
    	for pattern := range rules {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser_test.go

    	)
    
    	id := Identifier{}
    	validCases := []string{
    		"a",
    		"_a",
    		"abc_a",
    		"a2",
    		`"abc"`,
    		`"abc\a""ac"`,
    	}
    	for i, tc := range validCases {
    		err := p.ParseString(tc, &id)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(id, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    
    	invalidCases := []string{
    		"+a",
    		"-a",
    		"1a",
    		`"ab`,
    		`abc"`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. docs/sts/assume-role.go

    var (
    	// Minio endpoint (for STS API)
    	stsEndpoint string
    
    	// User account credentials
    	minioUsername string
    	minioPassword string
    
    	// Display credentials flag
    	displayCreds bool
    
    	// Credential expiry duration
    	expiryDuration time.Duration
    
    	// Bucket to list
    	bucketToList string
    
    	// Session policy file (FIXME: add support in minio-go)
    	sessionPolicyFile string
    )
    
    func init() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  8. cmd/tier-journal.go

    	sync.RWMutex
    	diskPath string
    	file     *os.File // active journal file
    }
    
    // TierJournal holds an in-memory and an on-disk delete journal of tiered content.
    type TierJournal struct {
    	*tierDiskJournal // for processing legacy journal entries
    	*tierMemJournal  // for processing new journal entries
    }
    
    type jentry struct {
    	ObjName   string `msg:"obj"`
    	VersionID string `msg:"vid"`
    	TierName  string `msg:"tier"`
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. internal/event/name.go

    		return 1 << (name - 1)
    	}
    	var mask uint64
    	for _, n := range name.Expand() {
    		mask |= 1 << (n - 1)
    	}
    	return mask
    }
    
    // String - returns string representation of event type.
    func (name Name) String() string {
    	switch name {
    	case BucketCreated:
    		return "s3:BucketCreated:*"
    	case BucketRemoved:
    		return "s3:BucketRemoved:*"
    	case ObjectAccessedAll:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_gen.go

    					return
    				}
    				if z.MetaUser == nil {
    					z.MetaUser = make(map[string]string, zb0011)
    				} else if len(z.MetaUser) > 0 {
    					for key := range z.MetaUser {
    						delete(z.MetaUser, key)
    					}
    				}
    				for zb0011 > 0 {
    					zb0011--
    					var za0011 string
    					var za0012 string
    					za0011, err = dc.ReadString()
    					if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top