Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 226 for Command1 (0.03 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        /**
         * Constructs a transaction response with specified command.
         *
         * @param config the configuration to use
         * @param command the SMB command code
         * @param subcommand the transaction subcommand code
         */
        protected SmbComTransactionResponse(final Configuration config, final byte command, final byte subcommand) {
            super(config, command);
            this.subCommand = subcommand;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            response.setMid(mid);
            assertEquals(mid, response.getMid());
    
            // Test command methods
            int command = 0x25;
            doNothing().when(response).setCommand(command);
            when(response.getCommand()).thenReturn(command);
            response.setCommand(command);
            assertEquals(command, response.getCommand());
    
            // Test other setter methods
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                    openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                }
            } else {
                openFunction = OPEN_FN_OPEN;
            }
        }
    
        @Override
        int getBatchLimit(final byte command) {
            return command == SMB_COM_READ_ANDX ? BATCH_LIMIT : 0;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
            assertEquals(TEST_FILE_NAME, smbComQueryInformation.path);
            assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, smbComQueryInformation.command);
        }
    
        @Test
        public void testWriteParameterWordsWireFormat() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            this.streamCloseTimeout = streamCloseTimeout;
        }
    
        /**
         * Sends a command to the process associated with the given session ID.
         * Uses finer-grained locking to avoid blocking other operations during I/O.
         *
         * @param sessionId unique identifier for the process session
         * @param command the command to send to the process
         * @throws JobNotFoundException if no process is found for the given session ID
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 06:54:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            result = response.readParametersWireFormat(smallBuffer, 0, -1);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test command type is correct")
        void testCommandType() {
            // Verify that the command is not set in constructor (defaults to 0)
            assertEquals(0, response.getCommand());
    
            // Verify we can change the subcommand
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

        void testConstructor() {
            assertEquals(testDomain, netServerEnum2.domain);
            assertEquals(testServerTypes, netServerEnum2.serverTypes);
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, netServerEnum2.command);
            assertEquals(SmbComTransaction.NET_SERVER_ENUM2, netServerEnum2.subCommand);
            assertEquals("\\PIPE\\LANMAN", netServerEnum2.name);
            assertEquals(8, netServerEnum2.maxParameterCount);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 COM_RENAME command implementation.
     *
     * This command renames a file or directory on the SMB server.
     * It takes an old filename and new filename and performs the rename operation.
     */
    public class SmbComRename extends ServerMessageBlock {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java

    /**
     * SMB1 Logoff AndX request message.
     *
     * This command is used to terminate a user session that was
     * previously established with a Session Setup AndX command.
     */
    public class SmbComLogoffAndX extends AndXServerMessageBlock {
    
        /**
         * Creates a new SMB1 logoff request to end a user session.
         *
         * @param config the CIFS configuration
         * @param andx the next command in the AndX chain, or null
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        }
    
        @Test
        @DisplayName("Should verify command constant in constructor")
        void testCommandConstant() throws Exception {
            // When
            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = commandField.getInt(request);
    
            // Then
            assertEquals(0x000F, command); // SMB2_CHANGE_NOTIFY
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top