Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for fromCode (0.16 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/test/Destination.java

        StdErr(1);
    
        private final int code;
    
         Destination(int code) {
            this.code = code;
        }
    
        public int getCode() {
            return code;
        }
    
        public static Destination fromCode(int code) {
            for (Destination d : Destination.values()) {
                if (d.code == code) {
                     return d;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

            OperationDescriptor parent = getParentDescriptor(descriptor.getParentId());
            Destination destination = Destination.fromCode(event.getResult().getDestination());
            String message = event.getResult().getMessage();
            return new DefaultTestOutputOperationDescriptor(descriptor, parent, destination, message);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r24/ModelTasksToolingApiCrossVersionTest.groovy

            then:
            project.tasks*.name.contains "fromModel"
        }
    
        def "tasks added using model rule can be executed"() {
            when:
            withConnection { connection ->
                def build = connection.newBuild()
                build.forTasks("fromModel")
                build.run()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/Node.java

        }
    
        void addDependencyPredecessor(Node fromNode) {
            dependentNodes = dependentNodes.addDependencyPredecessors(fromNode);
            mutationInfo.addConsumer(fromNode);
        }
    
        void addMustPredecessor(TaskNode fromNode) {
            dependentNodes = dependentNodes.addMustPredecessor(fromNode);
        }
    
        protected DependencyNodesSet getDependencyNodes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 24 13:30:48 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/DependencyGraphPathResolver.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    public class DependencyGraphPathResolver {
    
        public static Collection<List<ComponentIdentifier>> calculatePaths(List<DependencyGraphNode> fromNodes, DependencyGraphNode toNode) {
            // Include the shortest path from each version that has a direct dependency on the broken dependency, back to the root
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                    getContributedFunctions(name, NoLookupLocation.FROM_IDE).isNotEmpty()
                }
            }
    
            override fun getVariableNames(): Set<Name> {
                return allMemberScope.getVariableNames().filterTo(mutableSetOf()) { name ->
                    getContributedVariables(name, NoLookupLocation.FROM_IDE).isNotEmpty()
                }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            where:
            [fromRole, targetRole] << ModelActionRole.values().collectMany { fromRole ->
                return ModelActionRole.values().findAll { it.ordinal() < fromRole.ordinal() && it.subjectViewAvailable }.collect { targetRole ->
                    [ fromRole, targetRole ]
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescEnumEntrySymbolPointer.kt

            val entryDescriptor = analysisContext.resolveSession.moduleDescriptor.findClassAcrossModuleDependencies(classId)
                ?.unsubstitutedMemberScope
                ?.getContributedClassifier(entryName, NoLookupLocation.FROM_IDE)
    
            if (entryDescriptor is ClassDescriptor && entryDescriptor.kind == ClassKind.ENUM_ENTRY) {
                return KaFe10DescEnumEntrySymbol(entryDescriptor, analysisContext)
            }
    
            return null
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeCreator.kt

                    val fqName = builder.classId.asSingleFqName()
                    analysisContext.resolveSession
                        .getTopLevelClassifierDescriptors(fqName, NoLookupLocation.FROM_IDE)
                        .firstIsInstanceOrNull()
                }
                is KaClassTypeBuilder.BySymbol -> {
                    getSymbolDescriptor(builder.symbol) as? ClassDescriptor
                }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10TypeSystemCommonBackendContextForTypeMapping.kt

            val continuationFqName = StandardClassIds.Continuation.asSingleFqName()
            val foundClasses = resolveSession.getTopLevelClassifierDescriptors(continuationFqName, NoLookupLocation.FROM_IDE)
            return foundClasses.firstOrNull()?.typeConstructor
                ?: FAKE_CONTINUATION_CLASS_DESCRIPTOR.typeConstructor
        }
    
        override fun functionNTypeConstructor(n: Int): TypeConstructorMarker {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top