Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for Two (0.12 sec)

  1. internal/mountinfo/mountinfo_linux_test.go

    			}
    		}
    	}
    }
    
    // Helpers for tests.
    
    // Check if two `mountInfo` are equal.
    func mountPointsEqual(a, b mountInfo) bool {
    	if a.Device != b.Device || a.Path != b.Path || a.FSType != b.FSType || !slicesEqual(a.Options, b.Options) || a.Pass != b.Pass || a.Freq != b.Freq {
    		return false
    	}
    	return true
    }
    
    // Checks if two string slices are equal.
    func slicesEqual(a, b []string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/security/README.md

    SSE-S3 allows an S3 client to en/decrypt an object at the MinIO server using a KMS. The MinIO
    server only assumes that the KMS provides two services:
    
    - `GenerateKey`: Takes a key ID and generates a new data key from a master key referenced by the key ID. It returns the new data key in two different forms: The plain data key and the data key encrypted using the master key.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 13.8K bytes
    - Viewed (0)
  3. internal/grid/stream.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package grid
    
    import (
    	"context"
    	"errors"
    )
    
    // A Stream is a two-way stream.
    // All responses *must* be read by the caller.
    // If the call is canceled through the context,
    // the appropriate error will be returned.
    type Stream struct {
    	// responses from the remote server.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. cmd/net.go

    	// If intersection of two IP sets is not empty, then the host is localhost.
    	isLocalv4 := !nonInterIPV4s.IsEmpty()
    	isLocalv6 := !nonInterIPV6s.IsEmpty()
    	if port != "" {
    		return (isLocalv4 || isLocalv6) && (port == localPort), nil
    	}
    	return isLocalv4 || isLocalv6, nil
    }
    
    // sameLocalAddrs - returns true if two addresses, even with different
    // formats, point to the same machine, e.g:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. internal/auth/credentials_test.go

    		expectedResult bool
    	}{
    		// Same Credentialss.
    		{cred, cred, true},
    		// Empty credentials to compare.
    		{cred, Credentials{}, false},
    		// Empty credentials.
    		{Credentials{}, cred, false},
    		// Two different credentialss
    		{cred, cred2, false},
    		// Access key is different in credentials to compare.
    		{cred, Credentials{AccessKey: "myuser", SecretKey: cred.SecretKey}, false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. internal/dsync/dsync_test.go

    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    }
    
    // Test two locks for same resource, one succeeds, one fails (after timeout)
    func TestTwoSimultaneousLocksForSameResource(t *testing.T) {
    	dm1st := NewDRWMutex(ds, "aap")
    	dm2nd := NewDRWMutex(ds, "aap")
    
    	dm1st.Lock(id, source)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    	// If src == dst and either
    	// - the object is encrypted using SSE-C and two different SSE-C keys are present
    	// - the object is encrypted using SSE-S3 and the SSE-S3 header is present
    	// - the object storage class is not changing
    	// then execute a key rotation.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. internal/s3select/sql/timestampfuncs.go

    	case timePartSecond:
    		duration = time.Duration(qty) * time.Second
    	default:
    		return nil, errNotImplemented
    	}
    	return FromTimestamp(t.Add(duration)), nil
    }
    
    // dateDiff computes the difference between two times in terms of the
    // `timePart` which can be years, months, days, hours, minutes or
    // seconds. For difference in years, months or days, the time part,
    // including timezone is ignored.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  9. docs/bucket/lifecycle/DESIGN.md

    object metadata on MinIO.
    
    The data on the backend is stored under the `bucket/prefix` specified in the tier configuration with a custom name derived from a randomly generated uuid - e.g. `0b/c4/0bc4fab7-2daf-4d2f-8e39-5c6c6fb7e2d3`. The first two prefixes are characters 1-2,3-4 from the uuid. This format allows tiering to any cloud irrespective of whether the cloud in question supports versioning. The reference to the transitioned object name and transitioned tier is stored as part of the internal...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  10. docs/sts/wso2.md

    ### 2. Configure WSO2
    
    Once WSO2 is up and running, configure WSO2 to generate Self contained id_tokens. In OAuth 2.0 specification there are primarily two ways to provide id_tokens
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.7K bytes
    - Viewed (0)
Back to top