- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for Opts (0.02 seconds)
-
gorm.go
func Open(dialector Dialector, opts ...Option) (db *DB, err error) { config := &Config{} sort.Slice(opts, func(i, j int) bool { _, isConfig := opts[i].(*Config) _, isConfig2 := opts[j].(*Config) return isConfig && !isConfig2 }) if len(opts) > 0 { if c, ok := opts[0].(*Config); ok { config = c } else { opts = append([]Option{config}, opts...) } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.1K bytes - Click Count (0) -
migrator/migrator.go
).Row().Scan(&count) }) return count > 0 } // BuildIndexOptions build index options func (m Migrator) BuildIndexOptions(opts []schema.IndexOption, stmt *gorm.Statement) (results []interface{}) { for _, opt := range opts { str := stmt.Quote(opt.DBName) if opt.Expression != "" { str = opt.Expression } else if opt.Length > 0 { str += fmt.Sprintf("(%d)", opt.Length) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 29.8K bytes - Click Count (0) -
generics.go
LimitPerRecord(num int) PreloadBuilder } type op func(*DB) *DB func G[T any](db *DB, opts ...clause.Expression) Interface[T] { v := &g[T]{ db: db, ops: make([]op, 0, 5), } if len(opts) > 0 { v.ops = append(v.ops, func(db *DB) *DB { return db.Clauses(opts...) }) } v.createG = &createG[T]{ chainG: chainG[T]{ execG: execG[T]{g: v}, }, }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
tensorflow/BUILD
# define_values = {"PORTABLE_PROTO_TRANSITION_MODE": "third_party"}, # visibility = ["//visibility:public"], # ) # copybara:uncomment_end # 'enable_registration_v2' opts-in to a different implementation of op and # kernel registration - REGISTER_OP, REGISTER_KERNEL_BUILDER, etc. # # This setting is currently experimental. The 'v2' implementation does _not_Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 24 21:00:18 GMT 2026 - 53.1K bytes - Click Count (0) -
.bazelrc
common --incompatible_default_to_explicit_init_py # For projects which use TensorFlow as part of a Bazel build process, putting # nothing in a bazelrc will default to a monolithic build. The following line # opts in to modular op registration support by default. common --define framework_shared_object=true common --define tsl_protobuf_header_only=true common --define=allow_oversize_protos=true common --spawn_strategy=standalone
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Mar 28 04:33:01 GMT 2026 - 58.9K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.33.md
- kube-apiserver disables the beta WatchList feature by default in 1.33 in favor of the `StreamingCollectionEncodingToJSON` and `StreamingCollectionEncodingToProtobuf` features.kube-controller-manager no longer opts into enabling the WatchListClient feature in 1.33. ([#131359](https://github.com/kubernetes/kubernetes/pull/131359), [@deads2k](https://github.com/deads2k)) [SIG API Machinery] ## Dependencies ### Added
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Mar 19 03:17:58 GMT 2026 - 369K bytes - Click Count (0) -
build-logic/buildquality/build.gradle.kts
compileOnly(buildLibs.kotlinCompilerEmbeddable) { because("Required by IncubatingApiReportTask") } implementation(buildLibs.develocityPlugin) { because("Arch-test plugin configures the PTS extension") } testImplementation(testLibs.junit5JupiterEngine) testImplementation(buildLibs.commonsLang3)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 09:06:26 GMT 2026 - 1.2K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
} extensions.findByType<DevelocityTestConfiguration>()?.apply { // PTS doesn't work well with architecture tests which scan all classes predictiveTestSelection.enabled = false } } } } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 10 08:11:56 GMT 2026 - 3.4K bytes - Click Count (0)