Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for stringize (0.21 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

            collect([1, 2, 3] as Iterable, transformer { it * 2 }) == [2, 4, 6]
        }
    
        def "list stringize"() {
            expect:
            stringize([1, 2, 3]) == ["1", "2", "3"]
            stringize([]) == []
        }
    
        def "stringize"() {
            expect:
            stringize(["c", "b", "a"], new TreeSet<String>()) == ["a", "b", "c"] as Set
        }
    
        def "replacing"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/ProviderAwareCompilerDaemonForkOptions.java

         */
        @Internal
        public List<String> getAllJvmArgs() {
            ImmutableList.Builder<String> builder = ImmutableList.builder();
            builder.addAll(CollectionUtils.stringize(getJvmArgs()));
            for (CommandLineArgumentProvider argumentProvider : getJvmArgumentProviders()) {
                builder.addAll(argumentProvider.asArguments());
            }
            return builder.build();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundRulesProcessor.java

                builder.bound();
                path = binding.getNode().getPath();
            } else {
                path = reference.getPath();
                if (path != null) {
                    builder.suggestions(CollectionUtils.stringize(suggestionsProvider.transform(path)));
                }
                ModelPath scope = reference.getScope();
                if (scope != null && !scope.equals(ModelPath.ROOT)) {
                    builder.scope(scope.toString());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

        }
    
        public static <C extends Collection<String>> C stringize(Iterable<?> source, C destination) {
            return collect(source, destination, InternalTransformers.asString());
        }
    
        public static List<String> stringize(Collection<?> source) {
            return stringize(source, new ArrayList<String>(source.size()));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java

            }
    
            return foundAtLeastOneNull ? compacted : list;
        }
    
        public static <C extends Collection<String>> C stringize(Iterable<?> source, C destination) {
            logDeprecation(7);
            return stringizeInternal(source, destination);
        }
    
        public static List<String> stringize(Collection<?> source) {
            logDeprecation(8);
            return stringizeInternal(source, new ArrayList<String>(source.size()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/CompileOptions.java

         *
         * @since 4.5
         */
        @Internal
        public List<String> getAllCompilerArgs() {
            ImmutableList.Builder<String> builder = ImmutableList.builder();
            builder.addAll(CollectionUtils.stringize(getCompilerArgs()));
            for (CommandLineArgumentProvider compilerArgumentProvider : getCompilerArgumentProviders()) {
                builder.addAll(compilerArgumentProvider.asArguments());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. test/typeparam/boundmethod.go

    	got := stringify(x)
    	want := []string{"1", "2", "3"}
    	if !reflect.DeepEqual(got, want) {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    
    	// For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639).
    	// x2 := []StringInt[myint]{StringInt[myint](5), StringInt[myint](7), StringInt[myint](6)}
    	//
    	// // stringify on an instantiated type, whose bound method is associated with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 14:29:30 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    ======
    =====
    
    [[org_gradle_util_reports_deprecations]]
    ==== Deprecated members of the `org.gradle.util` package now report their deprecation
    
    These members will be removed in Gradle 9.0.
    
    * `Collection.stringize(Collection)`
    
    [[changes_8.6]]
    == Upgrading from 8.5 and earlier
    
    === Potential breaking changes
    
    ==== Upgrade to JaCoCo 0.8.11
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  9. samples/bookinfo/src/ratings/ratings.js

      if (Number.isNaN(productId)) {
        res.writeHead(400, {'Content-type': 'application/json'})
        res.end(JSON.stringify({error: 'please provide numeric product ID'}))
        return
      }
    
      try {
        ratings = JSON.parse(req.body)
      } catch (error) {
        res.writeHead(400, {'Content-type': 'application/json'})
        res.end(JSON.stringify({error: 'please provide valid ratings JSON'}))
        return
      }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 02 00:29:57 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/windows-resources/groovy/src/hello/cpp/hello.cpp

    #include <iostream>
    #include <windows.h>
    #include <string>
    #include "hello.h"
    #include "resources.h"
    
    std::string LoadStringFromResource(UINT stringID)
    {
        HINSTANCE instance = GetModuleHandle("hello");
        WCHAR * pBuf = NULL;
        int len = LoadStringW(instance, stringID, reinterpret_cast<LPWSTR>(&pBuf), 0);
        std::wstring wide = std::wstring(pBuf, len);
        return std::string(wide.begin(), wide.end());
    }
    
    void hello() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 528 bytes
    - Viewed (0)
Back to top