Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 430 for Berner (0.03 sec)

  1. src/main/java/jcifs/smb/SmbTransportInternal.java

         * Checks if the transport has been disconnected.
         *
         * @return whether the transport has been disconnected
         */
        boolean isDisconnected();
    
        /**
         * Disconnects the transport from the remote server.
         *
         * @param hard if true, force immediate disconnection
         * @param inuse whether the connection is currently in use
         * @return whether the connection was in use
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    
    /**
     * Information about a durable or persistent SMB handle.
     * This class holds all the necessary information to reconnect
     * a handle after network failures or server reboots.
     */
    public class HandleInfo implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The full path to the file or directory associated with this handle
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

        }
    
        @Test
        @DisplayName("Should work with null server name")
        void shouldHandleNullServerName() {
            // When
            MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(null, testAccess, mockPolicyHandle);
    
            // Then
            assertNotNull(msrpcSamrConnect2, "Should handle null server name");
        }
    
        @Test
        @DisplayName("Should work with different access masks")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals(2, bytesRead);
            assertEquals(11, response.dialectIndex);
        }
    
        @Test
        void testReadBytesWireFormat_NoExtendedSecurity() throws UnsupportedEncodingException {
            // Setup server data for this scenario
            serverData.capabilities = 0; // No extended security
            serverData.encryptionKeyLength = 8;
            response.byteCount = 15; // 8 bytes key + 6 bytes "DOMAIN" + 1 null terminator
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            serverData.security = ServerMessageBlock.SECURITY_USER;
            serverData.encryptedPasswords = true;
            serverData.encryptionKey = new byte[8];
    
            // Configure mock transport
            mockTransport.server = serverData;
            mockTransport.sessionKey = 0x12345678;
            mockTransport.capabilities = SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS;
            mockTransport.snd_buf_size = 16644;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            // Mock configuration setup
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor with domain and server types")
        void testConstructor() {
            String domain = "WORKGROUP";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
    
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbException.java

    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    
    import jcifs.smb1.util.Hexdump;
    
    /**
     * There are hundreds of error codes that may be returned by a CIFS
     * server. Rather than represent each with it's own <code>Exception</code>
     * class, this class represents all of them. For many of the popular
     * error codes, constants and text messages like "The device is not ready"
     * are provided.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                context = SingletonContext.getInstance();
            }
    
            // Wait for server to be ready - with proper error handling for CI environments
            try {
                waitForServerReady();
            } catch (RuntimeException e) {
                log.warn("SMB server readiness check failed: {}", e.getMessage());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 NetShareEnum response message for enumerating network shares on a server.
     * This class handles the response data from a NetShareEnum RPC call, which returns
     * information about all available shares on the target server.
     */
    public class NetShareEnumResponse extends SmbComTransactionResponse {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeInputStream.java

         * return 0 for streams connected to regular files. However, a
         * stream created from a Named Pipe this method will query the server using a
         * "peek named pipe" operation and return the number of available bytes
         * on the server.
         */
        @Override
        public int available() throws IOException {
            try (SmbFileHandleImpl fd = this.handle.ensureOpen(); SmbTreeHandleImpl th = fd.getTree()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top