- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 406 for branch (1.91 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
import jcifs.smb.SmbException; /** * Unit tests exercising {@link SmbComSessionSetupAndX}. The class under test * contains several protected helper methods and a complex constructor * that branches on credential type. These tests use reflection to call * protected methods and Mockito to stub collaborators. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
generics.go
err := g.g.apply(ctx).Find(&r).Error return r, err } func (g execG[T]) FindInBatches(ctx context.Context, batchSize int, fc func(data []T, batch int) error) error { var data []T return g.g.apply(ctx).FindInBatches(&data, batchSize, func(tx *DB, batch int) error { return fc(data, batch) }).Error } func (g execG[T]) Row(ctx context.Context) *sql.Row { return g.g.apply(ctx).Row() }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 25.9K bytes - Viewed (0) -
tests/benchmark_test.go
package tests_test import ( "fmt" "testing" . "gorm.io/gorm/utils/tests" ) func BenchmarkCreate(b *testing.B) { user := *GetUser("bench", Config{}) for x := 0; x < b.N; x++ { user.ID = 0 DB.Create(&user) } } func BenchmarkFind(b *testing.B) { user := *GetUser("find", Config{}) DB.Create(&user) for x := 0; x < b.N; x++ { DB.Find(&User{}, "id = ?", user.ID) } }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 01 03:50:57 UTC 2022 - 1.5K bytes - Viewed (0) -
cmd/logging.go
logger.LogIf(ctx, "healing", err, errKind...) } func batchLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "batch", err, errKind...) } func batchLogOnceIf(ctx context.Context, err error, id string, errKind ...any) { logger.LogOnceIf(ctx, "batch", err, id, errKind...) } func bootLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "bootstrap", err, errKind...) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
pode ser utilizada como uma dependência do **FastAPI**. Na realidade, o FastAPI utiliza esses dois decoradores internamente. /// ## Uma dependência de banco de dados com `yield` { #a-database-dependency-with-yield } Por exemplo, você poderia utilizar isso para criar uma sessão do banco de dados, e fechá-la após terminar. Apenas o código anterior à declaração com `yield` e o código contendo essa declaração são executados antes de criar uma resposta:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.2K bytes - Viewed (0) -
tests/non_std_test.go
var animals []Animal DB.Find(&animals) if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) { t.Error("RowsAffected should be correct when do batch update") } animal = Animal{From: "somewhere"} // No name fields, should be filled with the default value (galeone) DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Aug 06 04:56:48 UTC 2025 - 17.8K bytes - Viewed (0) -
README.md
- [日本語 (Japanese)](docs/ja/README.md) - [简体中文 (Simplified Chinese)](docs/zh-CN/README.md) - [Español (Spanish)](docs/es/README.md) - [Português (Brazilian Portuguese)](docs/pt-BR/README.md) - [Français (French)](docs/fr/README.md) - [Deutsch (German)](docs/de/README.md) - [한국어 (Korean)](docs/ko/README.md) ## Powered By * [Lasta Di](https://github.com/lastaflute/lasta-di "Lasta Di"): DI Container
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 00:28:33 UTC 2025 - 7.8K bytes - Viewed (2) -
ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh
exit 1 ;; esac mkdir -p "${TARGET}" # Download glibc's shared and development libraries based on the value of the # `VERSION` parameter. # Note: 'Templatizing' this and the other conditional branches would require # defining several variables (version, os, path) making it difficult to maintain # and extend for future modifications. case "${VERSION}" in devtoolset-7) # Download binary glibc 2.12 shared library release.Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Sep 24 20:45:58 UTC 2024 - 8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException"); } /** * Test the getErrorString method with various error classes and codes to ensure all branches are covered. */ @ParameterizedTest @MethodSource("provideErrorClassAndCodeForGetErrorString") @DisplayName("getErrorString should return correct messages for all defined error classes and codes")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0)