Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for NORMALIZED (0.11 sec)

  1. subprojects/core/src/main/java/org/gradle/process/internal/util/MergeOptionsUtil.java

            }
    
            String normalized = heapSize.trim().toLowerCase();
            try {
                if (normalized.endsWith("m")) {
                    return Integer.parseInt(normalized.substring(0, normalized.length() - 1));
                }
                if (normalized.endsWith("g")) {
                    return Integer.parseInt(normalized.substring(0, normalized.length() - 1)) * 1024;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryAmount.java

                return -1;
            }
            String normalized = notation.toLowerCase(Locale.US).trim();
            if (normalized.isEmpty()) {
                return -1;
            }
            try {
                if (normalized.endsWith("k")) {
                    return parseWithFactor(normalized, KILO_FACTOR);
                }
                if (normalized.endsWith("m")) {
                    return parseWithFactor(normalized, MEGA_FACTOR);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/VersionCatalog.java

         * Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'
         * </p>
         * @param alias the alias of the library
         * @since 7.4
         */
        Optional<Provider<MinimalExternalModuleDependency>> findLibrary(String alias);
    
        /**
         * Returns the provider for the corresponding bundle alias.
         * <p>
         * Note: Bundle will be automatically normalized: '-', '_' and '.' will be replaced with '.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 20:59:29 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
            for (Dependency dependency : dependencies) {
                normalized.put(dependency.getManagementKey(), dependency);
            }
    
            if (dependencies.size() != normalized.size()) {
                builder.dependencies(normalized.values());
            }
    
            return builder.build();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/FingerprintCompareStrategyTest.groovy

        private static final ABSOLUTE = AbsolutePathFingerprintCompareStrategy.INSTANCE
        private static final NORMALIZED = NormalizedPathFingerprintCompareStrategy.INSTANCE
        private static final IGNORED_PATH = IgnoredPathCompareStrategy.INSTANCE
        private static final ALL_STRATEGIES = ImmutableList.of(ABSOLUTE, NORMALIZED, IGNORED_PATH)
    
        def "empty snapshots (#strategy.class.simpleName)"() {
            expect:
            changes(strategy,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionFailure.java

         *
         * <p>Error messages are normalized to use new-line char as line separator.
         *
         * @return this
         */
        ExecutionFailure assertHasFailure(String description, Consumer<? super Failure> action);
    
        /**
         * Asserts that there is a failure present with the given cause (ie the bit after the description).
         *
         * <p>Error messages are normalized to use new-line char as line separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasherTest.groovy

            def unnormalized = file('unnormalized.txt') << content.textWithLineEndings(eol)
            def normalized = file('normalized.txt') << content.textWithLineEndings('\n')
    
            expect:
            hasher.hashContent(unnormalized).get() == hasher.hashContent(normalized).get()
    
            where:
            eol     | description
            '\r'    | 'CR'
            '\r\n'  | 'CR-LF'
            '\n'    | 'LF'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
            for (Dependency dependency : dependencies) {
                normalized.put(dependency.getManagementKey(), dependency);
            }
    
            if (dependencies.size() != normalized.size()) {
                builder.dependencies(normalized.values());
            }
    
            return builder.build();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/net/port_split_test.go

    		name, port, scheme string
    		valid              bool
    		normalized         bool
    	}{
    		{
    			in:         "aoeu:asdf",
    			name:       "aoeu",
    			port:       "asdf",
    			valid:      true,
    			normalized: true,
    		}, {
    			in:         "http:aoeu:asdf",
    			scheme:     "http",
    			name:       "aoeu",
    			port:       "asdf",
    			valid:      true,
    			normalized: true,
    		}, {
    			in:         "https:aoeu:",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 2.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/typeparams/normalize.go

    // "normalized" form of the embeddings. A structural restriction is normalized
    // if it is a single union containing no interface terms, and is minimal in the
    // sense that removing any term changes the set of types satisfying the
    // constraint. It is left as a proof for the reader that, modulo sorting, there
    // is exactly one such normalized form.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top