- Sort Score
- Num 10 results
- Language All
Results 1251 - 1260 of 1,316 for func (0.02 seconds)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt
} @Suppress("unchecked_cast") override fun execute(context: ViolationCheckContext) { (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor( param(Params.sourceRoots), param(Params.sourceCompilationClasspath) ) } @Suppress("unchecked_cast") private fun param(name: String): List<File> =Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/StageProject.kt
) } } private val TestCoverage.isCrossVersionTest get() = testType in setOf(TestType.ALL_VERSIONS_CROSS_VERSION, TestType.QUICK_FEEDBACK_CROSS_VERSION) private fun createPerformanceTests( model: CIBuildModel, performanceTestBucketProvider: PerformanceTestBucketProvider, stage: Stage, performanceTestCoverage: PerformanceTestCoverage,Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 00:34:25 GMT 2025 - 12.1K bytes - Click Count (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts
} multiProjectApplicationSampleLanguages.forEach { language -> setupGeneratorTask(language, "application", ModularizationOption.WITH_LIBRARY_PROJECTS) } fun setupGeneratorTask(language: Language, kind: String, modularizationOption: ModularizationOption) { val buildInitType = "${language.getName()}-$kind" val capName = language.getName().capitalize()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 24 13:46:12 GMT 2025 - 3.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt
import org.junit.Test abstract class AbstractJavaNullabilityChangesTest : AbstractBinaryCompatibilityTest() { protected abstract val nullableAnnotationName: String @Test fun `from non-null returning to null returning is breaking`() { checkNotBinaryCompatibleJava( v1 = """ public class Source { public String nonFinalField = "some";
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/test_ws_dependencies.py
def dependency_list() -> list[str]: return [] DepList = Annotated[list[str], Depends(dependency_list)] def create_dependency(name: str): def fun(deps: DepList): deps.append(name) return Depends(fun) router = APIRouter(dependencies=[create_dependency("router")]) prefix_router = APIRouter(dependencies=[create_dependency("prefix_router")])
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
} class TeamCityParallelTests( val numberOfBatches: Int, ) : ParallelizationMethod() companion object { private val objectMapper = ObjectMapper() fun fromJson(jsonObject: Map<String, Any>): ParallelizationMethod { val methodJsonNode = (jsonObject["parallelizationMethod"] as? Map<*, *>)?.let { objectMapper.valueToTree<JsonNode>(it) }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 09 05:26:45 GMT 2025 - 5.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt
* we run each branch on different hours. * master - 0:00 * release - 1:00 * release6x - 2:00 * release7x - 3:00 * ... * releaseNx - (N-4):00 */ fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? { val oldReleasePattern = "release(\\d+)x".toRegex() return when (branchName) { "master" -> 0 "release" -> 1 else -> {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 4.3K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
) val credentialsKeywords = listOf( "api_key", "access_key", "apikey", "accesskey", "password", "token", "credential", "auth" ) fun Test.filterEnvironmentVariables(inheritDevelocityAccessToken: Boolean) { environment = makePropagatedEnvironment() environment.forEach { (key, _) ->
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 15 18:27:39 GMT 2025 - 3.4K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
} @get:Inject abstract val fileSystemOperations: FileSystemOperations private var hasCleaned = false val logger = Logging.getLogger(CachesCleaner::class.java) fun cleanUpCaches() { synchronized(this) { if (hasCleaned) { return } logger.lifecycle("Cleaning up caches...") val homeDir = parameters.homeDir.get()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.2K bytes - Click Count (1) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
val runningOnCi: Property<Boolean> val runningInstallTask: Property<Boolean> val runningDocsTestTask: Property<Boolean> } override fun obtain(): String? = parameters.run { if (enableConfigurationCacheForDocsTests.getOrElse(false)) { // If the CC is enabled for docs tests, use a static dummy timestamp (the Epoch) so that we get hits,Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jun 05 17:24:26 GMT 2025 - 3.7K bytes - Click Count (0)