Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 155 for conflict (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.conflict;
    
    import org.apache.maven.artifact.resolver.ResolutionNode;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>OldestConflictResolver</code>.
     *
     * @see OldestConflictResolver
     */
    @Deprecated
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

            {{test}, {compile, test, provided, system}},
            {{runtime}, {compile, runtime, system}},
            {{provided}, {compile, test, provided}}
        };
    
        /**
         * scope relationship function. Used by the graph conflict resolution policies
         *
         * @param scope a scope
         * @return true is supplied scope is an inclusive sub-scope of current one.
         */
        public boolean encloses(ArtifactScopeEnum scope) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. 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(
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. callbacks/callbacks.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    var (
    	createClauses = []string{"INSERT", "VALUES", "ON CONFLICT"}
    	queryClauses  = []string{"SELECT", "FROM", "WHERE", "GROUP BY", "ORDER BY", "LIMIT", "FOR"}
    	updateClauses = []string{"UPDATE", "SET", "WHERE"}
    	deleteClauses = []string{"DELETE", "FROM", "WHERE"}
    )
    
    type Config struct {
    	LastInsertIDReversed bool
    	CreateClauses        []string
    	QueryClauses         []string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NbtException.java

        /** Refused error in the name service */
        public static final int RFS_ERR = 0x5;
        /** Active error in the name service */
        public static final int ACT_ERR = 0x6;
        /** Name in conflict error */
        public static final int CFT_ERR = 0x7;
    
        // session service error codes
        /** Connection refused by the remote host */
        public static final int CONNECTION_REFUSED = -1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. 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);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            assertEquals(2, dataMap.size());
            assertEquals("A0", dataMap.get("a"));
            assertEquals("B1", dataMap.get("b"));
        }
    
        /** Case 2: Key conflict (without .overwrite) → Overwrite with value from responseDataMap */
        public void test_mergeResponseData_keyConflict() {
            Map<String, Object> dataMap = new HashMap<>();
            dataMap.put("x", "X0");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 23:31:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtException.java

        /** Refused error in the name service */
        public static final int RFS_ERR = 0x5;
        /** Active error in the name service */
        public static final int ACT_ERR = 0x6;
        /** Name in conflict error */
        public static final int CFT_ERR = 0x7;
    
        // session service error codes
        /** Connection refused by the remote host */
        public static final int CONNECTION_REFUSED = -1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top