Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 334 for Segijn (0.2 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::unique_ptr<ReadOnlyMemoryRegion> region;
      status = env_->NewReadOnlyMemoryRegionFromFile(filepath, &region);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      if (!status.ok())
        GTEST_SKIP() << "NewReadOnlyMemoryRegionFromFile() not supported: "
                     << status;
      EXPECT_EQ(region->length(), test_data.size());
      EXPECT_STREQ(reinterpret_cast<const char*>(region->data()),
                   test_data.c_str());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser_test.go

    	}
    	if expectedCredentials.scope.region != actualCredential.scope.region {
    		t.Errorf("Test %d: region mismatch:Expected \"%s\", got \"%s\"", testNum, expectedCredentials.scope.region, actualCredential.scope.region)
    	}
    	if expectedCredentials.scope.service != actualCredential.scope.service {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  3. 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 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  4. 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 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    	case authTypeSigned, authTypePresigned:
    		region := globalSite.Region
    		switch action {
    		case policy.GetBucketLocationAction, policy.ListAllMyBucketsAction:
    			region = ""
    		}
    		if s3Err = isReqAuthenticated(ctx, r, region, serviceS3); s3Err != ErrNone {
    			return s3Err
    		}
    		cred, owner, s3Err = getReqAccessKeyV4(r, region, serviceS3)
    	}
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  6. cmd/config-current_test.go

    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("Init Test config failed")
    	}
    
    	if globalSite.Region != globalMinioDefaultRegion {
    		t.Errorf("Expecting region `us-east-1` found %s", globalSite.Region)
    	}
    
    	// Set new region and verify.
    	config.SetRegion(globalServerConfig, "us-west-1")
    	site, err := config.LookupSite(
    		globalServerConfig[config.SiteSubSys][config.Default],
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Dec 19 19:10:14 GMT 2022
    - 2K bytes
    - Viewed (0)
  7. 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 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  8. 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)
  9. cmd/signature-v4.go

    // returns ErrNone if the signature matches.
    func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// Server region.
    	region := globalSite.Region
    
    	// Parse credential tag.
    	credHeader, s3Err := parseCredentialHeader("Credential="+formValues.Get(xhttp.AmzCredential), region, serviceS3)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. 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)
Back to top