- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 2,757 for True (0.08 seconds)
-
tests/prepared_stmt_test.go
t.Fatalf("no error should happen but got %v", err) } } func TestPreparedStmtFromTransaction(t *testing.T) { db := DB.Session(&gorm.Session{PrepareStmt: true, SkipDefaultTransaction: true}) tx := db.Begin() defer func() { if r := recover(); r != nil { tx.Rollback() } }() if err := tx.Error; err != nil { t.Errorf("Failed to start transaction, got error %v\n", err)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
internal/event/target/nats_tls_contrib_test.go
defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true, Address: xnet.Host{ Name: "localhost", Port: (xnet.Port(opts.Port)), IsPortSet: true, }, Subject: "test", Secure: true, CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"), TLSHandshakeFirst: true, } con, err := clientConfig.connectNats() if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Apr 22 22:12:26 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/config/storageclass/storage-class_test.go
} func TestValidateParity(t *testing.T) { tests := []struct { rrsParity int ssParity int success bool setDriveCount int }{ {2, 4, true, 16}, {3, 3, true, 16}, {0, 0, true, 16}, {1, 4, true, 16}, {0, 4, true, 16}, {7, 6, false, 16}, {9, 0, false, 16}, {9, 9, false, 16}, {2, 9, false, 16}, {9, 2, false, 16}, } for i, tt := range tests {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
val sentRequestMillis = System.currentTimeMillis() var invokeStartEvent = true var responseBuilder: Response.Builder? = null var sendRequestException: IOException? = null val hasRequestBody = HttpMethod.permitsRequestBody(request.method) && requestBody != null val isUpgradeRequest = "upgrade".equals(request.header("Connection"), ignoreCase = true) try { exchange.writeRequestHeaders(request)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0) -
internal/config/browser/help.go
Optional: true, Type: "string", }, config.HelpKV{ Key: browserHSTSSeconds, Description: `set Strict-Transport-Security 'max-age' amount of seconds value` + defaultHelpPostfix(browserHSTSSeconds), Optional: true, Type: "number", }, config.HelpKV{ Key: browserHSTSIncludeSubdomains,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 01 16:36:33 GMT 2024 - 2.1K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
assertActivation(true, profile, newContext(null, newProperties("prop", ""))); assertActivation(true, profile, newContext(null, newProperties("other", "value"))); } @Test void testWithValueUserProperty() throws Exception { Profile profile = newProfile("prop", "value"); assertActivation(true, profile, newContext(newProperties("prop", "value"), null));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.7K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
tests/test_skip_defaults.py
y: str = "y" z: str = "z" @app.get("/", response_model=Model, response_model_exclude_unset=True) def get_root() -> ModelSubclass: return ModelSubclass(sub={}, y=1, z=0) @app.get( "/exclude_unset", response_model=ModelDefaults, response_model_exclude_unset=True ) def get_exclude_unset() -> ModelDefaults: return ModelDefaults(x=None, y="y") @app.get(Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 2K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
validations: required: true - type: textarea attributes: label: 2. What's the best code you can write to accomplish that without the new feature? validations: required: true - type: textarea attributes: label: 3. What would that same code look like if we added your feature? validations: required: true - type: markdown attributes:Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Nov 17 18:47:47 GMT 2023 - 5.8K bytes - Click Count (0) -
cmd/metrics-v3-cache.go
cachevalue.Opts{ReturnLastGood: true}, loadMemoryMetrics) } func newClusterStorageInfoCache() *cachevalue.Cache[storageMetrics] { loadStorageInfo := func(ctx context.Context) (v storageMetrics, err error) { objLayer := newObjectLayerFn() if objLayer == nil { return storageMetrics{}, nil } storageInfo := objLayer.StorageInfo(GlobalContext, true)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.1K bytes - Click Count (0)