Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for isRequested (0.17 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/ProviderConnectionTest.groovy

            configuration.clientSubscriptions.isRequested(OperationType.GENERIC)
            configuration.clientSubscriptions.isRequested(OperationType.PROJECT_CONFIGURATION)
            configuration.clientSubscriptions.isRequested(OperationType.TRANSFORM)
            configuration.clientSubscriptions.isRequested(OperationType.WORK_ITEM)
            !configuration.clientSubscriptions.isRequested(OperationType.TEST)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 13 23:23:57 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. internal/crypto/sse.go

    	case S3KMS.IsRequested(h):
    		return S3KMS, true
    	case SSEC.IsRequested(h):
    		return SSEC, true
    	default:
    		return nil, false
    	}
    }
    
    // Requested returns whether any type of encryption is requested.
    func Requested(h http.Header) bool {
    	return S3.IsRequested(h) || S3KMS.IsRequested(h) || SSEC.IsRequested(h)
    }
    
    // UnsealObjectKey extracts and decrypts the sealed object key
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/configuration/DefaultBuildFeatures.java

            Provider<Boolean> isRequested = getRequestedProvider(startParameter.getConfigurationCache());
            Provider<Boolean> isActive = Providers.of(buildModelParameters.isConfigurationCache());
            return new DefaultBuildFeature(isRequested, isActive);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 09:05:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ToolingApiBuildEventListenerFactory.java

            ImmutableList.Builder<Object> listeners = ImmutableList.builder();
    
            if (subscriptions.isRequested(OperationType.TEST) && subscriptions.isRequested(OperationType.TEST_OUTPUT)) {
                listeners.add(new ClientForwardingTestOutputOperationListener(progressEventConsumer, idFactory));
            }
    
            if (subscriptions.isRequested(OperationType.BUILD_PHASE)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. internal/crypto/header_test.go

    )
    
    func TestIsRequested(t *testing.T) {
    	for i, test := range kmsIsRequestedTests {
    		_, got := IsRequested(test.Header)
    		if Requested(test.Header) != got {
    			// Test if result matches.
    			t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got)
    		}
    		got = got && S3KMS.IsRequested(test.Header)
    		if got != test.Expected {
    			t.Errorf("SSE-KMS: Test %d: Wanted %v but got %v", i, test.Expected, got)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  6. internal/crypto/header.go

    // functionality to handle SSE-C copy requests.
    var SSECopy = ssecCopy{}
    
    type ssecCopy struct{}
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C copy header. Regular SSE-C headers
    // are ignored.
    func (ssecCopy) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm]; ok {
    		return true
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    		if crypto.SSECopy.IsRequested(r.Header) {
    			writeErrorResponse(ctx, w, toAPIError(ctx, errInvalidEncryptionParameters), r.URL)
    			return
    		}
    
    		if crypto.SSEC.IsRequested(r.Header) && crypto.S3.IsRequested(r.Header) {
    			writeErrorResponse(ctx, w, toAPIError(ctx, crypto.ErrIncompatibleEncryptionMethod), r.URL)
    			return
    		}
    
    		if crypto.SSEC.IsRequested(r.Header) && crypto.S3KMS.IsRequested(r.Header) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/WorkItemOperationMapper.java

        @Override
        public boolean isEnabled(BuildEventSubscriptions subscriptions) {
            return subscriptions.isRequested(OperationType.TASK) && subscriptions.isRequested(OperationType.WORK_ITEM);
        }
    
        @Override
        public Class<ExecuteWorkItemBuildOperationType.Details> getDetailsType() {
            return ExecuteWorkItemBuildOperationType.Details.class;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. subprojects/build-events/src/main/java/org/gradle/internal/build/event/BuildEventSubscriptions.java

            this.operationTypes = ImmutableSet.copyOf(operationTypes);
        }
    
        public Set<OperationType> getOperationTypes() {
            return operationTypes;
        }
    
        public boolean isRequested(OperationType workItem) {
            return operationTypes.contains(workItem);
        }
    
        public boolean isAnyOperationTypeRequested() {
            return !operationTypes.isEmpty();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 21 18:56:37 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  10. cmd/encryption-v1.go

    			if !(crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers)) {
    				if r.Header.Get(xhttp.MinIOSourceReplicationRequest) != "true" {
    					return encrypted, errEncryptedObject
    				}
    			}
    		}
    
    		if crypto.S3.IsEncrypted(info.UserDefined) && r.Header.Get(xhttp.AmzCopySource) == "" {
    			if crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top