- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for Transaction (0.09 sec)
-
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/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/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) -
finisher_api.go
defer conn.Close() tx.Statement.ConnPool = conn return fc(tx) } // Transaction start a transaction as a block, return error will rollback, otherwise to commit. Transaction executes an // arbitrary number of commands in fc within a transaction. On success the changes are committed; if an error occurs // they are rolled back. func (db *DB) Transaction(fc func(tx *DB) error, opts ...*sql.TxOptions) (err error) { panicked := true
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
LICENSE
for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
assertEquals(0x0B, request.getCommand()); } } @Test @DisplayName("Test maxOutputResponse calculation with transaction buffer size") void testMaxOutputResponseCalculation() { // Test that maxOutputResponse is properly calculated from transaction buffer size when(mockConfig.getTransactionBufferSize()).thenReturn(8192);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test transaction response with different commands") void testTransactionResponseWithDifferentCommands() { // Test with TRANSACTION command TestSmbComTransactionResponse resp1 =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
@Test public void readBytesWireFormat_succeedsWithSingleRead() { DummyResponse d = new DummyResponse(); // Allocate a transaction buffer large enough for the copy byte[] tx = new byte[100]; d.txn_buf = tx; // Set up a scenario where the full transaction is read in one call d.bufParameterStart = 0; d.bufDataStart = 20; d.totalParameterCount = 5; // Total parameter count
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)