Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 40 for getSubcommand (0.09 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            assertNotNull(transCallNamedPipe);
            assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transCallNamedPipe.getCommand());
            assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, transCallNamedPipe.getSubCommand());
            assertEquals(0xFFFFFFFF, transCallNamedPipe.timeout);
            assertEquals(0, transCallNamedPipe.maxParameterCount);
            assertEquals(0xFFFF, transCallNamedPipe.maxDataCount);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                Trans2GetDfsReferralResponse localResponse = new Trans2GetDfsReferralResponse(mockConfig);
    
                assertNotNull(localResponse);
                assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, localResponse.getSubCommand());
            }
    
            @Test
            @DisplayName("Should initialize DfsReferralResponseBuffer")
            void testDfsResponseBufferInitialization() {
                assertNotNull(response.getDfsResponse());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Assert
            assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transPeekNamedPipe.getCommand());
            assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, transPeekNamedPipe.getSubCommand());
        }
    
        @Test
        @DisplayName("Should handle edge case with zero FID")
        void testZeroFid() {
            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. 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)
  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/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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb/NetServerEnumIterator.java

            if (this.workgroup && this.response.getStatus() == WinError.ERROR_MORE_DATA) {
                this.request.reset(0, this.response.getLastName());
                this.response.reset();
                this.request.setSubCommand(SmbComTransaction.NET_SERVER_ENUM3);
                this.treeHandle.send(this.request, this.response);
                checkStatus();
                this.ridx = 0;
                return advance();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. 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)
Back to Top