Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Gerring (0.18 sec)

  1. src/archive/tar/reader.go

    				} else {
    					hdr.Typeflag = TypeReg
    				}
    			}
    
    			// The extended headers may have updated the size.
    			// Thus, setup the regFileReader again after merging PAX headers.
    			if err := tr.handleRegularFile(hdr); err != nil {
    				return nil, err
    			}
    
    			// Sparse formats rely on being able to read from the logical data
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    	}
    	existingRoot.merge(*otherRoot)
    	eHash := d.rootHash()
    	for key := range otherRoot.Children {
    		entry := other.Cache[key]
    		flat := other.flatten(entry)
    		existing := d.Cache[key]
    		// If not found, merging simply adds.
    		existing.merge(flat)
    		d.replaceHashed(dataUsageHash(key), &eHash, existing)
    	}
    }
    
    type objectIO interface {
    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)
  3. cmd/metrics-v3-cache.go

    package cmd
    
    import (
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    )
    
    // metricsCache - cache for metrics.
    //
    // When serving metrics, this cache is passed to the MetricsLoaderFn.
    //
    // This cache is used for metrics that would result in network/storage calls.
    type metricsCache struct {
    	dataUsageInfo       *cachevalue.Cache[DataUsageInfo]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. internal/config/identity/tls/config.go

    	}
    
    	dur := time.Duration(d) * time.Second
    
    	if dur < minExpiry || dur > maxExpiry {
    		return 0, auth.ErrInvalidDuration
    	}
    	return dur, nil
    }
    
    // Lookup returns a new Config by merging the given K/V config
    // system with environment variables.
    func Lookup(kvs config.KVS) (Config, error) {
    	if err := config.CheckValidKeys(config.IdentityTLSSubSys, kvs, DefaultKVS); err != nil {
    		return Config{}, err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    				gridLogIf(ctx, fmt.Errorf("ws write: %w", err))
    				return
    			}
    			continue
    		}
    
    		// Merge entries and send
    		queue = append(queue, toSend)
    		if debugPrint {
    			fmt.Println("Merging", len(queue), "messages")
    		}
    
    		toSend = merged[:0]
    		m := message{Op: OpMerged, Seq: uint32(len(queue))}
    		var err error
    		toSend, err = m.MarshalMsg(toSend)
    		if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    					allAtEOF = false
    				}
    				errs[i] = err
    			}(len(errs), set)
    			errs = append(errs, nil)
    		}
    	}
    	mu.Unlock()
    
    	// Gather results to a single channel.
    	// Quorum is one since we are merging across sets.
    	err := mergeEntryChannels(ctx, inputs, results, 1)
    
    	cancelList()
    	wg.Wait()
    
    	// we should return 'errs' from per disk
    	if isAllNotFound(errs) {
    		if isAllVolumeNotFound(errs) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/config-current.go

    	objAPI := newObjectLayerFn()
    
    	// We must have a global lock for this so nobody else modifies env while we do.
    	defer env.LockSetEnv()()
    
    	// Disable merging env values with config for validation.
    	env.SetEnvOff()
    
    	// Enable env values to validate KMS.
    	defer env.SetEnvOn()
    	if subSys != "" {
    		return validateSubSysConfig(ctx, s, subSys, objAPI)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    }
    
    var selectParamsXMLName = "SelectParameters"
    
    // UnmarshalXML - decodes XML data.
    func (sp *SelectParameters) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Essentially the same as S3Select barring the xml name.
    	if start.Name.Local == selectParamsXMLName {
    		start.Name = xml.Name{Space: "", Local: "SelectRequest"}
    	}
    	return sp.S3Select.UnmarshalXML(d, start)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-rebalance.go

    	defer xioutil.SafeClose(doneCh)
    
    	// Save rebalance.bin periodically.
    	go func() {
    		// Update rebalance.bin periodically once every 5-10s, chosen randomly
    		// to avoid multiple pool leaders herding to update around the same
    		// time.
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		randSleepFor := func() time.Duration {
    			return 5*time.Second + time.Duration(float64(5*time.Second)*r.Float64())
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top