Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for cdef (0.16 sec)

  1. cmd/lock-rest-server-common_test.go

    		UID:             "0123-4567",
    		Timestamp:       UTCNow(),
    		TimeLastRefresh: UTCNow(),
    	}
    	lockRequesterInfo2 := lockRequesterInfo{
    		Owner:           "owner",
    		Writer:          true,
    		UID:             "89ab-cdef",
    		Timestamp:       UTCNow(),
    		TimeLastRefresh: UTCNow(),
    	}
    
    	locker.ll.lockMap["name"] = []lockRequesterInfo{
    		lockRequesterInfo1,
    		lockRequesterInfo2,
    	}
    
    	lri := locker.ll.lockMap["name"]
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. docs/sts/client_grants/sts_element.py

        cElementTree.Element instance. Provides STS namespace aware parsing
        functions.
    
        """
    
        def __init__(self, root_name, element):
            self.root_name = root_name
            self.element = element
    
        @classmethod
        def fromstring(cls, root_name, data):
            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. docs/sts/client_grants/__init__.py

                    metadata=fetcher(),
                    refresh_using=fetcher,
                    method=self.METHOD,
                )
            else:
                return None
    
        def _create_credentials_fetcher(self):
            method = self.METHOD
    
            def fetch_credentials():
                # HTTP headers are case insensitive filter out
                # all duplicate headers and pick one.
                headers = {}
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  4. docs/extensions/s3zip/examples/boto3/main.py

            aws_access_key_id='YOUR-ACCESSKEYID',
            aws_secret_access_key='YOUR-SECRETACCESSKEY',
            config=Config(signature_version='s3v4'),
            region_name='us-east-1')
    
    
    def _add_header(request, **kwargs):
        request.headers.add_header('x-minio-extract', 'true')
    event_system = s3.meta.events
    event_system.register_first('before-sign.s3.*', _add_header)
    
    # List zip contents
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Aug 04 21:15:45 GMT 2021
    - 771 bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    		//
    		// import org.apache.spark.sql.SparkSession
    		// import org.apache.spark.sql.types.{IntegerType, StringType, StructField, StructType}
    		// object SparkJSONRead {
    		//   def main(args: Array[String]): Unit = {
    		//     val spark:SparkSession = SparkSession.builder()
    		//       .appName("SparkByExample")
    		//       .master("local[1]").getOrCreate()
    		//
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 77.8K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    		// Remove doubled slash
    		{"abc//def//ghi", "abc/def/ghi"},
    		{"//abc", "/abc"},
    		{"///abc", "/abc"},
    		{"//abc//", "/abc"},
    		{"abc//", "abc"},
    
    		// Remove . elements
    		{"abc/./def", "abc/def"},
    		{"/./abc/def", "/abc/def"},
    		{"abc/.", "abc"},
    
    		// Remove .. elements
    		{"abc/def/ghi/../jkl", "abc/def/jkl"},
    		{"abc/def/../ghi/../jkl", "abc/jkl"},
    		{"abc/def/..", "abc"},
    		{"abc/def/../..", "."},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. internal/grid/types_test.go

    		t.Errorf("MSS: %v != %v", v, v2)
    	}
    }
    
    func BenchmarkMarshalMsgMSS(b *testing.B) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgMSS(b *testing.B) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. docs/sts/web-identity.py

        region_name='us-east-1',
        use_ssl=False,
        endpoint_url='http://localhost:9000',
    )
    
    app = Flask(__name__)
    
    
    @app.route('/')
    def homepage():
        text = '<a href="%s">Authenticate with keycloak</a>'
        return text % make_authorization_url()
    
    
    def make_authorization_url():
        # Generate a random string for the state parameter
        # Save it for use later to prevent xsrf attacks
    
        state = str(uuid4())
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jul 28 01:37:51 GMT 2021
    - 2.9K bytes
    - Viewed (1)
  9. cmd/xl-storage_test.go

    		{
    			srcVol:          "success-vol",
    			srcPath:         "abc",
    			expectedListDir: []string{"def/", "xyz/"},
    			expectedErr:     nil,
    		},
    		// TestXLStorage case - 1.
    		// valid case with existing volume and file to delete.
    		{
    			srcVol:          "success-vol",
    			srcPath:         "abc/def",
    			expectedListDir: []string{"ghi/"},
    			expectedErr:     nil,
    		},
    		// TestXLStorage case - 1.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/object-api-putobject_test.go

    		4: {bucketName: bucket, inputData: []byte(""), expectedError: ObjectNameInvalid{Bucket: bucket, Object: ""}},
    
    		// Valid object and bucket names but non-existent bucket.
    		5: {bucketName: "abc", objName: "def", inputData: []byte(""), expectedError: BucketNotFound{Bucket: "abc"}},
    
    		// Input to replicate Md5 mismatch.
    		6: {
    			bucketName: bucket, objName: object, inputData: []byte(""),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top