- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for stringList (0.4 sec)
-
platforms/core-runtime/functional/src/main/java/org/gradle/internal/RenderingUtils.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 09 14:11:31 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/go/internal/str/str_test.go
"runtime" "strings" "testing" ) var foldDupTests = []struct { list []string f1, f2 string }{ {StringList("math/rand", "math/big"), "", ""}, {StringList("math", "strings"), "", ""}, {StringList("strings"), "", ""}, {StringList("strings", "strings"), "strings", "strings"}, {StringList("Rand", "rand", "math", "math/rand", "math/Rand"), "Rand", "rand"}, } func TestFoldDup(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 25 16:49:13 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/go/internal/str/str.go
"unicode" "unicode/utf8" ) // StringList flattens its arguments into a single []string. // Each argument in args must have type string or []string. func StringList(args ...any) []string { var x []string for _, arg := range args { switch arg := arg.(type) { case []string: x = append(x, arg...) case string: x = append(x, arg) default: panic("stringList: invalid argument of type " + fmt.Sprintf("%T", arg))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 20:08:07 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/ResolverEnvironment.kt
/** * Gradle options as configured in IntelliJ. */ internal val Environment.gradleOptions: List<String> get() = stringList("gradleOptions") /** * Gradle JVM options as configured in IntelliJ. */ internal val Environment.gradleJvmOptions: List<String> get() = stringList("gradleJvmOptions") /** * Gradle environment variables as configured in IntelliJ. */ internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionsStorageTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/precompile/PrecompiledScriptDependenciesResolver.kt
environment.stringList(EnvironmentProperties.kotlinDslImplicitImports) private fun precompiledScriptPluginImportsFrom(environment: Environment?, scriptText: CharSequence): List<String> = environment.stringList(hashOfNormalisedString(scriptText)) private fun Environment?.stringList(key: String) = string(key)?.split(':')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxerTest.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/DefaultTypeMetadataStore.java
return Collectors.collectingAndThen(Collectors.toList(), stringList -> { if (stringList.isEmpty()) { return ""; } if (stringList.size() == 1) { return stringList.get(0); } int bound = stringList.size() - 1; return String.join(", ", stringList.subList(0, bound)) + " or " + stringList.get(bound); }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 14.9K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go
Map: map[string]int{"TestSubkey": 1}, StringList: []string{"a", "b", "c"}, IntList: []int{1, 2, 3}, } type TestStruct struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Key string `json:"Key"` Map map[string]int `json:"Map"` StringList []string `json:"StringList"` IntList []int `json:"IntList"` }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/DiffUtils.java
} /** Calculate an incremental Id for a given string. */ private Integer getIdByLine(String line) { int newId = stringList.size(); Integer existingId = stringToId.put(line, newId); if (existingId == null) { stringList.add(line); return newId; } else { stringToId.put(line, existingId); return existingId; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.4K bytes - Viewed (0)