Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for findTask (0.13 sec)

  1. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/AggregateMultiProjectTaskReportModelTest.groovy

            TaskDetails task1 = taskDetails(':task')
            TaskDetails task2 = taskDetails(':other')
            TaskDetails task3 = taskDetails(':sub:task')
            _ * task1.findTask(_) >> Mock(Task)
            _ * task2.findTask(_) >> Mock(Task)
            _ * task3.findTask(_) >> Mock(Task)
    
            TaskReportModel project1 = Mock()
            TaskReportModel project2 = Mock()
            _ * project1.groups >> (['group'] as LinkedHashSet)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 31 16:45:11 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingTaskExecutionGraph.kt

        }
    
        override fun whenReady(action: Action<TaskExecutionGraph>) {
            delegate.whenReady(action.wrap())
        }
    
        override fun findTask(path: String?): Task? {
            return delegate.findTask(path).also { task ->
                if (task == null) {
                    // check whether the path refers to a different project
                    val parentPath = path?.let(Path::path)?.parent?.path
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/taskgraph/TaskExecutionGraphInternal.java

         * @param path the path of the task to find in the task graph
         * @return the task with the given path if it is present in the task graph, null otherwise
         */
        @Nullable Task findTask(String path);
    
        /**
         * Attaches the work that this graph will run. Fires events and no further tasks should be added.
         */
        void populate(FinalizedExecutionPlan plan);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java

        }
    
        @Nullable
        @Override
        public Task findTask(String path) {
            for (Task task : executionPlan.getContents().getTasks()) {
                if (task.getPath().equals(path)) {
                    return task;
                }
            }
            return null;
        }
    
        @Override
        public boolean hasTask(String path) {
            return findTask(path) != null;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlinx/coroutines/scheduling/CoroutineScheduler$Worker;-><init>(Lkotlinx/coroutines/scheduling/CoroutineScheduler;I)V
    HSPLkotlinx/coroutines/scheduling/CoroutineScheduler$Worker;->findTask(Z)Lkotlinx/coroutines/scheduling/Task;
    HSPLkotlinx/coroutines/scheduling/CoroutineScheduler$Worker;->getIndexInArray()I
    HSPLkotlinx/coroutines/scheduling/CoroutineScheduler$Worker;->getNextParkedWorker()Ljava/lang/Object;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/BuildInvocationsBuilder.java

                .collect(toImmutableList());
        }
    
        private void findTasks(Project project, Map<String, LaunchableGradleTaskSelector> taskSelectors, Collection<String> visibleTasks) {
            for (Project child : getChildProjectsForInternalUse(project)) {
                findTasks(child, taskSelectors, visibleTasks);
            }
    
            for (Task task : taskLister.listProjectTasks(project)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Streams.java

       * @see IntStream#findFirst()
       * @throws NullPointerException if the last element of the stream is null
       */
      public static OptionalInt findLast(IntStream stream) {
        // findLast(Stream) does some allocation, so we might as well box some more
        java.util.Optional<Integer> boxedLast = findLast(stream.boxed());
        return boxedLast.map(OptionalInt::of).orElse(OptionalInt.empty());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  8. src/runtime/export_debug_test.go

    	if tid == 0 {
    		return nil, plainError("missing tid")
    	}
    
    	f := efaceOf(&fn)
    	if f._type == nil || f._type.Kind_&abi.KindMask != abi.Func {
    		return nil, plainError("fn must be a function")
    	}
    	fv := (*funcval)(f.data)
    
    	a := efaceOf(&stackArgs)
    	if a._type != nil && a._type.Kind_&abi.KindMask != abi.Pointer {
    		return nil, plainError("args must be a pointer or nil")
    	}
    	argp := a.data
    	var argSize uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/runtime/mfinal.go

    		// ok - same type
    		goto okarg
    	case fint.Kind_&abi.KindMask == abi.Pointer:
    		if (fint.Uncommon() == nil || etyp.Uncommon() == nil) && (*ptrtype)(unsafe.Pointer(fint)).Elem == ot.Elem {
    			// ok - not same type, but both pointers,
    			// one or the other is unnamed, and same element type, so assignable.
    			goto okarg
    		}
    	case fint.Kind_&abi.KindMask == abi.Interface:
    		ityp := (*interfacetype)(unsafe.Pointer(fint))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/model/bucket-extensions.kt

            var restCapacity = expectedBucketSize - toIntFunction(largestElement)
            while (restCapacity > 0 && list.isNotEmpty() && buckets.size < maxNumberInBucket) {
                val smallestElement = list.findLast { searched -> buckets.all { canRunTogether(it, searched) } } ?: break
                list.remove(smallestElement)
                buckets.add(smallestElement)
                restCapacity -= toIntFunction(smallestElement)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 05:17:44 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top