Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for parents (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            final List<Vertex> parents = new ArrayList<>();
    
            Vertex(String label) {
                this.label = label;
            }
    
            String getLabel() {
                return label;
            }
    
            List<Vertex> getChildren() {
                return children;
            }
    
            List<Vertex> getParents() {
                return parents;
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                else -> null
            }
        }
    
        private fun PsiElement.getContainingPsiDeclaration(): KtDeclaration? {
            for (parent in parents) {
                if (parent is KtDeclaration && parent !is KtDestructuringDeclaration) {
                    return parent.originalDeclaration ?: parent
                }
            }
    
            return null
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        // or containing declaration is inside the local type, e.g., a member of the local class
        return localPsi == context ||
                localPsi.parents.any { it == context } ||
                context.parents.any { it == localPsi }
    }
    
    private fun ConeKotlinType.asPsiTypeElement(
        session: FirSession,
        mode: TypeMappingMode,
        useSitePosition: PsiElement,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. cmd/os-reliable.go

    	}
    
    	return nil
    }
    
    // Reliably retries os.MkdirAll if for some reason os.MkdirAll returns
    // syscall.ENOENT (parent does not exist).
    func reliableMkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	i := 0
    	for {
    		// Creates all the parent directories, with mode 0777 mkdir honors system umask.
    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                is KtWhenCondition ->
                    doesParentUseChild(parent.parent, parent)
    
                // Type parameters, return types and other annotations are all contained in KtUserType,
                // and are never considered used as expressions
                is KtUserType ->
                    false
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. .github/workflows/CheckBadMerge.groovy

            if (parentCommits.size() != 2) {
                println("$commit is not a merge commit we're looking for. Parents: $parentCommits")
                return
            }
    
            // The correct state we are looking for is:
            // 1. It's a merge commit.
            // 2. One of its parent commits is from master only.
            // 3. Another parent commit is from master and release branch.
            // Otherwise, skip this commit.
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  7. cmd/os_unix.go

    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    	for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element.
    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                    String key = ArtifactUtils.key(artifact);
                    keys.add(key);
                }
            }
    
            public boolean accept(DependencyNode node, List<DependencyNode> parents) {
                Dependency dependency = node.getDependency();
                if (dependency != null) {
                    org.eclipse.aether.artifact.Artifact a = dependency.getArtifact();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                throws ModelBuilderException {
            problems.setSource(childModel);
    
            Parent parent = childModel.getParent();
    
            String groupId = parent.getGroupId();
            String artifactId = parent.getArtifactId();
            String version = parent.getVersion();
    
            ModelResolver modelResolver = getModelResolver(request);
            Objects.requireNonNull(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 59.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            public ModelSource resolveModel(Session session, Parent parent, AtomicReference<Parent> modified)
                    throws ModelResolverException {
                try {
                    org.apache.maven.model.Parent p = new org.apache.maven.model.Parent(parent);
                    ModelSource source = toSource(resolver.resolveModel(p));
                    if (p.getDelegate() != parent) {
                        modified.set(p.getDelegate());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top