Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setCommand (0.06 sec)

  1. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         */
        void setMid(long mid);
    
        /**
         * Gets the SMB command.
         *
         * @return the command
         */
        int getCommand();
    
        /**
         * Sets the SMB command.
         *
         * @param command the command to set
         */
        void setCommand(int command);
    
        /**
         * Sets the user ID.
         *
         * @param uid the user ID to set
         */
        void setUid(int uid);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

         */
        public Trans2QueryFSInformationResponse(final Configuration config, final int informationLevel) {
            super(config);
            this.informationLevel = informationLevel;
            this.setCommand(SMB_COM_TRANSACTION2);
            this.setSubCommand(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
        }
    
        /**
         * Gets the information level that was queried.
         *
         * @return the informationLevel
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) {
                dst[dstIndex++] = this.maxSetupCount;
            } else {
                dst[dstIndex++] = (byte) 0x00; // Reserved
            }
            dst[dstIndex] = (byte) 0x00; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

                FileUtil.writeBytes(file.getAbsolutePath(), data);
                return file;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        private String getCommand(final File scriptFile) {
            if (File.separator.equals("/")) {
                // Unix
                return "sh " + scriptFile.getAbsolutePath() + " $INPUT_FILE $OUTPUT_FILE";
            } else {
                // Windows
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            String directoryName = "testDir";
            SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName);
    
            assertEquals(ServerMessageBlock.SMB_COM_CREATE_DIRECTORY, smbCom.getCommand());
            assertEquals(directoryName, smbCom.getPath());
        }
    
        @Test
        void testWriteParameterWordsWireFormat() {
            // This method is empty, so it should return 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // When
            SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime);
    
            // Then
            assertEquals(ServerMessageBlock.SMB_COM_CLOSE, smbComClose.getCommand());
            // Private fields are not directly accessible, but we can check their effect in other methods.
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            assertNotNull(response);
            // The command should be SMB_COM_TRANSACTION2 (0x32 = 50)
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand());
            // The subcommand should be TRANS2_FIND_FIRST2 (0x01 = 1)
            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand());
        }
    
        @Test
        void testIsEndOfSearch() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    
            // Assert
            assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transWaitNamedPipe.getCommand());
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, transWaitNamedPipe.getSubCommand());
        }
    
        @Test
        @DisplayName("Multiple wire format operations should be consistent")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top