Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isLoom (0.28 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/LoomTest.kt

        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testIfSupported() {
        assertThat(platform.isLoom()).isTrue()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          connectionListener.forbidLock(client.dispatcher)
          testClient = client
        }
        return client
      }
    
      private fun initialClientBuilder(): OkHttpClient.Builder =
        if (isLoom()) {
          val backend = TaskRunner.RealBackend(loomThreadFactory())
          val taskRunner = TaskRunner(backend)
    
          OkHttpClient
            .Builder()
            .connectionPool(
              buildConnectionPool(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

        fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY
    
        fun isOpenJsse() = getPlatformSystemProperty() == OPENJSSE_PROPERTY
    
        fun isLoom() = getPlatformSystemProperty() == LOOM_PROPERTY
    
        fun isGraalVMImage() = TestUtil.isGraalVmImage
    
        fun hasHttp2Support() = !isJdk8()
    
        fun assumeConscrypt() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Feb 27 11:07:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top