Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 767 for isSame (0.11 sec)

  1. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Impl case delegates to treeConnection.isSame
            SmbTreeConnection otherConn = mock(SmbTreeConnection.class);
            when(otherConn.acquire()).thenReturn(otherConn);
            SmbTreeHandleImpl other = new SmbTreeHandleImpl(resourceLoc, otherConn);
    
            when(treeConnection.isSame(otherConn)).thenReturn(true, false);
            assertTrue(handle.isSameTree(other));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            setTree(c1, shared);
            setTree(c2, shared);
            assertTrue(c1.isSame(c2));
    
            SmbTreeImpl other = mock(SmbTreeImpl.class);
            when(other.acquire(false)).thenReturn(other);
            setTree(c2, other);
            assertFalse(c1.isSame(c2));
        }
    
        @Test
        @DisplayName("hasCapability throws when not connected")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

         */
        @Override
        public boolean isSameTree(final SmbTreeHandle th) {
            if (!(th instanceof SmbTreeHandleImpl)) {
                return false;
            }
            return this.treeConnection.isSame(((SmbTreeHandleImpl) th).treeConnection);
        }
    
        @Override
        public int getSendBufferSize() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
        /**
         *
         * Only call this method while holding a tree handle
         *
         * @param other
         * @return whether the connection refers to the same tree
         */
        public boolean isSame(final SmbTreeConnection other) {
            try (SmbTreeImpl t1 = getTree(); SmbTreeImpl t2 = other.getTree()) {
                return t1 == t2;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  5. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

            }
        })
    
    class FlakyTestQuarantineProject(
        model: CIBuildModel,
        stage: Stage,
        val os: Os,
    ) : Project({
            id("${model.projectId}_FlakyQuarantine_${os.asName()}")
            name = "Flaky Test Quarantine - ${os.asName()}"
    
            model.stages
                .filter {
                    it.stageName in
                        listOf(
                            StageName.QUICK_FEEDBACK_LINUX_ONLY,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/DocsTest.kt

        os: Os,
    ): String = "${model.projectId}_DocsTest_${os.asName()}"
    
    class DocsTestProject(
        model: CIBuildModel,
        stage: Stage,
        val os: Os,
        testJava: JvmCategory,
        testTypes: List<DocsTestType>,
    ) : Project({
            id(asDocsTestId(model, os))
            name = "Docs Test - ${testJava.version.toCapitalized()} ${os.asName()}"
        }) {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 17 10:05:07 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/Os.kt

    enum class Arch(
        val suffix: String,
        val nameOnLinuxWindows: String,
        val nameOnMac: String,
    ) {
        AMD64("64bit", "amd64", "x86_64"),
        AARCH64("aarch64", "aarch64", "aarch64"),
        ;
    
        fun asName() = name.lowercase().toCapitalized()
    }
    
    enum class Os(
        val agentRequirement: String,
        val androidHome: String,
        val jprofilerHome: String,
        val perfTestWorkingDir: String = "%teamcity.build.checkoutDir%",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final List<String> versionList = new ArrayList<>();
            boolean isName = true;
            for (final String value : baseName.split("-")) {
                if (isName && value.length() > 0 && value.charAt(0) >= '0' && value.charAt(0) <= '9') {
                    isName = false;
                }
                if (isName) {
                    nameList.add(value);
                } else {
                    versionList.add(value);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/projects/StageProject.kt

            val topLevelFunctionalTests =
                topLevelCoverage
                    .map { FunctionalTest(model, it.asConfigurationId(model), it.asName(), it.asName(), it, stage = stage) }
            topLevelFunctionalTests.forEach(this::buildType)
    
            val functionalTestProjects =
                allCoverage.map { testCoverage ->
                    FunctionalTestProject(
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

    ) = """-Dscan.value.$key=$value"""
    
    fun TestCoverage.asBuildScanCustomValue() =
        testType.name.toCamelCase().toCapitalized() +
            testJvmVersion.toCapitalized() +
            "${vendor.displayName}${os.asName()}${arch.asName()}"
    
    // Generates a Build Scan custom value "PartOf=X,Y,Z"
    // where X, Y, Z are all the stages including current stage
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 10 05:45:46 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top