Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for unload (5.62 sec)

  1. cmd/test-utils_test.go

    }
    
    // return URL for a new multipart upload.
    func getNewMultipartURL(endPoint, bucketName, objectName string) string {
    	queryValue := url.Values{}
    	queryValue.Set("uploads", "")
    	return makeTestTargetURL(endPoint, bucketName, objectName, queryValue)
    }
    
    // return URL for a new multipart upload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    func (lm ListMultipartsInfo) Lookup(uploadID string) bool {
    	for _, upload := range lm.Uploads {
    		if upload.UploadID == uploadID {
    			return true
    		}
    	}
    	return false
    }
    
    // ListMultipartsInfo - represents bucket resources for incomplete multipart uploads.
    type ListMultipartsInfo struct {
    	// Together with upload-id-marker, this parameter specifies the multipart upload
    	// after which listing should begin.
    	KeyMarker string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. internal/cachevalue/cache.go

    		if t.updating.TryLock() {
    			go func() {
    				defer t.updating.Unlock()
    				t.update()
    			}()
    		}
    		return v.v, v.e
    	}
    
    	// Get lock. Either we get it or we wait for it.
    	t.updating.Lock()
    	if time.Since(time.UnixMilli(t.lastUpdateMs.Load())) < ttl {
    		// There is a new value, release lock and return it.
    		v = t.valErr.Load()
    		t.updating.Unlock()
    		return v.v, v.e
    	}
    	t.update()
    	v = t.valErr.Load()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    			}
    			if state == StateShutdown || state == StateConnectionError {
    				c.connChange.L.Unlock()
    				return
    			}
    			c.connChange.Wait()
    			select {
    			case <-ctx.Done():
    				c.connChange.L.Unlock()
    				return
    			default:
    			}
    		}
    		c.connChange.L.Unlock()
    		if len(queue) == 0 {
    			// Combine writes.
    			buf.Reset()
    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)
  5. cmd/metrics-resource.go

    		cpuNice:           "CPU nice time",
    		cpuLoad1:          "CPU load average 1min",
    		cpuLoad5:          "CPU load average 5min",
    		cpuLoad15:         "CPU load average 15min",
    		cpuLoad1Perc:      "CPU load average 1min (perentage)",
    		cpuLoad5Perc:      "CPU load average 5min (percentage)",
    		cpuLoad15Perc:     "CPU load average 15min (percentage)",
    	}
    	resourceMetricsGroups = []*MetricsGroupV2{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    		mrfWorkers = maxWorkers
    	}
    	p.priority = pri
    	p.maxWorkers = maxWorkers
    	p.mu.Unlock()
    	p.ResizeWorkers(workers, 0)
    	p.ResizeFailedWorkers(mrfWorkers)
    }
    
    // ResizeFailedWorkers sets replication failed workers pool size
    func (p *ReplicationPool) ResizeFailedWorkers(n int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    	for p.mrfWorkerSize < n {
    		p.mrfWorkerSize++
    		go p.AddMRFWorker()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. cmd/metacache-manager.go

    	m.init.Do(m.initManager)
    	m.mu.Lock()
    	b, ok := m.buckets[bucket]
    	if !ok {
    		m.mu.Unlock()
    		return
    	}
    	delete(m.buckets, bucket)
    	m.mu.Unlock()
    
    	// Since deletes may take some time we try to do it without
    	// holding lock to m all the time.
    	b.mu.Lock()
    	defer b.mu.Unlock()
    	for k, v := range b.caches {
    		if time.Since(v.lastUpdate) > metacacheMaxRunningAge {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  8. cmd/peer-rest-client.go

    	}))
    	return err
    }
    
    // LoadPolicy - reload a specific canned policy.
    func (client *peerRESTClient) LoadPolicy(policyName string) (err error) {
    	_, err = loadPolicyRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTPolicy: policyName,
    	}))
    	return err
    }
    
    // LoadPolicyMapping - reload a specific policy mapping
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  9. cmd/api-router.go

    	globalObjLayerMutex.Lock()
    	globalHTTPServer = h
    	globalObjLayerMutex.Unlock()
    }
    
    func newConsoleServerFn() *consoleapi.Server {
    	globalObjLayerMutex.RLock()
    	defer globalObjLayerMutex.RUnlock()
    	return globalConsoleSrv
    }
    
    func setConsoleSrv(srv *consoleapi.Server) {
    	globalObjLayerMutex.Lock()
    	globalConsoleSrv = srv
    	globalObjLayerMutex.Unlock()
    }
    
    func newObjectLayerFn() ObjectLayer {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. cmd/config.go

    }
    
    // NewConfigSys - creates new config system object.
    func NewConfigSys() *ConfigSys {
    	return &ConfigSys{}
    }
    
    // Initialize and load config from remote etcd or local config directory
    func initConfig(objAPI ObjectLayer) (err error) {
    	bootstrapTraceMsg("load the configuration")
    	defer func() {
    		if err != nil {
    			bootstrapTraceMsg(fmt.Sprintf("loading configuration failed: %v", err))
    		}
    	}()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top