Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for berkes (0.32 sec)

  1. internal/amztime/iso8601_time.go

    func ISO8601Format(t time.Time) string {
    	value := t.Format(iso8601TimeFormat)
    	if len(value) < len(iso8601TimeFormat) {
    		value = t.Format(iso8601TimeFormat[:len(iso8601TimeFormat)-1])
    		// Pad necessary zeroes to full-fill the iso8601TimeFormat
    		return value + strings.Repeat("0", (len(iso8601TimeFormat)-1)-len(value)) + "Z"
    	}
    	return value
    }
    
    // ISO8601Parse parses ISO8601 date string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. internal/grid/manager.go

    // If the host does not exist nil will be returned.
    func (m *Manager) Connection(host string) *Connection {
    	return m.targets[host]
    }
    
    // RegisterSingleHandler will register a stateless handler that serves
    // []byte -> ([]byte, error) requests.
    // subroutes are joined with "/" to a single subroute.
    func (m *Manager) RegisterSingleHandler(id HandlerID, h SingleHandlerFn, subroute ...string) error {
    	if !id.valid() {
    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)
  3. cmd/site-replication.go

    		if err != nil {
    			return wrapSRErr(err)
    		}
    		return nil
    	}
    
    	return nil
    }
    
    // PeerBucketMetadataUpdateHandler - merges the bucket metadata, save and ping other nodes
    func (c *SiteReplicationSys) PeerBucketMetadataUpdateHandler(ctx context.Context, item madmin.SRBucketMeta) error {
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. cmd/storage-rest-server.go

    // A single function to write certain errors to be fatal
    // or informative based on the `exit` flag, please look
    // at each implementation of error for added hints.
    //
    // FIXME: This is an unusual function but serves its purpose for
    // now, need to revisit the overall erroring structure here.
    // Do not like it :-(
    func logFatalErrs(err error, endpoint Endpoint, exit bool) {
    	switch {
    	case errors.Is(err, errXLBackend):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    	minioReservedBucket: {},
    }
    
    // Fetch redirect location if urlPath satisfies certain
    // criteria. Some special names are considered to be
    // redirectable, this is purely internal function and
    // serves only limited purpose on redirect-handler for
    // browser requests.
    func getRedirectLocation(r *http.Request) *xnet.URL {
    	resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    	if err != nil {
    		return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. internal/config/config.go

    )
    
    // map of subsystem to deleted keys
    var deletedSubSysKeys = map[string][]string{
    	APISubSys: {apiReplicationWorkers, apiReplicationFailedWorkers},
    	// Add future sub-system deleted keys
    }
    
    // Merge - merges a new config with all the
    // missing values for default configs,
    // returns a config.
    func (c Config) Merge() Config {
    	cp := New()
    	for subSys, tgtKV := range c {
    		for tgt := range tgtKV {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  7. cmd/last-minute.go

    		l.Totals[idx] = AccElem{}
    		l.LastSec++
    	}
    }
    
    // LastMinuteHistogram keeps track of last minute sizes added.
    type LastMinuteHistogram [sizeLastElemMarker]lastMinuteLatency
    
    // Merge safely merges two LastMinuteHistogram structures into one
    func (l LastMinuteHistogram) Merge(o LastMinuteHistogram) (merged LastMinuteHistogram) {
    	for i := range l {
    		merged[i] = l[i].merge(o[i])
    	}
    	return merged
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. cmd/xl-storage_test.go

    		Recursive: false,
    		Immediate: false,
    	})
    	if err != errDiskNotFound {
    		t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
    	}
    }
    
    // TestXLStorageDeleteFile - Series of test cases construct valid and invalid input data and validates the result and the error response.
    func TestXLStorageDeleteFile(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip()
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top