Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 151 for transactions (0.09 sec)

  1. tests/generics_test.go

    			}
    			sg.Done()
    		}()
    	}
    	sg.Wait()
    }
    
    func TestGenericsWithTransaction(t *testing.T) {
    	ctx := context.Background()
    	tx := DB.Begin()
    	if tx.Error != nil {
    		t.Fatalf("failed to begin transaction: %v", tx.Error)
    	}
    
    	users := []User{{Name: "TestGenericsTransaction", Age: 18}, {Name: "TestGenericsTransaction2", Age: 18}}
    	err := gorm.G[User](tx).CreateInBatches(ctx, &users, 2)
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            case DONE:
                return "Crawler has completed";
            default:
                fail("Unexpected status: " + status);
                return null;
            }
        }
    
        /**
         * Test state transitions (typical workflow)
         */
        public void test_stateTransitions() {
            // Simulate typical crawler lifecycle
            CrawlerStatus currentStatus = CrawlerStatus.INITIALIZING;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertEquals(65536, maximumBufferSize, "Should delegate maximum buffer size");
            assertEquals(65024, transactionBufferSize, "Should delegate transaction buffer size");
            assertEquals(16, bufferCacheSize, "Should delegate buffer cache size");
            assertEquals(1024, notifyBufferSize, "Should delegate notify buffer size");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Test max attempts in half-open with failure scenario
            circuitBreaker.trip(); // Open again
            Thread.sleep(1100); // Wait for reset
    
            // First attempt transitions to HALF_OPEN
            try {
                circuitBreaker.executeWithCircuitBreaker(() -> {
                    // Verify we're in HALF_OPEN
                    assertEquals(State.HALF_OPEN, circuitBreaker.getState());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                assertNotNull(connection, "Connection should not be null");
                assertEquals(mockAddress, connection.getRemoteAddress(), "Remote address should match");
    
                // Test connection state transitions
                RdmaConnection.RdmaConnectionState initialState = connection.getState();
                assertNotNull(initialState, "Initial state should not be null");
                assertTrue(
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. docs/ru/docs/help-fastapi.md

        * Убедитесь, что добавили свою ссылку в начало соответствующего раздела.
    * Помочь с [переводом документации](contributing.md#translations){.internal-link target=_blank} на Ваш язык.
        * Вы также можете проверять переводы, сделанные другими.
    * Предложить новые разделы документации.
    * Исправить существующую проблему/баг.
        * Убедитесь, что добавили тесты.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    						continue
    					}
    
    					if err = Rename(pathJoin(currentDataPath, entry), pathJoin(legacyDataPath, entry)); err != nil {
    						// Any failed rename calls un-roll previous transaction.
    						s.deleteFile(dstVolumeDir, legacyDataPath, true, false)
    
    						return res, osErrToFileErr(err)
    					}
    				}
    			}
    		}
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    For example, if some code at some point in the middle, in another dependency or in a *path operation*, made a database transaction "rollback" or created any other exception, you would receive the exception in your dependency.
    
    So, you can look for that specific exception inside the dependency with `except SomeException`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         *
         * @return initial security blob
         */
        public byte[] getSecurityBlob() {
            return this.securityBuffer;
        }
    
        /**
         * Gets the maximum transaction size supported by the server.
         *
         * @return the maxTransactSize
         */
        public int getMaxTransactSize() {
            return this.maxTransactSize;
        }
    
        /**
         * {@inheritDoc}
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. docs/pt/docs/_llm-test.md

    Veja, por exemplo, a seção `### List of English terms and their preferred German translations` em `docs/de/llm-prompt.md`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:17:03 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top