- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 406 for transaction (0.08 seconds)
-
callbacks/transaction.go
heige <******@****.***> 1638149600 +0800
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Nov 29 01:33:20 GMT 2021 - 675 bytes - Click Count (0) -
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 stateCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (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: %v", err) } }) } func TestCancelTransaction(t *testing.T) { ctx := context.Background()
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 13.3K bytes - Click Count (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
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) -
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) -
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (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 */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) -
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 */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) -
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) -
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)