- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 226 for Command2 (0.04 sec)
-
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Invalid SMB protocol identifier"); } // Validate command is in valid range if (command < 0 || command > 255) { failedValidations.incrementAndGet(); throw new SmbException("Invalid command code: " + command); } } /** * Validate array size before allocation *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
* Test the constructor of SmbComNegotiate. * It should initialize the command and flags2 with default values. */ @Test void testConstructor() { // Verify that the command is set to SMB_COM_NEGOTIATE assertEquals(ServerMessageBlock.SMB_COM_NEGOTIATE, smbComNegotiate.command, "Constructor should set the command to SMB_COM_NEGOTIATE."); // Verify that flags2 is set to the default flagsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
} @Test @DisplayName("constructor sets correct command value") void constructorSetsCorrectCommand() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message should not be null"); // SMB_COM_LOGOFF_ANDX = 0x74 assertEquals((byte) 0x74, msg.command, "Command should be SMB_COM_LOGOFF_ANDX"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
private byte[] setupBuffer; private byte[] parametersBuffer; private byte[] dataBuffer; public TestSmbComTransaction(Configuration config, byte command, byte subCommand) { super(config, command, subCommand); } @Override protected int writeSetupWireFormat(byte[] dst, int dstIndex) { if (setupBuffer != null && setupBuffer.length > 0) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
"Command should change to SMB_COM_TRANSACTION_SECONDARY"); } @Test @DisplayName("Test NT transaction command handling") void testNtTransactionCommand() { transaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT; // First call transaction.nextElement(); // Second call should change to NT_TRANSACT_SECONDARY
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * @return the command */ @Override public final int getCommand() { return this.command; } /** * @param command * the command to set */ @Override public final void setCommand(final int command) { this.command = (byte) command; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 COM_LOCKING_ANDX command implementation. * * This command locks or unlocks byte ranges within a file. It can also * be used to break oplocks and change oplock levels. * * @author mbechler */ public class SmbComLockingAndX extends AndXServerMessageBlock {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
} /** * Test getBatchLimit with SMB_COM_READ_ANDX command. */ @Test void testGetBatchLimit_ReadAndX() { smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx); assertEquals(1, smbComOpenAndX.getBatchLimit(ServerMessageBlock.SMB_COM_READ_ANDX)); } /** * Test getBatchLimit with a command other than SMB_COM_READ_ANDX. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
} @Test @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string") void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException { byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0); // Calculate expected size: 1 byte for command + string bytes + 1 null terminatorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/assemblies/files/fess
fi return $? fi } # Print command line usage / help usage() { echo "Usage: $0 [-vdh] [-p pidfile] [-D prop] [-X prop]" echo "Start fess." echo " -d daemonize (run in background)" echo " -p pidfile write PID to <pidfile>" echo " -h" echo " --help print command line options" echo " -v print fess version, then exit"Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 5.4K bytes - Viewed (0)