- Sort Score
- Num 10 results
- Language All
Results 951 - 960 of 1,557 for Content (0.08 seconds)
-
callbacks.go
} if optimizer, ok := stmt.Dest.(StatementModifier); ok { optimizer.ModifyStatement(stmt) } if db.DefaultContextTimeout > 0 { if _, ok := stmt.Context.Deadline(); !ok { stmt.Context, _ = context.WithTimeout(stmt.Context, db.DefaultContextTimeout) } } // assign model values if stmt.Model == nil { stmt.Model = stmt.Dest } else if stmt.Dest == nil { stmt.Dest = stmt.ModelCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Aug 26 06:24:29 GMT 2025 - 8.8K bytes - Click Count (0) -
callbacks/update.go
for i := 0; i < stmt.ReflectValue.Len(); i++ { if stmt.ReflectValue.CanAddr() { field.Set(stmt.Context, stmt.ReflectValue.Index(i), value) } } } case reflect.Struct: assignValue = func(field *schema.Field, value interface{}) { if stmt.ReflectValue.CanAddr() { field.Set(stmt.Context, stmt.ReflectValue, value) } } default: assignValue = func(field *schema.Field, value interface{}) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 9.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
/** * Sets the value of the context value of this project identified by the given key. If the supplied value is * <code>null</code>, the context value is removed from this project. Context values are intended to allow core * extensions to associate derived state with project instances. */ public void setContextValue(String key, Object value) { if (context == null) { context = new HashMap<>();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0) -
schema/field_test.go
package schema_test import ( "context" "database/sql" "reflect" "sync" "testing" "time" "gorm.io/gorm" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) func TestFieldValuerAndSetter(t *testing.T) { var ( userSchema, _ = schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{}) user = tests.User{ Model: gorm.Model{ ID: 10, CreatedAt: time.Now(),
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Feb 19 09:02:53 GMT 2022 - 12.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java
target.setBuild(new Build()); } Map<Object, Object> context = Collections.singletonMap( PLUGIN_MANAGEMENT, target.getBuild().getPluginManagement()); mergePluginContainer_Plugins(target.getBuild(), source.getBuild(), false, context); } @SuppressWarnings({"checkstyle:methodname"}) @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java
/** * Determines the profiles which are active in the specified activation context. Active profiles will eventually be * injected into the model. * * @param profiles The profiles whose activation status should be determined, must not be {@code null}. * @param context The environmental context used to determine the activation status of a profile, must not be * {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
return getPathForLocalArtifact(artifact); } @Override public String getPathForLocalMetadata(Metadata metadata) { return getPath(metadata, "local"); } @Override public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
return getPathForLocalArtifact(artifact); } @Override public String getPathForLocalMetadata(Metadata metadata) { return getPath(metadata, "local"); } @Override public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.5K bytes - Click Count (0) -
internal/http/server.go
func (srv *Server) UseTLSConfig(cfg *tls.Config) *Server { srv.TLSConfig = cfg return srv } // UseBaseContext use custom base context for this HTTP *Server func (srv *Server) UseBaseContext(ctx context.Context) *Server { srv.BaseContext = func(listener net.Listener) context.Context { return ctx } return srv } // UseCustomLogger use customized logger for this HTTP *Server
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
RequestTrace trace, String context, ArtifactResolver resolver, VersionRangeResolver versionRangeResolver, RemoteRepositoryManager remoteRepositoryManager, List<RemoteRepository> repositories) { this.session = session; this.trace = trace; this.context = context; this.resolver = resolver;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 10.8K bytes - Click Count (0)