- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 1,636 for _context (0.04 seconds)
-
tests/prepared_stmt_test.go
import ( "context" "errors" "sync" "testing" "time" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestPreparedStmt(t *testing.T) { tx := DB.Session(&gorm.Session{PrepareStmt: true}) if _, ok := tx.ConnPool.(*gorm.PreparedStmtDB); !ok { t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode") }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
cmd/data-scanner_test.go
xhttp "github.com/minio/minio/internal/http" ) func TestApplyNewerNoncurrentVersionsLimit(t *testing.T) { // Prepare object layer objAPI, disks, err := prepareErasure(t.Context(), 8) if err != nil { t.Fatalf("Failed to initialize object layer: %v", err) } defer removeRoots(disks) setObjectLayer(objAPI) // Prepare bucket metadata globalBucketMetadataSys = NewBucketMetadataSys()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.cc
TF_Buffer* buf) { string content; cell->cell.value().SerializeToString(&content); void* data = tensorflow::port::Malloc(content.length()); content.copy(static_cast<char*>(data), content.length(), 0); buf->data = data; buf->length = content.length(); buf->data_deallocator = [](void* data, size_t length) { tensorflow::port::Free(data); };Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 35.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java
this.acceptedApiChanges = Collections.emptySet(); } } @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContext context) { Map<String, Object> userData = (Map<String, Object>) context.getUserData(); userData.put("acceptedApiChanges", acceptedApiChanges); userData.put("seenApiChanges", new HashSet<ApiChange>()); }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
// context is parameterized type assertEquals(String.class, TypeToken.of(context).resolveType(keyType).getType()); assertEquals(Integer.class, TypeToken.of(context).resolveType(valueType).getType()); // context is type variable assertEquals(keyType, TypeToken.of(keyType).resolveType(keyType).getType()); assertEquals(valueType, TypeToken.of(valueType).resolveType(valueType).getType());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
// context is parameterized type assertEquals(String.class, TypeToken.of(context).resolveType(keyType).getType()); assertEquals(Integer.class, TypeToken.of(context).resolveType(valueType).getType()); // context is type variable assertEquals(keyType, TypeToken.of(keyType).resolveType(keyType).getType()); assertEquals(valueType, TypeToken.of(valueType).resolveType(valueType).getType());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/monitor/logging/DefaultLog.java
} @Override public void debug(CharSequence content) { logger.debug(toString(content)); } private String toString(CharSequence content) { if (content == null) { return ""; } else { return content.toString(); } } @Override public void debug(CharSequence content, Throwable error) { logger.debug(toString(content), error);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
} } @SuppressLint("NewApi") override fun afterEach(context: ExtensionContext) { val failure = context.executionException.orElseGet { null } if (uncaughtException != null) { throw failure + AssertionError("uncaught exception thrown during test", uncaughtException) } if (context.isFlaky()) { logEvents() } LogManager.getLogManager().reset()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0) -
cmd/bucket-replication-stats.go
} } func (r *ReplicationStats) collectWorkerMetrics(ctx context.Context) { if r == nil { return } for { select { case <-ctx.Done(): return case <-r.wTimer.C: r.wlock.Lock() r.workers.update() r.wlock.Unlock() } } } func (r *ReplicationStats) collectQueueMetrics(ctx context.Context) { if r == nil { return } for { select {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 13.6K bytes - Click Count (0) -
cmd/admin-bucket-handlers.go
continue } kmsKey := encConfig.KeyID() if kmsKey != "" { _, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{ Name: kmsKey, AssociatedData: kms.Context{"MinIO admin API": "ServerInfoHandler"}, // Context for a test key operation }) if err != nil { if errors.Is(err, kes.ErrKeyNotFound) { rpt.SetStatus(bucket, fileName, errKMSKeyNotFound) continue }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 33.3K bytes - Click Count (0)