Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for void (0.15 sec)

  1. cmd/test-utils_test.go

    	if method == "" {
    		method = http.MethodPost
    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    		// this is added to avoid panic during io.ReadAll(req.Body).
    		// th stack trace can be found here  https://github.com/minio/minio/pull/2074 .
    		// This is very similar to https://github.com/golang/go/issues/7527.
    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/xl-storage.go

    	// Small file threshold below which data accompanies metadata from storage layer.
    	smallFileThreshold = 128 * humanize.KiByte // Optimized for NVMe/SSDs
    
    	// For hardrives it is possible to set this to a lower value to avoid any
    	// spike in latency. But currently we are simply keeping it optimal for SSDs.
    
    	// bigFileThreshold is the point where we add readahead to put operations.
    	bigFileThreshold = 128 * humanize.MiByte
    
    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)
  3. cmd/iam-store.go

    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    // both the old and the new formats.
    func (d *PolicyDoc) parseJSON(data []byte) error {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	var doc PolicyDoc
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/erasure-server-pool.go

    	)
    
    	// Maximum number of reusable buffers per node at any given point in time.
    	n := uint64(1024) // single node single/multiple drives set this to 1024 entries
    
    	if globalIsDistErasure {
    		n = 2048
    	}
    
    	// Avoid allocating more than half of the available memory
    	if maxN := availableMemory() / (blockSizeV2 * 2); n > maxN {
    		n = maxN
    	}
    
    	if globalIsCICD || strconv.IntSize == 32 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    //
    //	  errs: errors from reading xl.meta in all disks
    //	   err: reduced errs
    //	bucket: the object name in question
    func shouldCheckForDangling(err error, errs []error, bucket string) bool {
    	// Avoid data in .minio.sys for now
    	if bucket == minioMetaBucket {
    		return false
    	}
    	switch {
    	// Check if we have a read quorum issue
    	case errors.Is(err, errErasureReadQuorum):
    		return true
    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)
  6. cmd/iam.go

    }
    
    // DeletePolicy - deletes a canned policy from backend. `notifyPeers` is true
    // whenever this is called via the API. It is false when called via a
    // notification from another peer. This is to avoid infinite loops.
    func (sys *IAMSys) DeletePolicy(ctx context.Context, policyName string, notifyPeers bool) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. src/cmd/cgo/gcc.go

    		used[f.Name] = true
    	}
    
    	if !*godefs {
    		for cid, goid := range ident {
    			if token.Lookup(goid).IsKeyword() {
    				// Avoid keyword
    				goid = "_" + goid
    
    				// Also avoid existing fields
    				for _, exist := used[goid]; exist; _, exist = used[goid] {
    					goid = "_" + goid
    				}
    
    				used[goid] = true
    				ident[cid] = goid
    			}
    		}
    	}
    
    	anon := 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    				ReplicationRequest:      true, // always set this to distinguish between `mc mirror` replication and serverside
    			},
    		})
    	}
    
    	if retry && !s3Type { // when we are retrying avoid copying if necessary.
    		gopts := miniogo.GetObjectOptions{}
    		if err := gopts.SetMatchETag(srcObjInfo.ETag); err != nil {
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    					Code:      apiErr.Code,
    					Message:   apiErr.Description,
    					Key:       object.ObjectName,
    					VersionID: object.VersionID,
    				}
    				continue
    			}
    		}
    
    		// Avoid duplicate objects, we use map to filter them out.
    		if _, ok := objectsToDelete[object]; !ok {
    			objectsToDelete[object] = index
    		}
    	}
    
    	toNames := func(input map[ObjectToDelete]int) (output []ObjectToDelete) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    				Mode:     0444,
    			},
    		},
    	},
    	{
    		// created by Go, before we wrote the "optional" data
    		// descriptor signatures (which are required by macOS).
    		// Use obscured file to avoid Appleā€™s notarization service
    		// rejecting the toolchain due to an inability to unzip this archive.
    		// See golang.org/issue/34986
    		Name:     "go-no-datadesc-sig.zip.base64",
    		Obscured: true,
    		File: []ZipTestFile{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top