Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 583 for isSame (0.08 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/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)
  7. 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)
  8. .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)
  9. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("getRequest should return the same request instance")
        void testGetRequest() {
            // Verify getRequest returns the exact same instance
            SmbNegotiationRequest request = negotiation.getRequest();
            assertSame(mockRequest, request);
    
            // Verify multiple calls return the same instance
            assertSame(request, negotiation.getRequest());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/get-current-user.md

    Do you want to just have a `str`? Or just a `dict`? Or a database class model instance directly? It all works the same way.
    
    You actually don't have users that log in to your application but robots, bots, or other systems, that have just an access token? Again, it all works the same.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top