Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,028 for width (0.17 sec)

  1. internal/bpool/bpool_test.go

    	}
    
    	bufPoolNoCap := NewBytePoolCap(size, width, 0)
    	// Check the width
    	if bufPoolNoCap.Width() != width {
    		t.Fatalf("bytepool width invalid: got %v want %v", bufPool.Width(), width)
    	}
    
    	// Check with width cap
    	if bufPoolNoCap.WidthCap() != 0 {
    		t.Fatalf("bytepool capWidth invalid: got %v want %v", bufPool.WidthCap(), 0)
    	}
    	b = bufPoolNoCap.Get()
    	if len(b) != width {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 19:13:27 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/update-notifier.go

    	maxContentWidth := max(line1Length, line2Length)
    
    	// termWidth is set to a default one to use when we are
    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    	if width, err := pb.GetTerminalWidth(); err == nil {
    		termWidth = width
    	}
    
    	// Box cannot be printed if terminal width is small than maxContentWidth
    	if maxContentWidth > termWidth {
    		return "\n" + line1InColor + "\n" + line2InColor + "\n\n"
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4.go

    			cr.err = err
    			return n, cr.err
    		}
    		if b == ';' { // separating character
    			break
    		}
    
    		// Manually deserialize the size since AWS specified
    		// the chunk size to be of variable width. In particular,
    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    			size = size<<4 | int(b-'0')
    		case b >= 'a' && b <= 'f':
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. internal/bpool/bpool.go

    		// buffer went back into pool
    	default:
    		// buffer didn't go back into pool, just discard
    	}
    }
    
    // Width returns the width of the byte arrays in this pool.
    func (bp *BytePoolCap) Width() (n int) {
    	if bp == nil {
    		return 0
    	}
    	return bp.w
    }
    
    // WidthCap returns the cap width of the byte arrays in this pool.
    func (bp *BytePoolCap) WidthCap() (n int) {
    	if bp == nil {
    		return 0
    	}
    	return bp.wcap
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    		// Test cases with prefixes.
    		// Testing listing with prefix set to "min" (Test number 40)	.
    		{bucketNames[2], "min", "", "", "", 100, listMultipartResults[26], nil, true},
    		// Testing listing with prefix set to "ney" (Test number 41).
    		{bucketNames[2], "ney", "", "", "", 100, listMultipartResults[27], nil, true},
    		// Testing listing with prefix set to "par" (Test number 42).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  6. docs/iam/identity-management-plugin.md

    To enable the integration of custom authentication methods, MinIO can be configured with an Identity Management Plugin webhook. When configured, this plugin enables the `AssumeRoleWithCustomToken` STS API extension. A user or application can now present a token to the `AssumeRoleWithCustomToken` API, and MinIO verifies this token by sending it to the Identity Management Plugin webhook. This plugin responds with some information and MinIO is able to generate temporary STS credentials to interact...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    				{Name: "temporary/0/"},
    			},
    		},
    		// ListObjectsResult-34:
    		//    * Listing with marker > last object should return empty
    		//    * Listing an object with a trailing slash and '/' delimiter
    		34: {
    			IsTruncated: false,
    			Objects:     []ObjectInfo{},
    		},
    		// ListObjectsResult-35 list with custom uncommon delimiter
    		35: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. docs/sts/etcd.md

    minio server /data
    ```
    
    NOTE: If `etcd` is configured with `Client-to-server authentication with HTTPS client certificates` then you need to use additional envs such as `MINIO_ETCD_CLIENT_CERT` pointing to path to `etcd-client.crt` and `MINIO_ETCD_CLIENT_CERT_KEY` path to `etcd-client.key` .
    
    ### 4. Test with MinIO STS API
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  9. .github/stale.yml

    daysUntilStale: 30
    
    # Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
    # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
    daysUntilClose: 15
    
    # Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
    onlyLabels: []
    
    # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 24 04:36:59 GMT 2022
    - 2K bytes
    - Viewed (0)
  10. internal/event/targetidset.go

    func (set TargetIDSet) add(targetID TargetID) {
    	set[targetID] = struct{}{}
    }
    
    // Union - returns union with given set as new set.
    func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet {
    	nset := set.Clone()
    
    	for k := range sset {
    		nset.add(k)
    	}
    
    	return nset
    }
    
    // Difference - returns difference with given set as new set.
    func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet {
    	nset := NewTargetIDSet()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top