Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for diffCh (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/MapsTest.java

        MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(EMPTY, diff.entriesOnlyOnRight());
        assertEquals(EMPTY, diff.entriesInCommon());
        assertEquals(EMPTY, diff.entriesDiffering());
        assertEquals("equal", diff.toString());
      }
    
      public void testMapDifferenceEmptySingleton() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(EMPTY, diff.entriesOnlyOnRight());
        assertEquals(EMPTY, diff.entriesInCommon());
        assertEquals(EMPTY, diff.entriesDiffering());
        assertEquals("equal", diff.toString());
      }
    
      public void testMapDifferenceEmptySingleton() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            assertThat(prob).isWithin(epsilon).of(0.50d);
          }
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            assertThat(prob).isWithin(epsilon).of(0.50d);
          }
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. .github/workflows/pre-commit.yml

            continue-on-error: true
          - name: Commit and push changes
            if: env.HAS_SECRETS == 'true'
            run: |
              git config user.name "github-actions[bot]"
              git config user.email "github-actions[bot]@users.noreply.github.com"
              git add -A
              if git diff --staged --quiet; then
                echo "No changes to commit"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 23 11:17:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            }
            Diff diff = DiffBuilder.compare(afterPomFile.toFile())
                    .withTest(tempFile.toFile())
                    .ignoreComments()
                    .ignoreWhitespace()
                    .build();
            assertFalse(diff.hasDifferences(), "XML files should be identical: " + diff.toString());
        }
    
        @Test
        void transformJarConsumerPom() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                        artifact.getClassifier(),
                        artifact.getExtension(),
                        null);
            }
            // Verify groupId and version, intentionally allow artifactId to differ as Maven project may be
            // multi-module with modular sources structure that provide module names used as artifactIds.
            String g1 = project.getGroupId();
            String a1 = project.getArtifactId();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       then as many exception-testing methods as there are exceptions the method can throw.
     *       Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors
     *       differ significantly. And sometimes testcases cover multiple methods when they cannot be
     *       tested in isolation.
     *   <li>The documentation style for testcases is to provide as javadoc a simple sentence or two
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

         * cross-platform path behavior using JIMFS to simulate both Windows and Unix file systems.
         * This test shows how the path separator expectations differ between platforms.
         */
        @ParameterizedTest(name = "testActivatedDefaultProfileBySource[{0}]")
        @MethodSource("fileSystemConfigurations")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.ModelVersions.MODEL_VERSION_4_1_0;
    
    /**
     * Base class for upgrade goals containing shared functionality.
     * Subclasses only differ in whether they save modifications to disk.
     *
     * <h2>Supported Upgrades</h2>
     *
     * <h3>Model Version Upgrades</h3>
     * <ul>
     *   <li><strong>4.0.0 → 4.1.0</strong>: Upgrades Maven 3.x POMs to Maven 4.1.0 format</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top