Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 415 for whence (0.28 sec)

  1. internal/s3select/select.go

    		offset:        0,
    		reader:        nil,
    	}
    }
    
    // Seek call to implement io.Seeker
    func (rsc *ObjectReadSeekCloser) Seek(offset int64, whence int) (int64, error) {
    	// fmt.Printf("actual: %v offset: %v (%v) whence: %v\n", rsc.size, offset, rsc.offset, whence)
    	switch whence {
    	case io.SeekStart:
    		rsc.offset = offset
    	case io.SeekCurrent:
    		rsc.offset += offset
    	case io.SeekEnd:
    		rsc.offset = rsc.size + offset
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  2. cmd/dummy-data-generator_test.go

    	if d.idx >= d.length {
    		extraBytes := d.idx - d.length
    		n -= int(extraBytes)
    		if n < 0 {
    			n = 0
    		}
    		err = io.EOF
    	}
    	return
    }
    
    func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    		case "content-length":
    			// Signature-V4 spec excludes Content-Length from signed headers list for signature calculation.
    			// But some clients deviate from this rule. Hence we consider Content-Length for signature
    			// calculation to be compatible with such clients.
    			extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10))
    		default:
    			return nil, ErrUnsignedHeaders
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    			if r == nil {
    				onlineDisks[i] = OfflineDisk
    			}
    		}
    		// Track total bytes read from disk and written to the client.
    		totalBytesRead += partLength
    		// partOffset will be valid only for the first part, hence reset it to 0 for
    		// the remaining parts.
    		partOffset = 0
    	} // End of read all parts loop.
    	// Return success.
    	return nil
    }
    
    // GetObjectInfo - reads object metadata and replies back ObjectInfo.
    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)
  5. docs/hotfixes.md

    Author: Harshavardhana <******@****.***>
    Date:   Sat Jun 15 11:27:17 2019 -0700
    
        [security] Match ${aws:username} exactly instead of prefix match (#7791)
    
        This PR fixes a security issue where an IAM user based
        on his policy is granted more privileges than restricted
        by the users IAM policy.
    
        This is due to an issue of prefix based Matcher() function
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 21:36:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. helm/minio/values.yaml

    ## Provide a name in place of minio for `app:` labels
    ##
    nameOverride: ""
    
    ## Provide a name to substitute for the full names of resources
    ##
    fullnameOverride: ""
    
    ## set kubernetes cluster domain where minio is running
    ##
    clusterDomain: cluster.local
    
    ## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the
    ##
    image:
      repository: quay.io/minio/minio
      tag: RELEASE.2024-04-18T19-09-19Z
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  7. docs/sts/web-identity.md

    authentication challenges, etc). After successful login, the user is redirected back to the MinIO console. This redirect URL is specified as a parameter by MinIO when the user is redirected to the OpenID Provider in the beginning. For some setups, extra configuration may be required for this step to work correctly.
    
    For a simple setup where the user/client app accesses MinIO directly (i.e. with no intervening proxies/load-balancers), and each MinIO server (if there are more than one) has a unique...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. cmd/erasure-server-pool.go

    		// I/O.
    		if z.IsSuspended(index) || z.IsPoolRebalancing(index) {
    			continue
    		}
    		pool := z.serverPools[index]
    		nSets[index] = pool.setCount
    		g.Go(func() error {
    			// Get the set where it would be placed.
    			storageInfos[index] = getDiskInfos(ctx, pool.getHashedSet(object).getDisks()...)
    			return nil
    		}, index)
    	}
    
    	// Wait for the go routines.
    	g.Wait()
    
    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)
  9. cmd/globals.go

    	diskFillFraction = 0.99
    
    	// diskReserveFraction is the fraction of a disk where we will fill other server pools first.
    	// If all pools reach this, we will use all pools with regular placement.
    	diskReserveFraction = 0.15
    
    	// diskAssumeUnknownSize is the size to assume when an unknown size upload is requested.
    	diskAssumeUnknownSize = 1 << 30
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. cmd/erasure-object_test.go

    		return erasureDisks
    	}
    
    	z.serverPools[0].erasureDisksMu.Unlock()
    	_, err = obj.DeleteObject(ctx, bucket, object, ObjectOptions{})
    	// since majority of disks are not available, metaquorum is not achieved and hence errErasureWriteQuorum error
    	if !errors.Is(err, errErasureWriteQuorum) {
    		t.Errorf("Expected deleteObject to fail with %v, but failed with %v", toObjectErr(errErasureWriteQuorum, bucket, object), err)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
Back to top