- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 227 for isSame (0.49 sec)
-
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) -
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) -
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) -
src/main/java/jcifs/smb/SmbTreeConnection.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
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) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 24.9K bytes - Viewed (0) -
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) -
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 instanceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
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) -
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)