Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for mergeV1 (0.38 sec)

  1. cmd/data-usage-cache_test.go

    			want: sizeHistogram{0: 10, 5: 20, 6: 3, 7: 4, 8: 5, 9: 6, 10: 7},
    		},
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("test-%d", i), func(t *testing.T) {
    			var got sizeHistogram
    			got.mergeV1(test.v)
    			if got != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

        /**
         * Merges the specified source object into the given target object.
         *
         * @param target The target object whose existing contents should be merged with the source, must not be
         *            <code>null</code>.
         * @param source The (read-only) source object that should be merged into the target object, may be
         *            <code>null</code>.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            }
    
            return new InputLocation(-1, -1, InputSource.merge(source.getSource(), target.getSource()), locations);
        } // -- InputLocation merge( InputLocation, InputLocation, boolean )
    
        /**
         * Merges the {@code source} location into the {@code target} location.
         * This method is used when the locations refer to lists and also merges the indices.
         *
         * @param target the target location
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                        PluginExecution existing = merged.get(key);
                        if (existing != null) {
                            element = mergePluginExecution(element, existing, sourceDominant, context);
                        }
                        merged.put(key, element);
                    }
    
                    builder.executions(merged.values());
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. cmd/last-minute.go

    	Totals  [60]AccElem
    	LastSec int64
    }
    
    // Merge data of two lastMinuteLatency structure
    func (l lastMinuteLatency) merge(o lastMinuteLatency) (merged lastMinuteLatency) {
    	if l.LastSec > o.LastSec {
    		o.forwardTo(l.LastSec)
    		merged.LastSec = l.LastSec
    	} else {
    		l.forwardTo(o.LastSec)
    		merged.LastSec = o.LastSec
    	}
    
    	for i := range merged.Totals {
    		merged.Totals[i] = AccElem{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. .github/workflows/check-bad-merge.yml

    # See .github/workflows/CheckBadMerge.groovy for explanation
    name: Check bad merge commit
    on:
      pull_request:
        types:
         - opened
         - synchronize
    
    permissions: {}
    
    jobs:
      check_pr_commits:
        permissions:
          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 17
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                        if (dependency != null) {
                            Dependency merged = mergeDependency(dependency, managedDependency, false, context);
                            if (merged != dependency) {
                                dependencies.put(key, merged);
                                modified = true;
                            }
                        }
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

    class MavenToolchainMergerTest {
        private MavenToolchainMerger merger = new MavenToolchainMerger();
    
        private DefaultToolchainsReader reader = new DefaultToolchainsReader();
    
        @Test
        void testMergeNulls() {
            merger.merge(null, null, null);
    
            PersistedToolchains pt = new PersistedToolchains();
            merger.merge(pt, null, null);
            merger.merge(null, pt, null);
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
            write(result, metadata);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nullable
        Object getInputLocation();
    
        default XmlNode merge(@Nullable XmlNode source) {
            return merge(source, (Boolean) null);
        }
    
        XmlNode merge(@Nullable XmlNode source, @Nullable Boolean childMergeOverride);
    
        /**
         * Merge recessive into dominant and return either {@code dominant}
         * with merged information or a clone of {@code recessive} if
         * {@code dominant} is {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top