Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for merge (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * @return the merged node
         *
         * @deprecated use {@link XmlService#merge(XmlNode, XmlNode, Boolean)} instead
         */
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nullable
        static XmlNode merge(@Nullable XmlNode dominant, @Nullable XmlNode recessive) {
            return XmlService.merge(dominant, recessive, null);
        }
    
        @Nullable
        static XmlNode merge(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    	Totals  [60]AccElem
    	LastMin int64
    }
    
    // Merge data of two ReplicationLastHour structure
    func (l ReplicationLastHour) merge(o ReplicationLastHour) (merged ReplicationLastHour) {
    	if l.LastMin > o.LastMin {
    		o.forwardTo(l.LastMin)
    		merged.LastMin = l.LastMin
    	} else {
    		l.forwardTo(o.LastMin)
    		merged.LastMin = o.LastMin
    	}
    
    	for i := range merged.Totals {
    		merged.Totals[i] = AccElem{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. cmd/site-replication-metrics.go

    	}
    }
    
    func (rt *RTimedMetrics) merge(o RTimedMetrics) (n RTimedMetrics) {
    	n.SinceUptime.Bytes = atomic.LoadInt64(&rt.SinceUptime.Bytes) + atomic.LoadInt64(&o.SinceUptime.Bytes)
    	n.SinceUptime.Count = atomic.LoadInt64(&rt.SinceUptime.Count) + atomic.LoadInt64(&o.SinceUptime.Count)
    
    	n.LastMinute = n.LastMinute.merge(rt.LastMinute)
    	n.LastMinute = n.LastMinute.merge(o.LastMinute)
    	n.LastHour = n.LastHour.merge(rt.LastHour)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. .github/workflows/detect-conflicts.yml

          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - name: Check if PRs have merge conflicts
            uses: eps1lon/actions-label-merge-conflict@v3
            with:
              dirtyLabel: "conflicts"
              repoToken: "${{ secrets.GITHUB_TOKEN }}"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:33:44 UTC 2025
    - 499 bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            SuggestItem merged = SuggestItem.merge(item1, item2);
    
            assertNotNull(merged);
            assertEquals("item1", merged.getText());
            assertEquals(150L, merged.getQueryFreq()); // Sum of frequencies
            assertEquals(75L, merged.getDocFreq()); // Sum of frequencies
            assertEquals(1.5f, merged.getUserBoost(), 0.001f); // Takes item2's boost
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. cmd/data-usage-cache.go

    	}
    	for k, v := range d.Cache {
    		clone.Cache[k] = v.clone()
    	}
    	return clone
    }
    
    // merge root of other into d.
    // children of root will be flattened before being merged.
    // Last update time will be set to the last updated.
    func (d *dataUsageCache) merge(other dataUsageCache) {
    	existingRoot := d.root()
    	otherRoot := other.root()
    	if existingRoot == nil && otherRoot == nil {
    		return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. .asf.yaml

      homepage: https://maven.apache.org/ref/current
      labels:
        - java
        - build-management
        - apache-maven
        - maven
        - hacktoberfest
      enabled_merge_buttons:
        squash: true
        merge: false
        rebase: true
      autolink_jira:
        - MNG
      pull_requests:
        del_branch_on_merge: true
      protected_branches:
        master: {}
        maven-4.0.x: {}
        maven-3.9.x: {}
        maven-3.8.x: {}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Aug 30 12:16:51 UTC 2025
    - 668 bytes
    - Viewed (0)
  10. .teamcity/scripts/update_wrapper_and_create_pr.sh

        }")
    
        echo "PR_RESPONSE: $PR_RESPONSE"
    
        PR_NUMBER=$(echo "$PR_RESPONSE" | jq -r '.number' 2>/dev/null)
        
        post "/issues/$PR_NUMBER/comments" '{
            "body": "@bot-gradle test and merge"
        }'
    
        post "/issues/$PR_NUMBER/labels" '{
            "labels": ["@dev-productivity"]
        }'
    }
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:20:20 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top