Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Leifer (0.2 sec)

  1. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return nil, err
    	}
    	defer done(&err)
    
    	return p.storage.ListVols(ctx)
    }
    
    func (p *xlStorageDiskIDCheck) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricStatVol, volume)
    	if err != nil {
    		return vol, err
    	}
    	defer done(&err)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		pool := globalBytePoolCap.Load()
    		bufA := pool.Get()
    		bufB := pool.Get()
    		defer pool.Put(bufA)
    		defer pool.Put(bufB)
    		ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]})
    		if err == nil {
    			toEncode = ra
    			defer ra.Close()
    		}
    	}
    
    	n, err := erasure.Encode(pctx, toEncode, writers, buffer, writeQuorum)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    	respBody, err := client.call(ctx, storageRESTMethodReadVersion, values, nil, -1)
    	if err != nil {
    		return fi, err
    	}
    	defer xhttp.DrainBody(respBody)
    
    	dec := msgpNewReader(respBody)
    	defer readMsgpReaderPoolPut(dec)
    
    	err = fi.DecodeMsg(dec)
    	return fi, err
    }
    
    // ReadXL - reads all contents of xl.meta of a file.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	cache := store.rlock()
    	defer store.runlock()
    
    	u, ok := cache.iamUsersMap[user]
    	if !ok {
    		// Check the sts map
    		u, ok = cache.iamSTSAccountsMap[user]
    	}
    	return u, ok
    }
    
    // GetMappedPolicy - fetches mapped policy from memory.
    func (store *IAMStoreSys) GetMappedPolicy(name string, isGroup bool) (MappedPolicy, bool) {
    	cache := store.rlock()
    	defer store.runlock()
    
    	if isGroup {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/erasure.go

    	go func() {
    		// Add jitter to the update time so multiple sets don't sync up.
    		updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
    		t := time.NewTicker(updateTime)
    		defer t.Stop()
    		defer saverWg.Done()
    		var lastSave time.Time
    
    		for {
    			select {
    			case <-t.C:
    				if cache.Info.LastUpdate.Equal(lastSave) {
    					continue
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  6. cmd/metacache-set.go

    	rpc := mc.rpc
    	cancel := mc.cancel
    	defer func() {
    		o.debugln(color.Green("saveMetaCacheStream:")+"err:", err)
    		if err != nil && !errors.Is(err, io.EOF) {
    			go mc.setErr(err.Error())
    			cancel()
    		}
    	}()
    
    	defer cancel()
    	// Save continuous updates
    	go func() {
    		var err error
    		ticker := time.NewTicker(10 * time.Second)
    		defer ticker.Stop()
    		var exit bool
    		for !exit {
    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)
  7. cmd/erasure-server-pool-rebalance.go

    	z.rebalMu.Lock()
    	defer z.rebalMu.Unlock()
    
    	r := z.rebalMeta
    	if r == nil {
    		return
    	}
    
    	r.PoolStats[poolIdx].update(bucket, fi)
    }
    
    const (
    	rebalMetaName = "rebalance.bin"
    	rebalMetaFmt  = 1
    	rebalMetaVer  = 1
    )
    
    func (z *erasureServerPools) nextRebalBucket(poolIdx int) (string, bool) {
    	z.rebalMu.RLock()
    	defer z.rebalMu.RUnlock()
    
    	r := z.rebalMeta
    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)
  8. cmd/common-main.go

    	if runtime.GOOS == "windows" {
    		if mousetrap.StartedByExplorer() {
    			fmt.Printf("Don't double-click %s\n", os.Args[0])
    			fmt.Println("You need to open cmd.exe/PowerShell and run it from the command line")
    			fmt.Println("Refer to the docs here on how to run it as a Windows Service https://github.com/minio/minio-service/tree/master/windows")
    			fmt.Println("Press the Enter Key to Exit")
    			fmt.Scanln()
    			os.Exit(1)
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  9. internal/config/identity/ldap/ldap.go

    // username.
    func (l *Config) LookupUserDN(username string) (string, []string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return "", nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return "", nil, err
    	}
    
    	// Lookup user DN
    	bindDN, err := l.LDAP.LookupUserDN(conn, username)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    	ctx, cancel := context.WithCancel(ctx)
    	go func() {
    		defer cancel()
    		defer xioutil.SafeClose(results)
    
    		for _, erasureSet := range z.serverPools {
    			var wg sync.WaitGroup
    			for _, set := range erasureSet.sets {
    				set := set
    				wg.Add(1)
    				go func() {
    					defer wg.Done()
    
    					disks, infos, _ := set.getOnlineDisksWithHealingAndInfo(true)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
Back to top