Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for conflict (0.07 seconds)

  1. tests/upsert_test.go

    		t.Errorf("should only find only 1 languages, but got %+v", langs)
    	} else if langs[0].Name != "upsert-new" {
    		t.Errorf("should update name on conflict, but got name %+v", langs[0].Name)
    	}
    
    	lang = Language{Code: "upsert", Name: "Upsert-Newname"}
    	if err := DB.Clauses(clause.OnConflict{UpdateAll: true}).Create(&lang).Error; err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    	var result Language
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

    import org.apache.maven.repository.legacy.metadata.DefaultMetadataResolutionRequest;
    import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
    import org.apache.maven.repository.legacy.resolver.conflict.ConflictResolver;
    import org.codehaus.plexus.logging.Logger;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultLegacyArtifactCollector implements LegacyArtifactCollector {
    
        @Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  3. tests/create_test.go

    	u := OnConflictUser{
    		ID:     "on-conflict-user-id",
    		Name:   "on-conflict-user-name",
    		Email:  "on-conflict-user-email",
    		Mobile: "on-conflict-user-mobile",
    	}
    	err = DB.Create(&u).Error
    	AssertEqual(t, err, nil)
    
    	u.Name = "on-conflict-user-name-2"
    	u.Email = "on-conflict-user-email-2"
    	u.Mobile = ""
    	err = DB.Clauses(clause.OnConflict{UpdateAll: true}).Create(&u).Error
    	AssertEqual(t, err, nil)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  4. callbacks/create.go

    			return
    		}
    
    		ok, mode := hasReturning(db, supportReturning)
    		if ok {
    			if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok {
    				onConflict, _ := c.Expression.(clause.OnConflict)
    				if onConflict.DoNothing {
    					mode |= gorm.ScanOnConflictDoNothing
    				} else if len(onConflict.DoUpdates) > 0 || onConflict.UpdateAll {
    					mode |= gorm.ScanUpdate
    				}
    			}
    
    			rows, err := db.Statement.ConnPool.QueryContext(
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. docs/bigdata/README.md

    fs.s3a.block.size=512M
    fs.s3a.buffer.dir=${hadoop.tmp.dir}/s3a
    fs.s3a.committer.magic.enabled=false
    fs.s3a.committer.name=directory
    fs.s3a.committer.staging.abort.pending.uploads=true
    fs.s3a.committer.staging.conflict-mode=append
    fs.s3a.committer.staging.tmp.path=/tmp/staging
    fs.s3a.committer.staging.unique-filenames=true
    fs.s3a.connection.establish.timeout=5000
    fs.s3a.connection.ssl.enabled=false
    fs.s3a.connection.timeout=200000
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param project the project to update
         * @param source the source to add
         * @throws IllegalArgumentException if this project manager rejects the given source because of conflict
         *
         * @see #getSourceRoots(Project)
         */
        void addSourceRoot(@Nonnull Project project, @Nonnull SourceRoot source);
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                if (parent != null) {
                    // Parent is added as an edge, but must not cause a cycle - so we remove any other edges it has
                    // in conflict
                    addEdge(
                            projectMap,
                            vertexMap,
                            null,
                            projectVertex,
                            parent.getGroupId(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

         */
        Map<MetadataGraphVertex, List<MetadataGraphEdge>> incidentEdges;
    
        Map<MetadataGraphVertex, List<MetadataGraphEdge>> excidentEdges;
    
        /**
         *  null in dirty graph, actual
         *  scope for conflict-resolved graph
         */
        ArtifactScopeEnum scope;
    
        // ------------------------------------------------------------------------
        /**
         * init graph
         */
        public MetadataGraph(int nVertices) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/resources/META-INF/maven/extension.xml

        <!-- javax.enterprise.inject (JSR-299): Must never be exported if needed at plugin level, plugin adds it
             there is no justification to get it at Maven level and leaking it will conflict.
        <exportedPackage>javax.enterprise.util.*</exportedPackage>
        <exportedPackage>javax.enterprise.inject.*</exportedPackage>
        -->
    
        <!-- javax.annotation (JSR-250) -->
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:07:06 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

            // ---
            // end game is: settings enlisted groupIds are obeying order and are "free for all" (artifactId)
            // while POM enlisted plugins coming from non-enlisted settings groupIds (ie conflict of prefixes)
            // will prevail/win.
            LinkedHashMap<String, Set<String>> candidates = Stream.of(build, management)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 17 13:14:10 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top