Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for asFailure (0.25 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            exchange.finishRequest()
          }
        } catch (e: IOException) {
          if (e is ConnectionShutdownException) {
            throw e // No request was sent so there's no response to read.
          }
          if (!exchange.hasFailure) {
            throw e // Don't attempt to read the response; we failed to send the request.
          }
          sendRequestException = e
        }
    
        try {
          if (responseBuilder == null) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java

                    ResponseProducer responseProducer = selectProducer(id, httpExchange);
                    System.out.printf("[%d] sending response for %s%n", id, outcome.getDisplayName());
                    if (!responseProducer.isFailure()) {
                        responseProducer.writeTo(id, httpExchange);
                    } else {
                        Throwable failure = responseProducer.getFailure();
                        requestFailed(outcome, failure);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandle.java

            // On rare occasions, exitValue == 0 when the process is expected to fail, and the error output indicates failure.
            boolean buildFailed = execResult.getExitValue() != 0 || OutputScrapingExecutionFailure.hasFailure(output);
            ExecutionResult executionResult = buildFailed ? toExecutionFailure(output, error) : toExecutionResult(output, error);
    
            if (expectFailure && !buildFailed) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                    final SuggestWriterResult result =
                            suggestWriter.write(client, settings, index, updateItems.toArray(new SuggestItem[updateItems.size()]), false);
                    if (result.hasFailure()) {
                        throw new SuggestIndexException(result.getFailures().get(0));
                    }
    
                    response = client.prepareSearchScroll(scrollId).execute().actionGet(settings.getSearchTimeout());
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolver.java

            ConflictResolverDetails<T> details = new DefaultConflictResolverDetails<>(candidates);
            conflictResolver.select(details);
            T selected = details.getSelected();
            if (details.hasFailure()) {
                throw UncheckedException.throwAsUncheckedException(details.getFailure());
            } else {
                ComponentSelectionDescriptorInternal desc = ComponentSelectionReasons.CONFLICT_RESOLUTION;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 14:22:29 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java

        private final List<String> lineNumbers = new ArrayList<>();
        private final List<String> fileNames = new ArrayList<>();
        private final String resolution;
        private final LogContent mainContent;
    
        static boolean hasFailure(String error) {
            return FAILURE_PATTERN.matcher(error).find();
        }
    
        /**
         * Creates a result from the output of a single Gradle invocation.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        }
    
        if (closeExchange) {
          exchange?.detachWithViolence()
        }
    
        interceptorScopedExchange = null
      }
    
      fun retryAfterFailure(): Boolean {
        return exchange?.hasFailure == true &&
          exchangeFinder!!.routePlanner.hasNext(exchange?.connection)
      }
    
      /**
       * Returns a string that describes this call. Doesn't include a full URL as that might contain
       * sensitive information.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            DependencySubstitutionApplicator.SubstitutionResult substitutionResult = dependencySubstitutionApplicator.apply(dependencyState.getDependency());
            if (substitutionResult.hasFailure()) {
                dependencyState.failure = new ModuleVersionResolveException(dependencyState.getRequested(), substitutionResult.getFailure());
                return dependencyState;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

      // Returns true iff the current test has a non-fatal failure.
      static bool HasNonfatalFailure();
    
      // Returns true iff the current test has a (either fatal or
      // non-fatal) failure.
      static bool HasFailure() { return HasFatalFailure() || HasNonfatalFailure(); }
    
      // Logs a property for the current test, test case, or for the entire
      // invocation of the test program when used outside of the context of a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

      // Returns true iff the current test has a non-fatal failure.
      static bool HasNonfatalFailure();
    
      // Returns true iff the current test has a (either fatal or
      // non-fatal) failure.
      static bool HasFailure() { return HasFatalFailure() || HasNonfatalFailure(); }
    
      // Logs a property for the current test, test case, or for the entire
      // invocation of the test program when used outside of the context of a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
Back to top