- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 84 for capability (0.1 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE); } /** * Test capability flags. */ @Test @DisplayName("Capability flags are correct") void capabilityFlagsTest() { // Test individual capability values assertEquals(0x0004, SmbConstants.CAP_UNICODE); assertEquals(0x0010, SmbConstants.CAP_NT_SMBS);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
* * @author mbechler */ public interface SmbTransportInternal extends SmbTransport { /** * Checks if the transport supports the specified capability. * * @param cap the capability flag to check * @return whether the transport has the given capability * @throws SmbException if an error occurs checking capabilities */ boolean hasCapability(int cap) throws SmbException; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertTrue((response.getShareFlags() & Smb2TreeConnectResponse.SMB2_SHAREFLAG_ENCRYPT_DATA) != 0); } @Test @DisplayName("Should handle all capability flags") void testAllCapabilityFlags() throws SMBProtocolDecodingException { // Test each capability flag individually int[] capabilityFlags = { Smb2TreeConnectResponse.SMB2_SHARE_CAP_DFS,
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 09:04:32 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertFalse(request.isSigningEnforced()); assertTrue(request instanceof ServerMessageBlock2Request); } @Test @DisplayName("Should set DFS capability when enabled") void testDfsCapability() { // Given when(mockConfig.isDfsDisabled()).thenReturn(false); // When request = new Smb2NegotiateRequest(mockConfig, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
this.linkSpeed = linkSpeed; this.ipv6 = address.getAddress().length == 16; this.capability = 0; // Check for RSS capability (simplified - would need OS-specific checks) this.rssCapable = checkRSSCapability(); if (rssCapable) { this.capability |= NETWORK_INTERFACE_CAP_RSS; } } public boolean isUsableForChannel() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Test cluster capability setPrivateField(response, "capabilities", Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER); assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER, response.getCapabilities(), "Should handle cluster capability"); // Test asymmetric capabilityCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
verify(transport, times(1)).hasCapability(cap); } // Invalid input: simulate underlying SmbException when capability check fails @Test @DisplayName("hasCapability throws SmbException when underlying error occurs") void hasCapability_throws() throws SmbException { doThrow(new SmbException("capability check failed")).when(transport).hasCapability(eq(42));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
// Result should be consistent with charset's canEncode capability boolean canEncode = StandardCharsets.ISO_8859_1.newEncoder().canEncode(icon.getUnicodeChar()); String expected = canEncode ? String.valueOf(icon.getUnicodeChar()) : icon.getAsciiFallback(); assertEquals(expected, result, "Icon should match charset encoding capability for " + icon); } } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- [ ] Implement handle state serialization - [ ] Create reconnection logic with handle replay - [ ] Add timeout management for durable handles - [ ] Implement handle lease association - [ ] Add persistent handle capability negotiation - [ ] Create handle cache for reconnection #### 2.3 Integration Points - Extend `SmbFile` with persistent handle support - Modify `SmbSession` for handle replay during reconnection
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (0)