Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 526 for plan (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

        if (plan is FailedPlan) return plan.result
    
        // Connect TCP asynchronously.
        tcpConnectsInFlight += plan
        val taskName = "$okHttpName connect ${routePlanner.address.url.redact()}"
        taskRunner.newQueue().schedule(
          object : Task(taskName) {
            override fun runOnce(): Long {
              val connectResult =
                try {
                  plan.connectTcp()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     */
    interface RoutePlanner {
      val address: Address
    
      /** Follow-ups for failed plans and plans that lost a race. */
      val deferredPlans: ArrayDeque<Plan>
    
      fun isCanceled(): Boolean
    
      /** Returns a plan to attempt. */
      @Throws(IOException::class)
      fun plan(): Plan
    
      /**
       * Returns true if there's more route plans to try.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/build/BuildOperationFiringBuildWorkPreparer.java

    import org.gradle.api.NonNullApi;
    import org.gradle.api.Task;
    import org.gradle.api.internal.GradleInternal;
    import org.gradle.execution.plan.ExecutionPlan;
    import org.gradle.execution.plan.FinalizedExecutionPlan;
    import org.gradle.execution.plan.QueryableExecutionPlan;
    import org.gradle.execution.plan.ToPlannedNodeConverterRegistry;
    import org.gradle.internal.operations.BuildOperationContext;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionPlan.java

        /**
         * Adds an entry task to the execution plan. If called multiple times then execution plan follows the method invocation order.
         *
         */
        void addEntryTask(Task task);
    
        /**
         * Adds entry tasks to the execution plan. No ordering can be assumed between the elements of the target collection. If called multiple times then execution plan follows the method invocation order.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

        while (true) {
          if (routePlanner.isCanceled()) throw IOException("Canceled")
    
          try {
            val plan = routePlanner.plan()
    
            if (!plan.isReady) {
              val tcpConnectResult = plan.connectTcp()
              val connectResult =
                when {
                  tcpConnectResult.isSuccess -> plan.connectTlsEtc()
                  else -> tcpConnectResult
                }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/execution/BuildOperationFiringBuildWorkerExecutor.java

            return buildOperationRunner.call(new ExecuteTasks(gradle, plan));
        }
    
        private class ExecuteTasks implements CallableBuildOperation<ExecutionResult<Void>> {
            private final GradleInternal gradle;
            private final FinalizedExecutionPlan plan;
    
            public ExecuteTasks(GradleInternal gradle, FinalizedExecutionPlan plan) {
                this.gradle = gradle;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
          "not enough plans! call addPlan() or set autoGeneratePlans=true in the test to set this up"
        }
        val result = plans[nextPlanIndex++]
        events += "take plan ${result.id}"
    
        if (result.yieldBeforePlanReturns) {
          taskFaker.yield()
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

            // There is only a single threadsafe plugin here...
            assertEquals(plan.size() - 1, unSafePlugins.size());
        }
    
        @Test
        void testFindLastWhenFirst() throws Exception {
            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    
            ExecutionPlanItem beerPhase = plan.findLastInPhase(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/SelectedTaskExecutionAction.java

            TaskExecutionGraphInternal taskGraph = gradle.getTaskGraph();
            bindAllReferencesOfProject(plan);
            return taskGraph.execute(plan);
        }
    
        private void bindAllReferencesOfProject(FinalizedExecutionPlan plan) {
            Set<Project> seen = new HashSet<>();
            plan.getContents().getScheduledNodes().visitNodes((nodes, entryNodes) -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/QueryableExecutionPlan.java

        /**
         * Returns the node for the supplied task that is part of this execution plan.
         *
         * @throws IllegalStateException When no node for the supplied task is part of this execution plan.
         */
        TaskNode getNode(Task task);
    
        /**
         * Returns the number of work items in the plan.
         */
        int size();
    
        /**
         * An immutable snapshot of the set of scheduled nodes.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top