Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 276 for transaction (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @BeforeEach
        void setUp() {
            transaction = new TestSmbComTransaction();
            transaction.command = ServerMessageBlock.SMB_COM_TRANSACTION;
            transaction.name = "\\PIPE\\test";
            transaction.txn_buf = new byte[1024];
            transaction.maxBufferSize = 1024;
        }
    
        @Test
        @DisplayName("Test reset() method resets transaction state")
        void testReset() {
            // Modify state
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        void testNextElement() {
            transaction.setMaxBufferSize(4096);
            transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]);
            transaction.setParametersWireFormatReturn(100);
            transaction.setDataWireFormatReturn(200);
    
            SmbComTransaction result = transaction.nextElement();
    
            assertSame(transaction, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Base class for SMB1 NT Transaction request messages.
     *
     * NT Transactions are an extended form of the basic transaction protocol
     * that provides additional functionality for Windows NT-specific operations
     * such as security descriptor queries and file change notifications.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        }
    
        /**
         * Sets the data count for this transaction response
         * @param dataCount
         *            the dataCount to set
         */
        public final void setDataCount(final int dataCount) {
            this.dataCount = dataCount;
        }
    
        /**
         * Sets the transaction buffer
         * @param buffer
         *            the transaction buffer to use
         */
    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)
  5. tests/prepared_stmt_test.go

    	if err := tx.Error; err != nil {
    		t.Errorf("Failed to start transaction, got error %v\n", err)
    	}
    
    	if err := tx.Where("name=?", "zzjin").Delete(&User{}).Error; err != nil {
    		tx.Rollback()
    		t.Errorf("Failed to run one transaction, got error %v\n", err)
    	}
    
    	if err := tx.Create(&User{Name: "zzjin"}).Error; err != nil {
    		tx.Rollback()
    		t.Errorf("Failed to run one transaction, got error %v\n", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. internal/stmt_store/stmt_store.go

    func (s *lruStore) New(ctx context.Context, key string, isTransaction bool, conn ConnPool, locker sync.Locker) (_ *Stmt, err error) {
    	// Create a Stmt object and set its Transaction property.
    	// The prepared channel is used to synchronize the statement preparation state.
    	cacheStmt := &Stmt{
    		Transaction: isTransaction,
    		prepared:    make(chan struct{}),
    	}
    	// Cache the Stmt object with the associated key.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Base class for SMB1 NT Transaction response messages.
     *
     * NT Transactions are an extended form of the basic transaction protocol
     * that provides additional functionality for Windows NT-specific operations.
     */
    public abstract class SmbComNtTransactionResponse extends SmbComTransactionResponse {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

     */
    
    package jcifs.internal.smb1.trans;
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 transaction subcommand for peeking at data in a named pipe.
     *
     * This class implements the TRANS_PEEK_NAMED_PIPE transaction which allows
     * reading data from a pipe without removing it, useful for checking if data
     * is available before performing a blocking read.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

     */
    
    package jcifs.internal.smb1.trans.nt;
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 NT Transaction subcommand for querying security descriptors.
     *
     * This transaction allows retrieval of Windows security descriptors
     * which contain access control information for files and directories.
     */
    public class NtTransQuerySecurityDesc extends SmbComNtTransaction {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 transaction subcommand for transacting with a named pipe.
     *
     * This class implements the TRANS_TRANSACT_NAMED_PIPE transaction which
     * combines writing data to a pipe and reading the response in a single operation.
     * This is more efficient than separate write and read operations.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top