Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for vararg (0.09 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

        val out = ByteArrayOutputStream()
        exec {
            isIgnoreExitValue = ignoreExitValue
            commandLine(*args)
            standardOutput = out
            this.workingDir = workingDir
        }
        return out.toString().trim()
    }
    
    
    fun ExecOperations.execAndGetStdoutIgnoringError(vararg args: String) = execAndGetStdout(File("."), true, *args)
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 21:39:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            fun assertHasInformation(vararg information: String) {
                assertThat("Has information", richReport.information.map { it.message }, CoreMatchers.equalTo(information.toList()))
            }
    
            fun assertHasAccepted(vararg accepted: String) {
                assertThat("Has accepted", richReport.accepted.map { it.message }, CoreMatchers.equalTo(accepted.toList()))
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            }
        }
    
        private
        val messageCollector: MessageCollector
            get() = PrintingMessageCollector(System.out, MessageRenderer.PLAIN_RELATIVE_PATHS, false)
    
        fun <T : Any> mapParsedKotlinFiles(vararg sourceRoots: File, block: (KtFile) -> T): List<T> =
            withParsedKotlinSource(sourceRoots.toList()) { ktFiles ->
                ktFiles.map(block)
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 13:02:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

        abstract val providers: ProviderFactory
    
        val gitCommitId = git("rev-parse", "HEAD")
        val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD")
    
        @Suppress("UnstableApiUsage")
        private
        fun git(vararg args: String): Provider<String> {
            val projectDir = parameters.rootProjectDir.asFile.get()
            val execOutput = providers.exec {
                workingDir = projectDir
                isIgnoreExitValue = true
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 10:02:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

                          "buildTime": "20211221172537+0000"
                        }
                      ]
                    }
                """.trimIndent()
            )
        }
    
        protected
        fun run(vararg args: String) = GradleRunner.create()
            .withProjectDir(projectDir)
            .withTestKitDir(projectDir.resolve("test-kit"))
            .withPluginClasspath()
            .forwardOutput()
            .withArguments(*args)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          }
    
        fun bootstrapDnsHosts(bootstrapDnsHosts: List<InetAddress>?) =
          apply {
            this.bootstrapDnsHosts = bootstrapDnsHosts
          }
    
        fun bootstrapDnsHosts(vararg bootstrapDnsHosts: InetAddress): Builder = bootstrapDnsHosts(bootstrapDnsHosts.toList())
    
        fun systemDns(systemDns: Dns) =
          apply {
            this.systemDns = systemDns
          }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        stringPropertyOrNull(projectPropertyName) ?: ""
    
    
    fun Project.stringPropertyOrNull(projectPropertyName: String): String? =
        gradleProperty(projectPropertyName).orNull
    
    
    fun Project.selectStringProperties(vararg propertyNames: String): Map<String, String> =
        propertyNames.mapNotNull { propertyName ->
            stringPropertyOrNull(propertyName)?.let { propertyValue ->
                propertyName to propertyValue
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .createTestSuite());
    
        suite.addTest(
            NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetExplicitComparator())
                .named(ImmutableSortedSetTest.class.getName() + ", explicit comparator, vararg")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .desc("Alternate path for the user settings file")
                    .hasArg()
                    .build());
            options.addOption(Option.builder(ALTERNATE_PROJECT_SETTINGS)
                    .longOpt("project-settings")
                    .desc("Alternate path for the project settings file")
                    .hasArg()
                    .build());
            options.addOption(Option.builder(ALTERNATE_INSTALLATION_SETTINGS)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                        .longOpt("threads")
                        .hasArg()
                        .desc("Thread count, for instance 4 (int) or 2C/2.5C (int/float) where C is core multiplied")
                        .build());
                options.addOption(Option.builder(BUILDER)
                        .longOpt("builder")
                        .hasArg()
                        .desc("The id of the build strategy to use")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top