Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for wasCancelled (0.15 sec)

  1. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/exec/BuildActionResult.java

        private final RuntimeException failure;
        private final boolean wasCancelled;
    
        private BuildActionResult(SerializedPayload result, SerializedPayload serializedFailure, RuntimeException failure, boolean wasCancelled) {
            this.result = result;
            this.serializedFailure = serializedFailure;
            this.failure = failure;
            this.wasCancelled = wasCancelled;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/DaemonMessageSerializer.java

                    case 3:
                        wasCancelled = decoder.readBoolean();
                        SerializedPayload failure = payloadSerializer.read(decoder);
                        return new Success(BuildActionResult.failed(wasCancelled, failure, null));
                    case 4:
                        wasCancelled = decoder.readBoolean();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy

            def message = new Success(buildSuccessful)
            def result = serialize(message, serializer)
            result instanceof Success
            result.value instanceof BuildActionResult
            !result.value.wasCancelled()
            result.value.result.header == null
            result.value.result.serializedModel.empty
            result.value.failure == null
            result.value.exception == null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (throwable != null) {
            return new Failure(throwable);
          }
        }
        boolean wasCancelled = future.isCancelled();
        // Don't allocate a CancellationException if it's not necessary
        if (!GENERATE_CANCELLATION_CAUSES & wasCancelled) {
          /*
           * requireNonNull is safe because we've initialized CAUSELESS_CANCELLED if
           * !GENERATE_CANCELLATION_CAUSES.
           */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (throwable != null) {
            return new Failure(throwable);
          }
        }
        boolean wasCancelled = future.isCancelled();
        // Don't allocate a CancellationException if it's not necessary
        if (!GENERATE_CANCELLATION_CAUSES & wasCancelled) {
          /*
           * requireNonNull is safe because we've initialized CAUSELESS_CANCELLED if
           * !GENERATE_CANCELLATION_CAUSES.
           */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

        // in order to read these fields, the corresponding write to incompleteOutputCount must have
        // been read.
        private boolean wasCancelled = false;
        private boolean shouldInterrupt = true;
        private final AtomicInteger incompleteOutputCount;
        // We set the elements of the array to null as they complete.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderConnection.java

            }
        }
    
        private RuntimeException map(BuildActionResult result, RuntimeException exception) {
            // Wrap build failure in 'cancelled' cross version exception
            if (result.wasCancelled()) {
                throw new InternalBuildCancelledException(exception);
            }
    
            // Forward special cases directly to consumer
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Futures.java

        // in order to read these fields, the corresponding write to incompleteOutputCount must have
        // been read.
        private boolean wasCancelled = false;
        private boolean shouldInterrupt = true;
        private final AtomicInteger incompleteOutputCount;
        // We set the elements of the array to null as they complete.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller_test.go

    				t.Errorf("hash calls does not match: want=%v, got=%v", test.wantHashCalls, hashCalls)
    			}
    
    			if test.wantTransformerClosed != queue.wasCanceled {
    				t.Errorf("transformer closed does not match: want=%v, got=%v", test.wantTransformerClosed, queue.wasCanceled)
    			}
    
    			if test.wantAddRateLimitedCount != queue.addRateLimitedCount.Load() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top