- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for caps (1.36 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// When request = new Smb2NegotiateRequest(mockConfig, 0); // Then int caps = request.getCapabilities(); int capCount = 0; if ((caps & Smb2Constants.SMB2_GLOBAL_CAP_DFS) != 0) capCount++; if ((caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION) != 0) capCount++; assertEquals(expectedCapabilityCount, capCount); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
@ValueSource(ints = { -1, 0, 1, 1024 }) void hasCapability_variousCaps(int cap) throws SmbException { when(transport.hasCapability(anyInt())).thenAnswer(inv -> ((int) inv.getArgument(0)) >= 0); boolean result = transport.hasCapability(cap); assertEquals(cap >= 0, result); verify(transport, times(1)).hasCapability(cap); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When int caps = response.getCapabilities(); // Then assertEquals(0x7F, caps); } @Test @DisplayName("Should return common capabilities") void testGetCommonCapabilities() throws Exception { // Given setPrivateField(response, "commonCapabilities", 0x3F); // When int caps = response.getCommonCapabilities();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
@DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps") void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception { // Arrange: stub to return true regardless of input when(handle.hasCapability(anyInt())).thenReturn(true); // Act boolean result = handle.hasCapability(cap);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
/** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#haveCapabilitiy(int) */ @Override public boolean haveCapabilitiy(final int cap) { return (this.commonCapabilities & cap) == cap; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported() */ @Override public boolean isDFSSupported() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler/extractor.xml
"application/vnd.criticaltools.wbs+xml", "application/vnd.ctc-posml", "application/vnd.ctct.ws+xml", "application/vnd.cups-pdf", "application/vnd.cups-postscript", "application/vnd.cups-ppd", "application/vnd.cups-raster", "application/vnd.cups-raw", "application/vnd.curl.car", "application/vnd.curl.pcurl", "application/vnd.cybank", "application/vnd.data-vision.rdz",
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 03:46:53 UTC 2025 - 50.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
void testHaveCapabilityMultipleFlags() { // Arrange int cap1 = 0x00000001; int cap2 = 0x00000002; int cap3 = 0x00000004; when(negotiationResponse.haveCapabilitiy(cap1)).thenReturn(true); when(negotiationResponse.haveCapabilitiy(cap2)).thenReturn(false); when(negotiationResponse.haveCapabilitiy(cap3)).thenReturn(true); // Act & Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
// Verify the request offset equals the skip value (2) ArgumentCaptor<Smb2ReadRequest> cap = ArgumentCaptor.forClass(Smb2ReadRequest.class); verify(mockTree).send(cap.capture(), any(RequestParam.class)); Smb2ReadRequest req = cap.getValue(); // Reflectively inspect the private 'offset' field to assert it used the advanced fpRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java
* methods to add, remove, clear, and retrieve data from these structures. * * <p>The class is thread-safe due to the use of {@code synchronized} keyword on methods that * modify the internal data structures. The internal maps are also declared as {@code volatile} * to ensure visibility of changes across threads. * * <p>The class also provides methods to manage URL patterns for inclusion and exclusion, which * are stored as {@code Pattern} objects.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
*/ protected ChannelUtil() { } /** * Returns a {@link ByteBuffer} that maps the file channel to memory. * * @param channel * The file channel. Must not be {@literal null}. * @param mode * The mode. Must not be {@literal null}. * @return A {@link ByteBuffer} that maps the file channel to memory. */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0)