Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 241 for dnes (1.11 sec)

  1. src/main/java/jcifs/smb1/smb1/ACE.java

            }
        }
    
        /**
         * Return a string represeting this ACE.
         * <p>
         * Note: This function should probably be changed to return SDDL
         * fragments but currently it does not.
         */
        @Override
        public String toString() {
            final int count, i;
            final String str;
    
            final StringBuffer sb = new StringBuffer();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            byte[] zeroFileId = new byte[16];
            Smb2FlushRequest zeroRequest = new Smb2FlushRequest(mockConfig, zeroFileId);
            testFileIdInRequest(zeroRequest, zeroFileId);
    
            // Test with all ones
            byte[] onesFileId = new byte[16];
            Arrays.fill(onesFileId, (byte) 0xFF);
            Smb2FlushRequest onesRequest = new Smb2FlushRequest(mockConfig, onesFileId);
            testFileIdInRequest(onesRequest, onesFileId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // This simplified test just verifies the initial handshake detection
        }
    
        /**
         * Test handshake failure when the server does not return an NTLM challenge.
         * @throws IOException
         */
        @Test
        void testHandshakeFails_NoNtlmChallenge() throws IOException {
            // Arrange
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

            }
        }
    
        @Test
        @DisplayName("getRequestSecurityMode honors enforced and server-required flags")
        void requestSecurityMode() {
            // Not enforced, server does not require -> enabled only
            Smb2NegotiateResponse first = mock(Smb2NegotiateResponse.class);
            when(first.isSigningRequired()).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * JUnit 5 tests for {@link TestLocking}.
     * Tests command line argument parsing and basic field initialization.
     * Does not require a real SMB server - focuses on application logic.
     */
    @ExtendWith(MockitoExtension.class)
    class TestLockingTest {
    
        private PrintStream originalOut;
        private PrintStream originalErr;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                            // if signing is enforced and was not on the connection, skip
                            if (log.isTraceEnabled()) {
                                log.debug("Cannot reuse, signing enforced but connection does not have it enabled " + conn);
                            }
                            continue;
                        }
    
                        if (!forceSigning && !tc.getConfig().isSigningEnforced() && conn.isSigningEnforced()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
        }
    
        private boolean isExceptPrivateAccessible(Method method) {
            // to avoid warning of JDK-internal access at Java11
            // Lasta Di does not need private access to the classes
            final String fqcn = method.getDeclaringClass().getName();
            return fqcn.startsWith("java.") || fqcn.startsWith("jdk.") || fqcn.startsWith("com.sun.") || fqcn.startsWith("sun.");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

         */
        int O_RDWR = 0x03;
        /**
         * Open in append mode.
         */
        int O_APPEND = 0x04;
    
        // Open Function Encoding
        /**
         * Create file if it does not exist.
         */
        int O_CREAT = 0x0010;
        /**
         * Fail if the file exists.
         */
        int O_EXCL = 0x0020;
        /**
         * Truncate file if it exists.
         */
        int O_TRUNC = 0x0040;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

                    size = sfd.getInitialSize();
                    resumeKey = rkresp.getResumeKey();
    
                    // start with some reasonably safe defaults, the server will till us if it does not like it
                    // can we resume this if we loose the file descriptor?
    
                    int maxChunks = 256;
                    int maxChunkSize = 1024 * 1024;
                    int byteLimit = 16 * 1024 * 1024;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/MultiChannelManager.java

                // Verify multi-channel capability (SMB3+ required)
                if (!transport.isSMB2() || !transport.hasCapability(0x00000008)) { // SMB2_GLOBAL_CAP_MULTI_CHANNEL
                    throw new CIFSException("Server does not support SMB multi-channel capability");
                }
    
                log.info("Created multi-channel transport: {} -> {}", localAddress, serverAddress);
                return transport;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top