Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for REGION (0.21 sec)

  1. cmd/signature-v4_test.go

    	now := UTCNow()
    	credentialTemplate := "%s/%s/%s/s3/aws4_request"
    
    	region := globalSite.Region
    	accessKeyID := globalActiveCred.AccessKey
    	testCases := []struct {
    		queryParams map[string]string
    		headers     map[string]string
    		region      string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			region:   globalMinioDefaultRegion,
    			expected: ErrInvalidQueryParams,
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  2. internal/event/config.go

    }
    
    // Validate - checks whether queue has valid values or not.
    func (q Queue) Validate(region string, targetList *TargetList) error {
    	if q.ARN.region == "" {
    		if !targetList.Exists(q.ARN.TargetID) {
    			return &ErrARNNotFound{q.ARN}
    		}
    		return nil
    	}
    
    	if region != "" && q.ARN.region != region {
    		return &ErrUnknownRegion{q.ARN.region}
    	}
    
    	if !targetList.Exists(q.ARN.TargetID) {
    		return &ErrARNNotFound{q.ARN}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  3. cmd/signature-v4-parser.go

    	}
    
    	cred.scope.region = credElements[1]
    	// Verify if region is valid.
    	sRegion := cred.scope.region
    	// Region is set to be empty, we use whatever was sent by the
    	// request and proceed further. This is a work-around to address
    	// an important problem for ListBuckets() getting signed with
    	// different regions.
    	if region == "" {
    		region = sRegion
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. internal/event/arn.go

    	"strings"
    )
    
    // ARN - SQS resource name representation.
    type ARN struct {
    	TargetID
    	region string
    }
    
    // String - returns string representation.
    func (arn ARN) String() string {
    	if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:sqs:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // MarshalXML - encodes to XML data.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

            String value = ENTITIES.get(scanner.region().toLowerCase());
            buffer.append(value);
            scanner.next();
        }
    
        private void parseHtmlEncodedChar(StringBuilder buffer) {
            scanner.next(2);
            scanner.mark();
            scanner.find(';');
            String value = new String(new char[]{(char) Integer.parseInt(scanner.region())});
            buffer.append(value);
            scanner.next();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

                                    TF_WRITABLE_FILE_OPS_ABI, "writable file"));
    
      if (ops->read_only_memory_region_ops != nullptr)
        TF_RETURN_IF_ERROR(CheckABI(ops->read_only_memory_region_ops_abi,
                                    TF_READ_ONLY_MEMORY_REGION_OPS_ABI,
                                    "read only memory region"));
    
      return OkStatus();
    }
    
    // Checks if the plugin and core API numbers match, logging mismatches.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  7. internal/arn/arn_test.go

    		want string
    	}{
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio:iam:us-east-1::role/my-role",
    		},
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. cmd/server-startup-msg.go

    	}
    	return newAPIEndpoints
    }
    
    // Prints common server startup message. Prints credential, region and browser access.
    func printServerCommonMsg(apiEndpoints []string) {
    	// Get saved credentials.
    	cred := globalActiveCred
    
    	// Get saved region.
    	region := globalSite.Region
    
    	apiEndpointStr := strings.TrimSpace(strings.Join(apiEndpoints, "  "))
    	// Colorize the message and print.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.h

                                  const TF_ReadOnlyMemoryRegionOps* ops)
          : region_(std::move(region)), ops_(ops) {}
    
      ~ModularReadOnlyMemoryRegion() override { ops_->cleanup(region_.get()); };
    
      const void* data() override { return ops_->data(region_.get()); }
      uint64 length() override { return ops_->length(region_.get()); }
    
     private:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>(
          plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE));
      ops->read_only_memory_region_ops->cleanup =
          tf_read_only_memory_region::Cleanup;
      ops->read_only_memory_region_ops->data = tf_read_only_memory_region::Data;
      ops->read_only_memory_region_ops->length = tf_read_only_memory_region::Length;
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top