Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Gully (0.13 sec)

  1. cmd/erasure-object.go

    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    		// No need to allocate fully blockSizeV1 buffer if the incoming data is smaller.
    		buffer = make([]byte, size, 2*size+int64(fi.Erasure.ParityBlocks+fi.Erasure.DataBlocks-1))
    	}
    
    	if len(buffer) > int(fi.Erasure.BlockSize) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. internal/grid/handlers.go

    	// Buffers sent on out can not be referenced once sent.
    	StreamHandlerFn func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr
    
    	// StreamHandler handles fully bidirectional streams,
    	// There is flow control in both directions.
    	StreamHandler struct {
    		// Handle an incoming request. Initial payload is sent.
    		// Additional input packets (if any) are streamed to request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		}
    	}
    	return
    }
    
    // replicateAll replicates metadata for specified version of the object to destination bucket
    // if the destination version is missing it automatically does fully copy as well.
    // The source object is then updated to reflect the replication status.
    func (ri ReplicateObjectInfo) replicateAll(ctx context.Context, objectAPI ObjectLayer, tgt *TargetClient) (rinfo replicatedTargetInfo) {
    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)
  4. cmd/auth-handler_test.go

    		if testCase.expectedResult != actualResult {
    			t.Errorf("Test %d: Expected the result to `%v`, but instead got `%v`", i+1, testCase.expectedResult, actualResult)
    		}
    	}
    }
    
    // Provides a fully populated http request instance, fails otherwise.
    func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req, err := newTestRequest(method, urlStr, contentLength, body)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. internal/rest/client.go

    		// the client offline in such situations.
    		// generally all implementations should simply return
    		// 403, but in situations where there is a dependency
    		// with the caller to take the client offline purpose
    		// fully it should make sure to respond with '412'
    		// instead, see cmd/storage-rest-server.go for ideas.
    		if c.HealthCheckFn != nil && resp.StatusCode == http.StatusPreconditionFailed {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    	FilePath   string             `msg:"fp"`
    	UpdateOpts UpdateMetadataOpts `msg:"uo"`
    	FI         FileInfo           `msg:"fi"`
    }
    
    // UpdateMetadataOpts provides an optional input to indicate if xl.meta updates need to be fully synced to disk.
    type UpdateMetadataOpts struct {
    	NoPersistence bool `msg:"np"`
    }
    
    // CheckPartsHandlerParams are parameters for CheckPartsHandler
    type CheckPartsHandlerParams struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. cmd/api-response.go

    }
    
    // returns "https" if the tls boolean is true, "http" otherwise.
    func getURLScheme(tls bool) string {
    	if tls {
    		return httpsScheme
    	}
    	return httpScheme
    }
    
    // getObjectLocation gets the fully qualified URL of an object.
    func getObjectLocation(r *http.Request, domains []string, bucket, object string) string {
    	// unit tests do not have host set.
    	if r.Host == "" {
    		return path.Clean(r.URL.Path)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  8. cmd/xl-storage.go

    		return err
    	}
    
    	srcFilePath := pathJoin(filePath, xlStorageFormatFileV1)
    	dstFilePath := pathJoin(filePath, xlStorageFormatFile)
    
    	// Renaming xl.json to xl.meta should be fully synced to disk.
    	defer func() {
    		if err == nil && s.globalSync {
    			// Sync to disk only upon success.
    			globalSync()
    		}
    	}()
    
    	if err = Rename(srcFilePath, dstFilePath); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    		}
    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    		// No need to allocate fully fi.Erasure.BlockSize buffer if the incoming data is smaller.
    		buffer = make([]byte, size, 2*size+int64(fi.Erasure.ParityBlocks+fi.Erasure.DataBlocks-1))
    	}
    
    	if len(buffer) > int(fi.Erasure.BlockSize) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  10. internal/config/config.go

    // returns error if it find extra or superfluous keys.
    func CheckValidKeys(subSys string, kv KVS, validKVS KVS, deprecatedKeys ...string) error {
    	nkv := KVS{}
    	for _, kv := range kv {
    		// Comment is a valid key, its also fully optional
    		// ignore it since it is a valid key for all
    		// sub-systems.
    		if kv.Key == Comment {
    			continue
    		}
    		var skip bool
    		for _, deprecatedKey := range deprecatedKeys {
    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)
Back to top