Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 274 for denormalize (0.7 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverSpec.groovy

            normalize(".//a/b//file.txt", baseDir) == child
            normalize("sub/../a/b/file.txt", baseDir) == child
            normalize("../sub", baseDir) == sibling
            normalize("..", baseDir) == ancestor
            normalize(".", baseDir) == baseDir
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "normalizes relative path when base dir is a link"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/PropertiesUtilsTest.groovy

            expect:
            write([:], "Line comment") == normalize("""
                #Line comment
                """)
        }
    
        def "simple properties are written sorted alphabetically"() {
            expect:
            write([one: "1", two: "2", three: "three"], "Line comment") == normalize("""
                #Line comment
                one=1
                three=three
                two=2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelUrlNormalizer.java

                        .url(normalize(scm.getUrl()))
                        .connection(normalize(scm.getConnection()))
                        .developerConnection(normalize(scm.getDeveloperConnection()))
                        .build());
            }
    
            DistributionManagement dist = model.getDistributionManagement();
            if (dist != null) {
                Site site = dist.getSite();
                if (site != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultVersionCatalog.java

            return bundles.get(normalize(name));
        }
    
        public VersionModel getVersion(String name) {
            return versions.get(normalize(name));
        }
    
        public PluginModel getPlugin(String name) {
            return plugins.get(normalize(name));
        }
    
        public boolean hasDependency(String alias) {
            return libraries.containsKey(normalize(alias));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java

         * @throws Exception
         */
        public void testNormalize() throws Exception {
            assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN));
            assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN));
            assertEquals("3", "1000.00", DecimalFormatUtil.normalize("1.000,00", Locale.GERMAN));
        }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasherTest.groovy

    class LineEndingNormalizingInputStreamHasherTest extends Specification {
        @TempDir
        File tempDir
    
        def hasher = new LineEndingNormalizingInputStreamHasher()
    
        def "can normalize line endings in files (eol = '#description')"() {
            def unnormalized = file('unnormalized.txt') << content.textWithLineEndings(eol)
            def normalized = file('normalized.txt') << content.textWithLineEndings('\n')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/WritePropertiesIntegrationTest.groovy

                    comment = "Line comment"
                    outputFile = file("output.properties")
                }
            """
    
            when:
            runProps()
            then:
            file("output.properties").text == normalize("""
                #Line comment
                """)
        }
    
        private runProps() {
            result = expectOutputDeprecation(executer.withTasks("props")).run()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 19 13:03:22 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ArtifactResolutionOmittingOutputNormalizer.groovy

                    seenWarning = true
                } else {
                    result << line
                }
            }
            return result.join("\n")
        }
    
        String normalize(String output) {
            return normalize(output, null)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

        /**
         * 数値の文字列での表記を正規化します。
         *
         * @param s
         *            数値を表す文字列
         * @return 正規化された文字列
         * @see #normalize(String, Locale)
         */
        public static String normalize(final String s) {
            return normalize(s, LocaleUtil.getDefault());
        }
    
        /**
         * 数値の文字列での表記をグルーピングセパレータを削除し、小数点を.であらわした標準形に正規化します。
         *
         * @param s
         *            数値を表す文字列
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/VersionCatalogView.java

            String normalizedAlias = normalize(alias);
            if (config.hasDependency(normalizedAlias)) {
                return Optional.of(dependencyFactory.create(normalizedAlias));
            }
            return Optional.empty();
        }
    
        @Override
        public final Optional<Provider<ExternalModuleDependencyBundle>> findBundle(String alias) {
            String normalizedBundle = normalize(alias);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top