Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 227 for isSame (0.49 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  5. src/main/webapp/WEB-INF/view/admin/dashboard/admin_dashboard.jsp

        </jsp:include>
    
        <main class="content-wrapper position-relative">
            <iframe class="w-100 h-100 position-absolute" style="border: 0;"
                    src="<%=request.getContextPath()%>${serverPath}<%= response.encodeURL("/_plugin/kopf/") %>"
                    title="<la:message key="labels.dashboard_plugin" />"></iframe>
        </main>
    
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Second call should return cached value (same as first)
            Subject second = auth.getSubject();
            if (first == null && second == null) {
                // Both null - caching is working
                assertNull(second, "Second getSubject should return same result as first (both null)");
            } else if (first != null && second != null) {
                // Both non-null - should be same instance
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

            // Act & Assert
            // unwrap to interface itself should return same instance
            CredentialsInternal unwrapped = creds.unwrap(CredentialsInternal.class);
            assertNotNull(unwrapped, "unwrap to CredentialsInternal returns instance");
            assertSame(creds, unwrapped, "unwrap returns the same object instance");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/LogStreamTest.java

            assertNotNull(instance1);
            assertNotNull(instance2);
            // The second setInstance replaces the first, so they should not be the same
            assertNotSame(instance1, instance2);
            // Getting instance again should return the same as instance2
            assertSame(instance2, LogStream.getInstance());
        }
    
        @Test
        void testLogStreamInheritsFromPrintStream() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top