- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for canReuse (0.2 sec)
-
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
} @Test @DisplayName("Test canReuse returns false with force signing") void testCannotReuseWithForceSigning() { // Arrange when(negotiationResponse.canReuse(cifsContext, true)).thenReturn(false); // Act boolean result = negotiationResponse.canReuse(cifsContext, true); // Assert assertFalse(result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
* * @param tc the CIFS context to check compatibility with * @param forceSigning whether signing is being forced * @return whether a connection can be reused for this config */ boolean canReuse(CIFSContext tc, boolean forceSigning);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
return getNegotiatedMpxCount(); } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#canReuse(jcifs.CIFSContext, boolean) */ @Override public boolean canReuse(final CIFSContext tc, final boolean forceSigning) { return this.getConfig().equals(tc.getConfig()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Mock the negotiation response when(negotiationResponse.isSigningRequired()).thenReturn(false); when(negotiationResponse.isSigningNegotiated()).thenReturn(false); when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true); // Use reflection to set the negotiated response Field negotiatedField = SmbTransportImpl.class.getDeclaredField("negotiated");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When same config assertTrue(response.canReuse(mockContext, false)); // When different config Configuration otherConfig = mock(Configuration.class); CIFSContext otherContext = mock(CIFSContext.class); when(otherContext.getConfig()).thenReturn(otherConfig); assertFalse(response.canReuse(otherContext, false)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} continue; } if (!conn.getNegotiateResponse().canReuse(tc, forceSigning)) { if (log.isTraceEnabled()) { log.trace("Cannot reuse, different config " + conn); } continue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/webapp/css/admin/bootstrap.min.css.map
Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,\n // but doesn't convert dppx=>dpi.\n // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.\n // Compatibility info: https://caniuse.com/css-media-resolution\n @media only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx\n only screen and (min-resolution: 2dppx) { // Standardized\n background-image: url($file-2x);\n background-size: $width-1x $height-1x;\n...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 639.3K bytes - Viewed (1) -
src/main/webapp/css/admin/adminlte.min.css.map
Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,\n // but doesn't convert dppx=>dpi.\n // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.\n // Compatibility info: https://caniuse.com/css-media-resolution\n @media only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx\n only screen and (min-resolution: 2dppx) { // Standardized\n background-image: url($file-2x);\n background-size: $width-1x $height-1x;\n...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 3.7M bytes - Viewed (1)