Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for co (0.2 sec)

  1. internal/config/cache/cache.go

    	if err != nil {
    		return nil, err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	switch resp.StatusCode {
    	case http.StatusNotFound:
    		return nil, ErrKeyMissing
    	case http.StatusOK:
    		co := &ObjectInfo{}
    		return co, co.DecodeMsg(msgp.NewReader(resp.Body))
    	default:
    		return nil, ErrInvalidArgument
    	}
    }
    
    // Set sets the cache object info
    func (c Config) Set(ci *ObjectInfo) {
    	configLock.RLock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    		return nil, nil, fmt.Errorf("failed to generate serial number: %w", err)
    	}
    
    	template := x509.Certificate{
    		SerialNumber: serialNumber,
    		Subject: pkix.Name{
    			Organization: []string{"Acme Co"},
    		},
    		NotBefore: notBefore,
    		NotAfter:  notAfter,
    
    		KeyUsage:              x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    		return 0, osErrToFileErr(err)
    	}
    
    	// additionally only purge older data at the end of the transaction of new data-dir
    	// movement, this is to ensure that previous data references can co-exist for
    	// any recoverability.
    	if oldDstDataPath != "" {
    		s.moveToTrash(oldDstDataPath, true, false)
    	}
    
    	if srcVolume != minioMetaMultipartBucket {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 82.4K bytes
    - Viewed (0)
Back to top