Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for setSubCommand (0.52 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java

        void maybeStartVM() {
            if (isVMStarted) {
                return;
            }
            execute(spec -> {
                spec.setCommand("box");
                spec.setSubcommand("update");
            });
    
            // Destroying before every execution can be annoying while iterating on tests locally. Therefore, we provide a flag that defaults
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            return this.subCommand;
        }
    
        /**
         * Sets the transaction subcommand
         * @param subCommand
         *            the subCommand to set
         */
        public final void setSubCommand(final byte subCommand) {
            this.subCommand = subCommand;
        }
    
        /**
         * Gets the response status code
         * @return the status
         */
        public final int getStatus() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            return this.subCommand;
        }
    
        /**
         * Sets the transaction subcommand
         * @param subCommand
         *            the subCommand to set
         */
        public final void setSubCommand(final byte subCommand) {
            this.subCommand = subCommand;
        }
    
        @Override
        public void reset() {
            super.reset();
            this.isPrimary = this.hasMore = true;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponse.java

         *
         * @param config the SMB configuration
         */
        public Trans2SetFileInformationResponse(final Configuration config) {
            super(config);
            this.setSubCommand(SmbComTransaction.TRANS2_SET_FILE_INFORMATION);
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

         *
         * @param config the SMB configuration
         */
        public Trans2GetDfsReferralResponse(final Configuration config) {
            super(config);
            this.setSubCommand(SmbComTransaction.TRANS2_GET_DFS_REFERRAL);
        }
    
        /**
         * Gets the DFS referral response buffer containing the referral data.
         *
         * @return the buffer
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

         */
        public Trans2QueryPathInformationResponse(final Configuration config, final int informationLevel) {
            super(config);
            this.informationLevel = informationLevel;
            this.setSubCommand(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION);
        }
    
        /**
         * Gets the file information from the response.
         *
         * @return the info
         */
        public final FileInformation getInfo() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

        }
    
        @Test
        void testReadParametersWireFormat_NotFindFirst() {
            // Test reading parameters when subcommand is not TRANS2_FIND_FIRST2
            response.setSubCommand(SmbComTransaction.TRANS2_FIND_NEXT2);
    
            byte[] buffer = new byte[20];
            // numEntries (2 bytes) - sid is skipped for FIND_NEXT
            buffer[0] = 0x03;
            buffer[1] = 0x00;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                    doClose();
                    return null;
                }
                throw e;
            }
    
            this.response.setSubCommand(SmbComTransaction.TRANS2_FIND_NEXT2);
            final FileEntry n = advance(false);
            if (n == null) {
                doClose();
            }
            return n;
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test subCommand getter and setter")
        void testSubCommandGetterSetter() {
            byte subcommand = (byte) 0x05;
            response.setSubCommand(subcommand);
            assertEquals(subcommand, response.getSubCommand());
        }
    
        @Test
        @DisplayName("Test status getter and setter")
        void testStatusGetterSetter() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

            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
         */
        public int getInformationLevel() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top