- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for caps (2.42 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/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) -
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) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
/** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#haveCapabilitiy(int) */ @Override public boolean haveCapabilitiy(final int cap) { return (this.capabilities & cap) == cap; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported() */ @Override public boolean isDFSSupported() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
// Verify each is a power of 2 for (int cap : capabilities) { assertTrue(isPowerOfTwo(cap), "Capability 0x" + Integer.toHexString(cap) + " should be a power of 2"); } // Verify no overlapping bits for (int i = 0; i < capabilities.length; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
.useForm(DeleteForm.class); } /** * Retrieves all available artifacts from all plugin types. * * @return list of maps containing artifact information */ public static List<Map<String, String>> getAllAvailableArtifacts() { final PluginHelper pluginHelper = ComponentUtil.getPluginHelper();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
DfsReferral dr = null; final long now = System.currentTimeMillis(); if (DISABLED || root.equals("IPC$")) { return null; } /* domains that can contain DFS points to maps of roots for each */ final HashMap domains = getTrustedDomains(auth); if (domains != null) { domain = domain.toLowerCase();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0)