Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for c1 (0.03 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            Comparable c1 = newComparable(v1);
            Comparable c2 = newComparable(v2);
            assertEquals(0, c1.compareTo(c2), "expected " + v1 + " == " + v2);
            assertEquals(0, c2.compareTo(c1), "expected " + v2 + " == " + v1);
            assertEquals(c1.hashCode(), c2.hashCode(), "expected same hashcode for " + v1 + " and " + v2);
            assertEquals(c1, c2, "expected " + v1 + ".equals( " + v2 + " )");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         *
         * @param c1 first signature to compare
         * @param c2 second signature to compare
         * @return MORE_SPECIFIC if c1 is more specific than c2, LESS_SPECIFIC if
         *         c1 is less specific than c2, INCOMPARABLE if they are incomparable.
         */
        private static int moreSpecific(Class<?>[] c1, Class<?>[] c2) {
            boolean c1MoreSpecific = false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            ArtifactSpec e = createArtifactSpec("e", "1.0");
            ArtifactSpec c1 = e.addDependency("c", "1.0");
            ArtifactSpec f = c1.addDependency("f", "1.0");
    
            ArtifactResolutionResult res = collect(createSet(new Object[] {a.artifact, e.artifact}));
            assertEquals(
                    createSet(new Object[] {a.artifact, b.artifact, e.artifact, c1.artifact, f.artifact}),
                    res.getArtifacts(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            project.setBuild(new Build());
    
            // Build up an artifactMap
            project.addArtifact(new Artifact("g0", "a0", "v0", "e0", "c0"));
            project.addArtifact(new Artifact("g1", "a1", "v1", "e1", "c1"));
            project.addArtifact(new Artifact("g2", "a2", "v2", "e2", "c2"));
        }
    
        /**
         * <p>testValueExtraction.</p>
         *
         * @throws Exception if any.
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. common/scripts/setup_env.sh

    add_KUBECONFIG_if_exists () {
      if [[ -f "$1" ]]; then
        local local_config
        local_config="$(mktemp)"
        cp "${1}" "${local_config}"
    
        kubeconfig_random="$(od -vAn -N4 -tx /dev/random | tr -d '[:space:]' | cut -c1-8)"
        container_kubeconfig+="/config/${kubeconfig_random}:"
        CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${local_config},destination=/config/${kubeconfig_random} "
      fi
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    } else {
                        // X-1 is going to be treated as X1
                        if (!isDigit && i != version.length() - 1) {
                            char c1 = version.charAt(i + 1);
                            if (Character.isDigit(c1)) {
                                isCombination = true;
                                continue;
                            }
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

        }
    
        private static boolean equals(String s1, String s2) {
            String c1 = s1 == null ? "" : s1.trim();
            String c2 = s2 == null ? "" : s2.trim();
            return c1.equals(c2);
        }
    
        private static Severity getSeverity(ModelBuildingRequest request, int errorThreshold) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top