- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for Transaction (0.05 sec)
-
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 stateRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
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. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
tests/connpool_test.go
} tx := db.Begin() user := *GetUser("transaction", Config{}) if err = tx.Save(&user).Error; err != nil { t.Fatalf("No error should raise, but got %v", err) } if err = tx.First(&User{}, "name = ?", "transaction").Error; err != nil { t.Fatalf("Should find saved record, but got %v", err) } user1 := *GetUser("transaction1-1", Config{}) if err = tx.Save(&user1).Error; err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.5K bytes - Viewed (0) -
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 */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
tests/transaction_test.go
tx3 := DB.Session(&gorm.Session{PrepareStmt: true}) if err := tx3.Transaction(func(tx4 *gorm.DB) error { // nested transaction return tx4.Transaction(func(tx5 *gorm.DB) error { return tx5.First(&User{}, "name = ?", "transaction-2").Error }) }); err != nil { t.Fatalf("prepare statement and nested transaction coexist" + err.Error()) } }) } func TestCancelTransaction(t *testing.T) { ctx := context.Background()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 13.3K bytes - Viewed (0) -
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 {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Set up transaction with zero data transaction.setTotalParameterCount(100); transaction.setTotalDataCount(0); transaction.setMaxParameterCount(1024); transaction.setMaxDataCountForTest(2048); transaction.setParameterCount(100); transaction.setParameterOffset(80); transaction.setDataCount(0); transaction.setDataOffset(0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
/** * Transaction subcommand for peeking data from a named pipe */ public static final byte TRANS_PEEK_NAMED_PIPE = (byte) 0x23; /** * Transaction subcommand for waiting on a named pipe */ public static final byte TRANS_WAIT_NAMED_PIPE = (byte) 0x53; /** * Transaction subcommand for calling a named pipe */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
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 {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0)