Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for isRoot (0.03 sec)

  1. src/test/java/jcifs/SmbResourceLocatorTest.java

                return 0;
            }
    
            @Override
            public boolean isWorkgroup() {
                return false;
            }
    
            @Override
            public boolean isRoot() {
                return "/".equals(path);
            }
        }
    
        @Nested
        @DisplayName("Happy path – well-formed SMB URL")
        class HappyPath {
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertFalse(base.overlaps(other));
        }
    
        @Test
        @DisplayName("isRoot and isRootOrShare reflect path state")
        void testIsRootAndShare() {
            assertTrue(locator("smb://server/").isRoot());
            assertFalse(locator("smb://server/share/").isRoot());
            assertTrue(locator("smb://server/").isRootOrShare());
            assertTrue(locator("smb://server/share/").isRootOrShare());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                deferDeleteFile(consumer);
    
                project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session));
            } else if (project.getModel().getDelegate().isRoot()) {
                throw new IllegalStateException(
                        "The use of the root attribute on the model requires the buildconsumer feature to be active");
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        boolean hasNextAddress() {
            return this.addressIndex < this.addresses.length;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#isRoot()
         */
        @Override
        public boolean isRoot() {
            // length == 0 should not happen
            return getShare() == null && getUNCPath().length() <= 1;
        }
    
        boolean isRootOrShare() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * points to the same directory, and that either {@link Model#isRoot()}
         * is {@code true} or that {@code basedir} contains a {@code .mvn} child
         * directory.
         *
         * @return {@code true} if the project is the root project
         * @see Model#isRoot()
         */
        boolean isRootProject();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResourceLocator.java

        /**
         * Determines whether this resource represents the root of the SMB hierarchy.
         *
         * @return whether this is a root resource
         */
        boolean isRoot();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    return new NetServerFileEntryAdapterIterator(parent, new NetServerEnumIterator(parent, th, wildcard, searchAttributes, fnf),
                            ff);
                }
            } else if (locator.isRoot()) {
                return doShareEnum(parent, wildcard, searchAttributes, fnf, ff);
            }
    
            try (SmbTreeHandleImpl th = parent.ensureTreeConnected()) {
                if (th.isSMB2()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List getParentLabels(); public boolean isLeaf(); public boolean isRoot(); public boolean isConnected(); public Object clone() throws CloneNotSupportedExc; public String toString(); } org/codehaus/plexus/util/DirectoryScanner.class package org.codehaus.plexus.util; public synchronized class DirectoryScanner { public static...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                final int t = getType();
                if (t == TYPE_SHARE) {
                    this.size = fetchAllocationInfo(th).getCapacity();
                } else if (!this.fileLocator.isRoot() && t != TYPE_NAMED_PIPE) {
                    queryPath(th, this.fileLocator.getUNCPath(), FileInformation.FILE_STANDARD_INFO);
                } else {
                    this.size = 0L;
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

        private
        val publicKotlinMembers = """
    
            fun foo() {}
    
            val bar: String = "bar"
    
            val bool: Boolean = true
    
            val isBool: Boolean = true
    
            var bazar = "bazar"
    
            var bazool: Boolean = true
    
            var isFool: Boolean = true
    
            fun String.fooExt() {}
    
            fun Int.fooExt() {}
    
            val String.barExt: String
                get() = "bar"
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top